Trouble Connecting Duet 2 Wifi
-
I’ve followed all setup procedures at "Getting connected to your Duet | Duet3D Documentation". I can connect and communicate through the USB connection using YAT; however, the M522 S1 always returns an Error: Wifi module reported: no known networks found ...Wifi module idle.
I purchased this new Duet2 wifi from Filastruder. to replace my old one that died recently. I’ve established a 2.4Ghz local and guest network, and used no special characters in the network SSID or password. Both 2.4Ghz networks will not connect to the Duet2 wifi, but will connect with all my other devices
The wifi led on the Duet 2 wifi board does blink green when I first power it up using the USB cable, and again using M552 SO
Filastruder asked that I request help here before I return the board to them.
M115 FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.4.4 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2022-10-20 16:17:41 ok
M122 === Diagnostics === RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.4 (2022-10-20 16:17:41) running on Duet WiFi 1.02 or later Board ID: 0JD2M-9F8TA-GJ4TD-6JTD2-3SJ6Q-KQQY5 Used output buffers: 1 of 26 (3 max) === RTOS === Static ram: 23860 Dynamic ram: 73592 of which 0 recycled Never used RAM 14628, free system stack 193 words Tasks: NETWORK(ready,8.0%,340) HEAT(notifyWait,0.0%,388) Move(notifyWait,0.0%,363) MAIN(running,91.8%,452) IDLE(ready,0.2%,30), total 100.0% Owned mutexes: USB(MAIN) === Platform === Last reset 00:08:09 ago, cause: power up Last software reset details not available Error status: 0x00 Aux0 errors 0,0,0 Step timer max interval 0 MCU temperature: min 18.2, current 23.9, max 24.4 Supply voltage: min 0.0, current 0.0, max 0.1, under voltage events: 0, over voltage events: 0, power good: no Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Events: 0 queued, 0 completed Driver 0: ok, SG min n/a Driver 1: ok, SG min n/a Driver 2: ok, SG min n/a Driver 3: ok, SG min n/a Driver 4: ok, SG min n/a Driver 5: Driver 6: Driver 7: Driver 8: Driver 9: Driver 10: Driver 11: Date/time: 1970-01-01 00:00:00 Cache data hit count 4294967295 Slowest loop: 99.75ms; fastest: 0.13ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Storage === Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest read time 3.1ms, write time 0.0ms, max retries 0 === Move === DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0 === GCodes === Segments left: 0 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 USB is ready with "M122" in state(s) 0 Aux is idle in state(s) 0 Trigger is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 Daemon is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty === Network === Slowest loop: 0.77ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) HTTP sessions: 0 of 8 = WiFi = Network state is active WiFi module is idle Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 2.2.0 WiFi MAC address 00:00:00:00:00:00 WiFi Vcc 3.39, reset reason Power up WiFi flash size 2097152, free heap 53932 Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0 ok
PC SETUP:
Device name DESKTOP-T0EP8SU
Processor AMD Ryzen 9 7950X 16-Core Processor 4.50 GHz
Installed RAM 64.0 GB (63.2 GB usable)
Device ID 47EAEE84-7E7E-43D7-A939-99B17CFCDFBC
Product ID 00330-80030-14886-AA621
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this displayEdition Windows 11 Pro
Version 24H2
Installed on 12/22/2024
OS build 26100.2605
Experience Windows Feature Experience Pack 1000.26100.36.0ROUTER:
TP-Link AX3000
Standards
Wi-Fi 6
IEEE 802.11ax/ac/n/a 5 GHz
IEEE 802.11ax/n/b/g 2.4 GHz
WiFi Speeds
AX3000
5 GHz: 2402 Mbps (802.11ax, HE160)
2.4 GHz: 574 Mbps (802.11ax)WiFi Reception Sensitivity
5 GHz:
11a 6Mbps:-97dBm, 11a 54Mbps:-79dBm
11ac VHT20_MCS0:-96dBm, 11ac VHT20_MCS11:-66dBm
11ac VHT40_MCS0:-94dBm, 11ac VHT40_MCS11:-63dBm
11ac VHT80_MCS0:-91dBm, 11ac VHT80_MCS11:-60dBm
11ac VHT160_MCS0:-88dBm, 11ac VHT160_MCS11:-55dBm
11ax HE20_MCS0:-95dBm, 11ax HE20_MCS11:-63dBm
11ax HE40_MCS0:-92dBm, 11ax HE40_MCS11:-60dBm
11ax HE80_MCS0:-89dBm, 11ax HE80_MCS11:-58dBm
11ax HE160_MCS0:-85dBm, 11ax HE160_MCS11:-55dBm2.4 GHz:
11g 6Mbps:-97dBm, 11a 54Mbps:-79dBm
11n HT20_MCS0:-97dBm, 11n HT20_MCS7:-78dBm
11n HT40_MCS0:-95dBm, 11n HT40_MCS7:-75dBm
11ac VHT20_MCS0:-96dBm, 11ac VHT20_MCS11:-67dBm
11ac VHT40_MCS0:-94dBm, 11ac VHT40_MCS11:-64dBm
11ax HE20_MCS0:-96dBm, 11ax HE20_MCS11:-64dBm
11ax HE40_MCS0:-93dBm, 11ax HE40_MCS11:-61dBmWiFi Transmission Power
CE:
<20dBm(2.4GHz)
<23dBm(5.15GHz~5.35GHz)
<30dBm(5.47GHz~5.725GHz)
FCC:
<30dBm(2.4GHz & 5.15GHz~5.825GHz) -
@Purgatorium Have you sent an M587 ... command to add your WiFi SSID to the list of known networks? If so, try deleting any existing networks with
M587 S"*"
then send M587 with your network SSID and password again. See https://docs.duet3d.com/en/How_to_guides/Getting_connected/Getting_connected_to_your_Duet#h-5-connect-duet-to-networkThere's no obvious error in the M122 report saying that the WiFi module isn't working, just that it hasn't found anything to connect to. However, you are on the latest WiFi firmware, 2.2.0, while using an older version of RRF, 3.4.4. This should be okay, but we haven't tested backward compatibility of the WiFi firmware with old versions of RRF. I'd suggest updating the mainboard firmware to 3.5.4 https://github.com/Duet3D/RepRapFirmware/releases/tag/3.5.4
Copy "Duet2CombinedFirmware.bin" to the firmware folder of the SD card, then send M997 to the Duet to update.
This will also allow you to run a WiFi network scan, using M587.1 and M587.2, see https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m5871-start-network-scan, which should show if the WiFi module is working.Setting up the WiFi as an access point is also another way to check the functionality of the WiFi module: https://docs.duet3d.com/en/User_manual/Machine_configuration/Networking#configuring-duet-in-wifi-access-point-mode
If the WiFi module has an external aerial, make sure it's plugged in properly.
Ian
-
Hello @droftarts, thank you for the input.
I updated from RRF, 3.4.4 to RRF, 3.5.4. I ran removed all my existing networks using the M588 S"" and began reassigning my network connections again using M587 S"Mewning3D_Quest" P"password", followed by M587 "" which returned "Remembered networks: Mewning3D_Quest IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0", but upon entering M552 S1, I got the dreaded "Error: WiFi module reported: no known networks found WiFi module is idle".
So, I then tried the new M587.1 followed by M587.2 commands and got the following:
M587.1
ok
M587.2
Network Scan Results:
ssid= chan=6 rssi=-44 phymode=n auth=WPA2-Personal mac=f0:09:0d:fd:86:fb
ssid= chan=6 rssi=-46 phymode=n auth=WPA2-Personal mac=f2:09:0d:fd:86:fb
ssid= chan=1 rssi=-77 phymode=n auth=WPA2-Personal mac=e2:db:d1:c5:c4:90
ssid= chan=1 rssi=-77 phymode=n auth=WPA2-Personal mac=e2:db:d1:c5:c4:92
ssid= chan=1 rssi=-77 phymode=n auth=WPA2-Enterprise mac=e2:db:d1:c5:c4:94
ssid=Maleficent Home chan=1 rssi=-77 phymode=n auth=WPA2-Personal mac=e2:db:d1:c5:c4:97
ssid= chan=1 rssi=-77 phymode=n auth=WPA2-Enterprise mac=12:a7:93:ef:0a:c3
ssid=SETUP-0AC1 chan=1 rssi=-78 phymode=n auth=WPA2-Personal mac=12:a7:93:ef:0a:c6
ssid=Hey You chan=6 rssi=-79 phymode=n auth=WPA2-Personal mac=bc:9b:68:4d:4d:c3
ssid=DIRECT-F4-HP DeskJet 2700 series chan=1 rssi=-80 phymode=n auth=WPA2-Personal mac=e0:70:ea:93:5f:f5
ssid= chan=6 rssi=-80 phymode=n auth=WPA2-Enterprise mac=bc:9b:68:4d:4d:c8
ssid=Traeger-1305 chan=5 rssi=-81 phymode=n auth=WPA2-Personal mac=8c:4b:14:ce:13:05
ssid=SandersForce5 chan=10 rssi=-83 phymode=n auth=WPA2-Personal mac=00:5f:67:ee:b1:4a
ssid=ATTPWXx8I2 chan=3 rssi=-86 phymode=n auth=WPA2-Personal mac=a0:e7:ae:2a:1a:e0
ssid=NTGR_VMB_1462060997 chan=6 rssi=-87 phymode=n auth=WPA2-Personal mac=9c:3d:cf:4f:c9:42
ssid=Napoleoninrags chan=6 rssi=-88 phymode=n auth=WPA2-Personal mac=cc:f4:11:73:9d:e4
ssid=NETGEAR45 chan=7 rssi=-89 phymode=n auth=WPA2-Personal mac=2c:30:33:4f:c1:63
ssid= chan=9 rssi=-90 phymode=n auth=WPA2-Personal mac=ca:41:1e:e7:9e:53
ssid=Napoleoninrags chan=6 rssi=-92 phymode=n auth=WPA2-Personal mac=f0:72:ea:93:8e:02My Network was not listed. so I thought would hiding my SSID from broadcasting prevent the Duet2 wifi board from seeing it?! I turned off hide my SSID and sure enough, it showed up using the M587.1 and M587.2 commands
M587.2
Network Scan Results:
ssid=Mewning3D_Quest chan=6 rssi=-46 phymode=n auth=WPA2-Personal mac=f2:09:0d:fd:86:fb
ssid= chan=6 rssi=-46 phymode=n auth=WPA2-Personal mac=f0:09:0d:fd:86:fb
ssid=Maleficent Home chan=1 rssi=-74 phymode=n auth=WPA2-Personal mac=e2:db:d1:c5:c4:97
ssid= chan=1 rssi=-74 phymode=n auth=WPA2-Personal mac=e2:db:d1:c5:c4:90
ssid= chan=1 rssi=-75 phymode=n auth=WPA2-Personal mac=e2:db:d1:c5:c4:92
ssid= chan=1 rssi=-75 phymode=n auth=WPA2-Enterprise mac=e2:db:d1:c5:c4:94
ssid= chan=1 rssi=-79 phymode=n auth=WPA2-Personal mac=12:a7:93:ef:0a:c1
ssid= chan=1 rssi=-79 phymode=n auth=WPA2-Enterprise mac=12:a7:93:ef:0a:c3
ssid=SETUP-0AC1 chan=1 rssi=-80 phymode=n auth=WPA2-Personal mac=12:a7:93:ef:0a:c6
ssid= chan=1 rssi=-80 phymode=n auth=WPA2-Personal mac=12:a7:93:ef:0a:c7
ssid= chan=6 rssi=-82 phymode=n auth=WPA2-Personal mac=bc:9b:68:4d:4d:c6
ssid= chan=6 rssi=-82 phymode=n auth=WPA2-Enterprise mac=bc:9b:68:4d:4d:c8
ssid=SandersForce5 chan=10 rssi=-82 phymode=n auth=WPA2-Personal mac=00:5f:67:ee:b1:4a
ssid=DIRECT-F4-HP DeskJet 2700 series chan=1 rssi=-83 phymode=n auth=WPA2-Personal mac=e0:70:ea:93:5f:f5
ssid= chan=6 rssi=-83 phymode=n auth=WPA2-Personal mac=bc:9b:68:4d:4d:c4
ssid= chan=10 rssi=-83 phymode=n auth=WPA2-Personal mac=06:5f:67:ee:b1:4a
ssid=BLUE ROOM chan=10 rssi=-84 phymode=n auth=WPA2-Personal mac=6cd6:97:b5:87
ssid=Traeger-1305 chan=5 rssi=-85 phymode=n auth=WPA2-Personal mac=8c:4b:14:ce:13:05
ssid=tlf9e05a chan=11 rssi=-85 phymode=n auth=WPA2-Personal mac=0c:83:cc:f9:e0:5a
ssid=NTGR_VMB_1462060997 chan=6 rssi=-86 phymode=n auth=WPA2-Personal mac=9c:3d:cf:4f:c9:42
ssid=ATTtYPyFi2 chan=7 rssi=-86 phymode=n auth=WPA2-Personal mac=58:19:f8:bf:0e:00
ssid=Housewifi chan=10 rssi=-86 phymode=n auth=WPA2/WPA3-Personal mac=18:a5:ff:3c:00:0e
ssid=BettyBoop chan=9 rssi=-90 phymode=n auth=WPA2-Personal mac=c4:41:1e:e7:9e:53
ssid=ATTPWXx8I2 chan=3 rssi=-91 phymode=n auth=WPA2-Personal mac=a0:e7:ae:2a:1a:e0
ssid=SETUP-6BCB-EXT2G chan=6 rssi=-93 phymode=n auth=WPA/WPA2-Personal mac=80:af:ca:07:e1:c4Iv'e always hid my network connections and it worked fine with my old duet board ...is this a new feature/requirement to no longer hide your SSID?
Anyways, all appears to be working now and I greatly appreciate your assistance. The new M587.1 and M587.2 commands helped me troubleshoot the problem.Update: Got a new problem now. I am unable to connect to DWC. I unzipped the current DWC updates to "o:/www"
M552
WiFi module is connected to access point Mewning3D_Quest, IP address 192.168.13.64, when I enter the IP address into the local pc web browser, I get:Hmmm… can't reach this page
192.168.13.64 took too long to respond
Try:Search Bing for 192 168 13 64
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_TIMED_OUTUpdate: Got connected to DWC. There is a switch in the TP-Link AX3000 router in advance wifi settings for the guest network that was disabled "Allow guests to access your local network" ...the default is off and I switched it on and I'm now able to connect to DWC. Hopefully this will help others that have a similar problem.