Wifi not connecting
-
https://duet3d.dozuki.com/Wiki/WiFi_disconnections_and_AJAX_timeout_errors
Try this part
If unable to connect to your wireless network at boot up, try deleting all saved wifi networks with M588 S"*" (That is, using an asterix for the network name), then re-adding it with M587. For example, M587 S"networkname" P"password".
You can manually reset the wifi module if you have console access via USB, or a PanelDue. Send M552 S0, to disable networking, followed by M552 S1 to enable networking. -
Have you tried to re add your network M587 ?
have you tried to reset your wlan router? and last change the W-lan Channel in your router
-
Thanks for the replies.
@Phaedrux - Sorry I should have said that I had tried forgetting the save networks and then putting it back in. No joy.@SIam - I did reboot my AP and firewall but this didn't help. I've just created a new ssid for testing but got the same results. Also no other devices are having problems.
As a test I set my mobile to be an AP and the duet wifi wouldn't connect to that either.
I was thinking it might be hardware as I was seeing
Error retrieving WiFi status message: bad reply format version
but as a final test I put the card into AP mode and this worked fine - I could connect and then reach the DWC.
Putting it back to client mode and it won't connect. -
Try reflashing the wifi server?
-
@Phaedrux said in Wifi not connecting:
Try reflashing the wifi server?
I have reflashed the WiFi server. Didn't help
-
have you tried to flash the latest stable rrf version 3.0?
-
When connected to a USB terminal, send M98 Pconfig.g and see if you're getting any errors on execution.
-
I really want to thanks both of you guys for taking the time to help.
@Phaedrux M98 Pconfig.g returned no errors.
@SIam I flashed fw 3.0 but still got the error. I reflashed wifiserver 1.23 but still couldn't connect. Finally I deleted my known network and reapplied it and this time it connected no problem.
It's a strange one as it was connecting fine with 3.0-beta3 until it stopped for seemingly no reason.
I think I'll stay with 3.0-release for the time being.
-
This thread deals with something similar, suggested bad wifi module. But maybe you can verify you've tried the suggestions there
https://forum.duet3d.com/topic/10139/failed-to-add-ssid-to-remembered-list-duet-2-wifi -
@bearer said in Wifi not connecting:
This thread deals with something similar, suggested bad wifi module. But maybe you can verify you've tried the suggestions there
https://forum.duet3d.com/topic/10139/failed-to-add-ssid-to-remembered-list-duet-2-wifiI was thinking that was the problem, but then it worked in AP mode so that cast some doubt in my mind.
Anyway after multiple re-flashes and networks deleted and added it has started to work again.
-
Maybe the firmware is revolted by being on a clone.
-
@Phaedrux Possibly
I was upfront about using a clone and therefore appreciate the help given.
-
The majority doesn't care one way or the other, but it's nice to know as component quality can be a factor.
I haven't studied the protocol between the esp and the duet, but I imagine AP mode is simpler than returning a list of networks so wouldn't be surprised if it worked despite failing at STA mode.
Silly question, but are you sure the wifi firmware upload was a success? If you have serial access maybe worth downgrading and upgrading to be relatively sure it works?
-
@bearer said in Wifi not connecting:
Silly question, but are you sure the wifi firmware upload was a success? If you have serial access maybe worth downgrading and upgrading to be relatively sure it works?
Yeah I'm sure. I was actually running the previous version when the problem first appeared. I found a post that said it could be caused by the fw versions getting out of step - so upgrading to 1.23 was one of the first things I tried.
-
It might be worth measuring the voltage on the +3.3V rail, to see if it is within tolerance. The WiFi modules are fussier than other chips on the Duet WiFi about the supply voltage they get.
Is it the same ESP-12S module that we use on genuine Duets, or is it one of the older ESP-12 series modules?
-
@dc42 said in Wifi not connecting:
It might be worth measuring the voltage on the +3.3V rail, to see if it is within tolerance. The WiFi modules are fussier than other chips on the Duet WiFi about the supply voltage they get.
Is it the same ESP-12S module that we use on genuine Duets, or is it one of the older ESP-12 series modules?
It's the ESP-8266MOD.
It's been rock solid for a year before it played up. Now that it's working again and has been stable for the last couple of days, I'm reluctant to start poking around with a probe. It would be just like me to short it out.
If it plays up again I'll bear it in mind to check.