DUET 2 Wifi error, does not connect
-
@juan how are you trying to enable the wifi module?
what commands are you sending? -
@jay_s_uk said in DUET 2 Wifi error, does not connect:
@juan how are you trying to enable the wifi module?
what commands are you sending?M552 S-1 ;STOP WIFI
M552 S0 ;IDLE MODE
M587 S"your-network-ssid" P"your-network-password" ; WIFI + PASSWORD
M552 S1 CONNECT TO WIFI- WiFi - Network state is disabled WiFi module is disabled Failed messages: pending 0, notready 0, noresp 1
The error that I have noresp,1 means something?
-
@juan can you send
M552 S0 M997 S1 M552 S0
And then grab the output again from M122?
The M997 reflashes the wifi module.
If it complains about not being able to find the file, it'll tell you which location its loading it from and you'll need to grab this file and put it in that location -
The M997 has worked, and the error has disappeared:
M552 S0 ok WiFi module started M997 S1 T3:19.2 /0.0 Trying to connect at 230400 baud: success Erasing 4096 bytes... Erasing 196608 bytes... Uploading file... 5% complete 10% complete 15% complete 20% complete 25% complete 30% complete 35% complete 40% complete 45% complete 50% complete 55% complete 60% complete 65% complete 70% complete 75% complete 80% complete 85% complete 90% complete 95% complete Upload successful ok M552 S0 ok WiFi module started
- WiFi - Network state is active WiFi module is idle Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.26 WiFi MAC address 48:3f:da:a6:ee:c5 WiFi Vcc 3.42, reset reason Power up WiFi flash size 2097152, free heap 31248 Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0 === DueX === Read count 0, 0.00 reads/min ok
I have tried again to connect with the commands:
M552 S-1 ;STOP WIFI
M552 S0 ;IDLE MODE
M587 S"your-network-ssid" P"your-network-password" ; WIFI + PASSWORD
M552 S1 CONNECT TO WIFIAll ok until I tell it to connect the wifi:
M552 S1 ok WiFi reported error: no known networks found WiFi module is idle WiFi reported error: no known networks found WiFi module is idle WiFi reported error: no known networks found WiFi module is idle WiFi reported error: no known networks found WiFi module is idle WiFi reported error: no known networks found WiFi module is idle
-
@juan you're best clearing out whats already saved.
sendM552 S0 M588 S"*"
then resend your wifi details
Just a quick question as well, what software are you using to communicate with the board? YAT?
-
It has worked!!!! Could it be the fault of the error that marked me before norep,1?
I am using YATI take this opportunity to ask, how can I make sure that the IP is not changed every time I turn on my DUET?
-
@juan sounds like the wifi just needed a reflash
-
If I move the machine to another place, to establish a Wi-Fi connection, do I have to delete the saved Wi-Fi and do the whole procedure again?
And so that I always have the same IP on my Wi-Fi network? What I can do?
Thanks so much for the help!!!!!
-
@juan you don't need to delete the saved wifi if you move your printer. it can hold a number of wifi networks.
and if you want to have it use the same IP, the recommended way is to reserve the IP on the router rather than the printer.
you can however send an IP address etc with M587 when setting up the wifi network https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m587-add-wifi-host-network-to-remembered-list-or-list-remembered-networks -
Many thanks
-
-