Can't get connected to DWC setting up new Duet 2 Wifi
-
Trying to set up my second Duet 2 Wifi. Bought my first over 5 years ago and I've forgotten pretty much e-thing. My new board shows it's running ver. 2.05.1 firmware when sending m115 thru Yat. I'm able to save my ssid and PW thru M587, but when I send M552 S1, it's telling me no networks found. Question: Do I need to update the FW, duet wifi server and DWC by pulling the card and putting it in my computer to do so? I appreciate any help.
-
The board should come fully functional. No need to update firmwares immediately most of the time.
If you send M587 by itself, what networks does it say are saved? Double check that the SSID and password are correct.
See here for specifics and limitations of M587: https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks
If you send M122 to get a diagnostics report via YAT, copy and paste the results here. Make sure you've changed the line endings in YAT so that we can see the full report.
-
@phaedrux, This site is flagging my copy and paste of the M122 Diagnostics report as spam and will not let me post it. How do I get around that?
-
Wait a few minutes and try again.
-
@phaedrux I will say this while I try to solve the upload problem. I ran thru all the setup steps again. Set up the ssid and PW. Send M587 and it shows my login info being saved. Send M552 S1 and it gives a no known networks found again and again .
-
@gbusy24 M552 S0
ok
M587 S"Greg's WIFI" P"8a12b26c31d4"
ok
M587
Remembered networks:
TNCAPF2FD81 IP=192.168.1.14 GW=0.0.0.0 NM=0.0.0.0
Gregs WIFI IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
Gregs WIFU 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 idle
WiFi reported error: no known networks found
WiFi module is idle
M552 S)
ok
WiFi reported error: no known networks found
WiFi module is idle
M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet WiFi 1.02 or later
Board ID: 0JD0M-9P6M2-NW4SN-6JKD2-3S46L-9VS3M
Used output buffers: 1 of 24 (9 max)
=== RTOS ===
Static ram: 25712
Dynamic ram: 92836 of which 164 recycled
Exception stack ram used: 256
Never used ram: 12104
Tasks: NETWORK(ready,1244) HEAT(blocked,1232) MAIN(running,3752) IDLE(ready,160)
Owned mutexes:
=== Platform ===
Last reset 00:37:30 ago, cause: power up
Last software reset details not available
Error status: 0
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 0.0ms, max retries 0
MCU temperature: min 35.7, current 36.4, max 36.8
Supply voltage: min 1.6, current 1.7, max 1.8, under voltage events: 0, over voltage events: 0, power good: no
Driver 0: ok, SG min/max not available
Driver 1: ok, SG min/max not available
Driver 2: ok, SG min/max not available
Driver 3: ok, SG min/max not available
Driver 4: ok, SG min/max not available
Date/time: 1970-01-01 00:00:00
Cache data hit count 3603623376
Slowest loop: 0.42ms; fastest: 0.05ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Move ===
Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms
Bed compensation in use: none, comp offset 0.000
=== DDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
Heater 1 is on, I-accum = 0.0
=== GCodes ===
Segments left: 0
Stack records: 1 allocated, 0 in use
Movement lock held by null
http is idle in state(s) 0
telnet is idle in state(s) 0
file is idle in state(s) 0
serial is ready with "M122" in state(s) 0
aux is idle in state(s) 0
daemon is idle in state(s) 0
queue is idle in state(s) 0
autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 0.31ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 0 of 8- WiFi -
Network state is running
WiFi module is idle
Failed messages: pending 0, notready 0, noresp 3
WiFi firmware version 1.23
WiFi MAC address 84:0d:8e:b3:b4:95
WiFi Vcc 3.40, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 27680
Socket states: 0 0 0 0 0 0 0 0
ok
- WiFi -
-
Finally uploaded. Yay
-
Take a look at the M587 entry again.
Notes
Many programs used to send GCodes convert all characters to uppercase. In firmware 1.19.2 and later, within any quoted string you can use a single-quote character to indicate that the following character should be changed to lowercase. For example, M587 S"ABC" P"P'A'S'SW'O'R'D" would specify that the password is "PassWord". Use two single quote characters to represent one actual single quote character in the password or in the SSID. For example, if your SSID is "Pete's network" then enter "Pete''s network".
Especially that last part.
Use two single quote characters to represent one actual single quote character in the password or in the SSID. For example, if your SSID is "Pete's network" then enter "Pete''s network".
Now look at your network name.
@gbusy24 said in Can't get connected to DWC setting up new Duet 2 Wifi:
M587 S"Greg's WIFI" P"8a12b26c31d4"
Do you see it now?
-
@phaedrux That did I
it! Thank you