Problem with wifi - Duet2WiFi - no known networks found
-
Hi all,
I've one duet2wifi. Until one year ago, the board worked perfectlty, but after one stop year, the wifi doesn't work anymore.
I've a custom printer. Until one year ago, with the last RRF2x installed sll worked well. I moved house afterwards and the printer was in standby for a year. When I tried to turn it on again, it no longer worked. So I tried to upgrade to RRF3 (which was already planned) but it still gives the error "no known networks found". I don't know where to turn anymore.
In attach a print screen of the YAT screen.
(p.s. the password contains numbers and the symbol "!")
Thanks to anyone who can help me,
bye,
Andrea
-
@alil2096 If you enable WiFi debug using M111 that should provide some additional information that may show what is happening. I think you need M111 P14 S1 to enable the debug (which will be displayed in the USB console).
-
@gloomyandy Thanks for your answer.
Enclosed the print screen of YAT. This is outside of my area of expertise, but maybe someone understands somethings about it
-
I would suggest you clear all saved networks with
M588 S"*"
then re-add your SSID with M587. -
@Phaedrux
I've an error:"Error: Failed to reset the WiFi module to factory settings"
-
@alil2096 Try m552 s-1 followed by M552 s0 then M588 S"*"
-
@gloomyandy Ok, thanks, the procedure now work, but the network problem is the same..
Maybe the wifi module is broke?
-
@alil2096 Does your WiFi router have a 2.4GHz network (with the name you are using)? The WiFi module only operates on 2.4GHz.
-
@gloomyandy Yes, and in order to avoid problems, I've renamed the 5Ghz net with another name (TP-Link_DB90_5G)
-
@alil2096 I wonder if the signal strength is too low? If your phone can work as a wifi hotspot you could try connecting to that with the phone right next to the board?
-
@gloomyandy I also thought that was the problem, but I've moved the printer under the modem (and it wasn't easy, weighing almost 100kg).
I've the fiber, and I've a lot of other devices connected at the modem (but now are all turn of, except for the phone and my desktop pc)
-
@alil2096 does your board have an external antenna? If that has become damaged/disconnected it might not work even if very close to the router. Another thing to try might be to use a much simpler SSID (without any "-" or "_"), just in case they are causing problems? Oh and you could try setting the board to access point mode and see if you can connect to it from your phone. If that works it probably means the module is ok.
After that I'm out of ideas, sorry!
-
@gloomyandy
Ok, maybe I'm doing something wrong, but with the M587 command, shouldn't I see the IP in the list of networks?And thanks to all for the patience
-
Can you please use these steps to setup the Duet in Access Point mode?
https://docs.duet3d.com/User_manual/Reference/Gcodes#m589-configure-access-point-parameters
This will have the Duet creating an SSID of its own. You then need to connect your device to it. This will remove your wifi network router from the equation and let us know if the module is working correctly or not.
-
@Phaedrux YHEA!!! That's work!!!!
I can connect to the Duet with my phone.
So the module is working (gret news).. and now we must understand why I cannot connect in wifi mode
-
Without doing anything, just resetting the power suppply, the module started and now is connected to the wifi network.. Any ideas?
-
The new problem, is that the IP adress change every time that I trun off and turn on the board. I can fix this?
-
@alil2096 The best way to fix the IP address is to configure your routers dhcp server so that it will give back a fixed ip address based on the MAC address of the client.
-
@alil2096 Oh and you should be able to use mdns to access your printer so if your printer is called "my3dprinter" you should be able to access it via http://my3dprinter.local that way the actual ip address does not really matter. You can set the printer name via m550 see: https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m550-set-name
-
@alil2096 said in Problem with wifi - Duet2WiFi - no known networks found:
Without doing anything, just resetting the power suppply, the module started and now is connected to the wifi network.. Any ideas?
Sounds like clearing the saved networks with M588 was enough.
If you can't set a DHCP reservation with your router, you can specify a static IP address to use manually, but you need to be sure that address isn't already in use on the network and isn't in the DHCP range the router uses for new devices, otherwise it could get handed out in the future.
To do it manually you need to specify the address in the M587 command when you add the SSID with the
I
parameter.S"ccc" Network SSID (case sensitive)
P"ccc" Network password (case sensitive)
Inn.nn.nn.nn (optional) IP address to use when connected to this network. If zero or not specified then an IP address will be acquired via DHCP.