New Duet 2 Wifi Not Working
-
ahh now it is showing
Remembered networks:
TNCAP2FCC19 IP=192.168.1.14 GW=0.0.0.0 NM=0.0.0.0
ASUS IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
VM2973955 IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
oknot sure where the TNCAP2FCC19 IP=192.168.1.14 GW=0.0.0.0 NM=0.0.0.0 came from
-
OK, so the M587 S... P... didn't complete.
Do you have quote marks, semicolons, or spaces in your WiFi password? They might mess things up.
Also, I remember now that with YAT you have to set the line ending to LF, maybe that'll help.
-
yes I have double * at the start and end of my wifi password e.g ** 23password** but no spaces. I have got the YAT settings set to LF as the Getting Connected to your Duet webpage tells you to do.
The only thing I haven't done is updated any of the firmware.
I literally unpacked the Duet2Wifi controller out of the box.
connected it to my pc via the supplied USB cable.
Installed the Drivers, YAT and did the text settings and set the line ending to LF.
Continued to follow the Getting connected to your Duet guide all the way till I couldn't get it to connect to my wifi.The SD Card that came with the Duet2Wifi I take is pre setup as it has all the folders in there and I copied over my reprap config files to the /sys folder.
-
I suggest you run this from YAT:
M552 S-1
M552 S0
wait until you get "WiFi module is idle"
M588 S"*"
that deletes the remembered list
M587 S"ASUS" P"<your password>"
M587
check that the output from that command has just ASUS in the remembered list
M552 S1
and see whether it connects.Is the SSID of your network definitely just ASUS ? Is it transmitting on 2.4GHz? Many routers use different SSIDs for 2.4GHz and 5GHz.
-
M552 S-1
WiFi module stopped
ok
M552 S0
ok
WiFi module started
M588 S"*"
ok
M587 S"ASUS" P" ** 23password23 **"
ok
M587
Remembered networks:
ASUS IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
ok
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 idleMy 2.4Ghz Wifi is definitely called ASUS as I setup the router and the 5Ghz side is called ASUS_5G lol simple I know but it works and the SSID is hidden so would that make a difference ?
-
You say "no spaces" but your posts here do have spaces after the stars.
-
@nophead yes I had to put them in as it changes it from looking like P" ** 23password23 **" to P"23password23"
-
The "No known networks found" message means it couldn't find a 2.4GHz network with SSID ASUS that is not hidden.
If you have configured your router to hide the SSID, you should be able to connect by sending M552 S1 P"ASUS" instead of just M552 S1.
It could be that the WiFi signal is too weak. I suggest you use your smartphone to scan for wifi networks in the vicinity of the Duet. Check that is reports the network ASUS, that it says the frequency is 2.4GHz, and that it has a good signal strength.
Is the Duet on the bench, or fitted into a printer?
-
M552 S1 P"ASUS"
ok
WiFi module is connected to access point ASUS, IP address 192.168.254.43Thank you all so much for your help and Thank you dc42 for working out what it was I will gladly buy you a beer if you are ever in my area.
Just a quick side question would you recommend that I update all the firmwares to the latest version or run on the current ones that I have.
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.02(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-12-24b1
-
You can update to the latest set of firmwares by uploading this zip file as is to the settings page.
https://github.com/dc42/RepRapFirmware/releases/download/2.03/Duet2Firmware-2.03.zip
-
@phaedrux Thanks very much
-
@dc42 I have just connected the screen up that I bought which all seems to work but I noticed that the duet isn't connecting to the wifi again.
Do I need to add M552 S1 P"ASUS" to the config.g so that it knows that it has to connect to a hidden SSID wifi network ?
-
@ram said in New Duet 2 Wifi Not Working:
Do I need to add M552 S1 P"ASUS" to the config.g so that it knows that it has to connect to a hidden SSID wifi network ?
It seems odd that it would need the SSID specified, but if it's working to connect to it when you send the command manually there's no reason not to add it to the config.g so it's done automatically at boot up.
-
@phaedrux where about should I add it in the config.g file ?
M552 S1 ; Enable network
M552 S1 P"ASUS" <----- here ?
M587 S"ASUS" P"password" ; Configure access point. You can delete this line once connectedSorry I am not very good when it comes to this type of thing unfortunately
-
You can amend the first line to add the p"Asus" part.
Then remove the last line where it's adding the password.
-
@phaedrux Thanks very much, was just taking a look at your printer it is really nice, hoping to finish my Hypercube soon.
-
Thanks. It was a labour of love. Good luck on your Hypercube.