Cant connect to new Wifi network
-
@sungod3k said in Cant connect to new Wifi network:
But when I start the network i still get the same timeout.
What timeout? Please give the exact message you get eventually after you send M552 S1.
-
M552 S-1 WiFi module stopped<LF>ok<LF> M552 S0 ok<LF>WiFi module started<LF> M587 S"ssid" P"'pw" ok<LF> M552 S1 ok<LF>WiFi reported error: Timed out while trying to connect to SSID<LF>WiFi module is idle<LF>WiFi module is idle<LF>WiFi reported error: network scan failed<LF>WiFi module is idle<LF>WiFi reported error: network scan failed<LF>WiFi module is idle<LF>WiFi reported error: network scan failed<LF>
-
@sungod3k please change your line ending settings in YAT so it displays a new line instead of <LF> makes for much easier reading.
then maybe try
@bearer said in [WiFi reported error: Failed while trying to connect]
then power down, remove the SD card and power it back up without the SD card. connect to usb/YAT and run
M111 P14 S1 ;to enable wifi debug M552 S-1 ;to disable the wifi module M552 S0 ;to disable networking/idle wifi G4 S1 ;wait a second M552 S1 ;to enable networking
(don't need to type
;
and what comes after, but its safe to copy/paste as is)if there are a lot of other 2.4gz wifi networks in the area maybe consider
@bearer said in WiFi reported error: Failed while trying to connect:
try running a wifi scanning app to see which channel is least congested and switch to that?
if it still fails to connect, you could try to set the Duet up as an access point to see if it works at all. that might indicate compatibility issues with your router.
-
@sungod3k said in Cant connect to new Wifi network:
Timed out while trying to connect to SSID
It looks as though the Duet can see the access point, but the access point didn't respond to the Duet's request to connect. This could be due to the WiFi signal strength being too low, or the access point configuration.
-
I placed the router 1m away from the printer and changed channels multiple times, which didnt change anything.
I havent called my ISP though maybe they have an idea.In the meantime I resurrected Octoprint, which works from the start and shows up directly in my router.
Maybe its time now to upgrade to RRF 3 and see if that works.
-
@sungod3k said in Cant connect to new Wifi network:
Maybe its time now to upgrade to RRF 3 and see if that works.
I'd wager that to make no difference as the Wifi firmware stays the same unfortunately, so unless you want to do the upgrade for some of the other benefits anyways I wouldn't prioritize that tbh. Did you try running the Duet as an accesspoint to see if you can connect to it across the same distance as it fails to connect to the router? Might help narrow it down to a signal quality issue vs wifi compatability issue.
-
Routers often have log files where you can check whether there is an error message of the Duet trying to connect.
A different approach is to setup the smartphone for Wifi tethering and simulate the different settings of the router and test Duet connection (ipv4/6, encryption method, password, ssid, channel etc.) There exist good apps on the smartphone for Wifi analysis, so analyzing will be easier than on the router. -
I just tested my phones hotspot and it works on the first try.
I went through all my router settings which arent many, but now I know where to look.
Thanks for the good ideas all!
Update: My router only support IPv4 upon request, so far i have been dual stack, never thought that this could be a problem.
Well my ISP ensures me that that should fix it by tmr. -
@sungod3k said in Cant connect to new Wifi network:
I just tested my phones hotspot and it works on the first try.
I went through all my router settings which arent many, but now I know where to look.
Thanks for the good ideas all!
Update: My router only support IPv4 upon request, so far i have been dual stack, never thought that this could be a problem.
Well my ISP ensures me that that should fix it by tmr.<winster >
I am also having similar difficulties with wifi connection. this is my first time using a forum board so if i am doing any thing incorrectly i would appreciate positive criticism. first off I am building a two trees Sapphire pro xy core printer with several modifications. it has Mosquito hot end, BLtouch to go in when working again, 200x200 mm HotBed (24 volt) and it is controlled by DUET3D wifi card with a paneldue for indication. have repierserver running as well as YAT. i believe i may need a temperature daughter board to complete installation for the masquito thermocouple, but not sure on that.IThe Yat response is as follows"
RepRapFirmware for Duet 2 WiFi/Ethernet Version 2.03 dated 2019-06-13b2<LF><LF>Executing config.g...Error: Bad command: FOR TESTING ONLY! USE https://configurator.reprapfirmware.org/ to generate configuration files for your printer!<LF>WiFi module is disabled<LF>Warning: Heater 0 appears to be over-powered. If left on at full poweWiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known n[Warning: Maximal number of bytes per line exceeded! Check the EOL (end-of-line) settings or increase the limit in the advanced terminal settings.]M587 S"xxxxxx-5G" P"xxxxxxxxxx" M587: Failed to add SSID to remembered list<LF>ok<LF>Error retrieving WiFi status message: bad reply format version<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no kn[Warning: Maximal number of bytes per line exceeded! Check the EOL (end-of-line) settings or increase the limit in the advanced terminal settings.] M587 S"xxxxxx" P"xxxxxxxxx" M587: Failed to add SSID to remembered list<LF>ok<LF>Error retrieving WiFi status message: bad reply format version<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF>WiFi reported error: no kn[Warning: Maximal number of bytes per line exceeded! Check the EOL (end-of-line) settings or increase the limit in the advanced terminal settings.] M552 S-1 M551 S0 M558 S"*" M587 S"xxxxxx" P"xxxxxxxxx" M582 S1 WiFi module stopped<LF>ok<LF>ok<LF>ok<LF>M587: Failed to add SSID to remembered list<LF>ok<LF>M582: Missing T parameter<LF>ok<LF>"
so as you can see it is not recognizing ssid in remembering
-
Just to finish this adventure off.
It works now, because i managed to use my original modem in bridgemode with a new router. The printer works now with the new router as before.