Change Wifi of Duet2 Wifi from one to another without using YAT
-
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?
-
@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
-
@droftarts Thanks Yesterday i am trying using paneldue but missed M588 s"*" so it's not working. Thank you once again.
-
-