• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Change Wifi of Duet2 Wifi from one to another without using YAT

Scheduled Pinned Locked Moved Solved
General Discussion
@dc42 @phaedrux
2
3
191
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    R006
    last edited by 17 Mar 2023, 12:16

    Hii,
    As end user, I want to change Wifi of Duet2 from older to new one is there any way to do that without using YAT terminal.

    if i am write macro, and rum that or if i run the G-Codes on panel-due so it's possible to change wifi from older to new?

    Any suggestions for that?

    undefined 1 Reply Last reply 17 Mar 2023, 13:05 Reply Quote 0
    • undefined
      droftarts administrators @R006
      last edited by droftarts 17 Mar 2023, 13:05

      @R006 Yes, you can use a macro, and yes, you can run the Gcodes on the PanelDue in the console.

      If you run a macro, send the commands with a pause of a couple of seconds between each command, using G4 S2, to give the WiFi controller time to change state. You can also name the macro 'runonce.g' and put it in the /sys folder. File runonce.g is supported from RRF3.1.0 and later. If this file is present at startup, it is run after running config.g and activating the network, and then deleted. Make sure you have a copy of the macro! An example runonce.g macro to change the SSID might be:

      M552 S-1 ; turn off wifi
      G4 S2 ; wait for wifi state to change
      M552 S0 ; turn on wifi in idle mode
      G4 S2 ; wait for wifi state to change
      M588 S"*" ; if necessary, delete all existing saved SSIDs
      G4 S2 ; wait for wifi state to change
      M587 S"your-network-ssid" P"your-network-password" ; add new SSID
      G4 S2 ; wait for wifi state to change
      M552 S1 ; enable networking

      That will take about 10 seconds to run.

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

      1 Reply Last reply Reply Quote 0
      • undefined
        R006
        last edited by 18 Mar 2023, 10:24

        @droftarts Thanks😊 Yesterday i am trying using paneldue but missed M588 s"*" so it's not working. Thank you once again.

        1 Reply Last reply Reply Quote 1
        • undefined T3P3Tony marked this topic as a question 21 Mar 2023, 11:57
        • undefined T3P3Tony has marked this topic as solved 21 Mar 2023, 11:57
        2 out of 3
        • First post
          2/3
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA