3.4.6 Wifi won't connect - ssid with lowercase chars - SOLVED
-
@dirtybirdnj in the M587 command you posted there is an extra single quote character before the final double quote character. Maybe that has something to do with it.
-
@dc42 you are correct that there's an extra trailing single quote, but that's not the issue
@Phaedrux I created the WifiAdd.g and ClearWifi.g macros
I added them to /macros and I got an error saying that the files / macros did not exist.
I added the files to /sys to see if that would work.
While I was doing this I visually observed that SerialTools was CHANGING MY QUOTES after I was typing them. This was an "am I going crazy" moment but it absolutely is happening.
Here is a thread about what I think is the issue, a MacOS setting that helpfully changes quotes for you. I do web development for a living and I've NEVER had an issue with quotes like this before it's completely dumbfounding.
https://apple.stackexchange.com/questions/136402/how-to-disable-smart-quotes
I updated the setting on my machine to NOT do the helpful thing. Just to illustrate here's a block of text I've been using for testing. I can confirm that SerialTools does not change my quotes before I have a chance to hit enter.
M587 S"'s'l'o't'h'n'e't" P"'d'e'a'l'w'i't'h'i't" M587 S"slothnet" P"dealwithit" M587 S”slothnet” P"dealwithit” M587 S”’s’l’o’t’h’n’e’t” P”’d’e’a’l’w’i’t’h’i’t” '’ ‘’
After I changed the quote setting, I reconnected and as before, I cannot run any GCODE command that includes quotes. M98 just doesn't work for me... just like M587.
I want to find something other than SerialTools to use I am glad I didn't pay for it.
M115 Error: M98: control character in string ok M115 FIRMWARE_NAME: RepRapFirmware for Duet 3 Mini 5+ FIRMWARE_VERSION: 3.4.6 ELECTRONICS: Duet 3 Mini5plus WiFi FIRMWARE_DATE: 2023-07-21 14:09:13 ok M98 P"WifiAdd.g" M98 P"WifiAdd.g" M115 M115 FIRMWARE_NAME: RepRapFirmware for Duet 3 Mini 5+ FIRMWARE_VERSION: 3.4.6 ELECTRONICS: Duet 3 Mini5plus WiFi FIRMWARE_DATE: 2023-07-21 14:09:13 ok M587 S"slothnet" P"dealwithit" M587 S"slothnet" P"dealwithit" M587 Remembered networks: none ok M587 Remembered networks: none ok
-
@dirtybirdnj use CoolTerm instead of SerialTools. It is not on the App Store, but is better all round, with the options for ‘line mode’ and ‘local echo’ turned on.
I think I’ve posted before about macOSs penchant for changing straight quotes to curly quotes.
Ian
-
Smart Quotes strikes again.
-
I tried both the single quote delimited version, as well as the plaintext all lowercase versions.
I did this via both the M587 and the M98 P"AddWifi.g" ways and I am still running into the same brick wall
Here is the output of M122 while the wifi module is active (M522 S1)
FIRMWARE_NAME: RepRapFirmware for Duet 3 Mini 5+ FIRMWARE_VERSION: 3.4.6 ELECTRONICS: Duet 3 Mini5plus WiFi FIRMWARE_DATE: 2023-07-21 14:09:13 ok M98 P"WifiAdd.g" MError: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle M122 Error: M98: control character in string Error: Bad command: M === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.4.6 (2023-07-21 14:09:13) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: S4AX7-H296U-D65J0-40KMU-2X03Z-78MGP Used output buffers: 1 of 40 (1 max) === RTOS === Static ram: 103712 Dynamic ram: 109156 of which 360 recycled Never used RAM 28484, free system stack 145 words Tasks: NETWORK(ready,8.0%,378) HEAT(notifyWait,0.0%,374) Move(notifyWait,0.0%,363) CanReceiv(notifyWait,0.0%,941) CanSender(notifyWait,0.0%,335) CanClock(delaying,0.0%,342) TMC(notifyWait,0.0%,124) MAIN(running,90.9%,448) IDLE(ready,0.2%,30) AIN(delaying,0.8%,272), total 100.0% Owned mutexes: USB(MAIN) === Platform === Last reset 00:01:30 ago, cause: power up Last software reset time unknown, reason: StuckInSpinLoop, GCodes spinning, available RAM 15772, slot 0 Software reset code 0x0083 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0000080f BFAR 0xe000ed38 SP 0x20003f88 Task NETW Freestk 4294953423 ok Stack: 00000000 20003038 10000000 e000e000 20019290 0009fad1 0009f1aa 610d0000 0009f193 203b736d ffffffff 00000000 00067fa3 0a736d30 2002c1a4 ffffffff 200117d0 00000009 0009f247 20004030 2002c1a0 200114c8 0009c48f 2002c1a0 0002d9df 2002c1a4 2000420c Error status: 0x00 MCU revision 3, ADC conversions started 90559, completed 90557, timed out 0, errs 0 Step timer max interval 744 MCU temperature: min 24.5, current 29.1, max 29.1 Supply voltage: min 0.3, current 0.9, max 1.0, 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, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 1: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 2: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 3: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 4: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 5: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 6: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Date/time: 1970-01-01 00:00:00 Cache data hit count 190840772 Slowest loop: 33.70ms; fastest: 0.12ms === Storage === Free file entries: 10 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 5.4ms, 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 SBC is idle in state(s) 0 Daemon is idle in state(s) 0 Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty === CAN === Messages queued 453, received 0, lost 0, boc 0 Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 453/0/0 Tx timeouts 0,0,452,0,0,0 last cancelled message type 30 dest 127 === Network === Slowest loop: 1.25ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) HTTP sessions: 0 of 8 = WiFi = Interface state: changingMode Module is trying to connect Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.26 WiFi MAC address f0:08:d1:03:d4:d7 WiFi Vcc 3.40, reset reason Power up WiFi flash size 2097152, free heap 30056 Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0 ok Error: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle M552 S0 ok Error: WiFi module reported: Didn't find access point while trying to connect to slothnet WiFi module is idle
-
This may be a good case for using runonce.g to avoid having to use a terminal at all since it will get executed at startup.
You could also try adding the M98 command to the end of config.g
-
No real progress but I've been diligently testing / trying everything that has been suggested.
I prepared two macros, one with the "force it lowercase" single quotes, and one without.
I also made sure that every line was terminated with a semicolon, and removed any extra whitespace.
WifiAdd.g
; Add default wifi network M552 S0; ; Disable network module G4 S5; ; wait 5 seconds M587 S"'s'l'o't'h'n'e't" P"'d'e'a'l'w'i't'h'i't"; G4 S5; ; wait 5 seconds M552 S1; ; reenable wifi module
WifiAdd2.g
; Add default wifi network M552 S0; ; Disable network module G4 S5; ; wait 5 seconds M587 S"slothnet" P"dealwithit"; G4 S5; ; wait 5 seconds M552 S1; ; reenable wifi module
WifiClear.g
; Clear all wifi networks M552 S0 ; Disable network module G4 S5 ; wait 5 seconds M588 S"*" ; Clear all saved wifi networls M291 R"WIFI networks forgotten." P"You must add a new WIFI network."
Here's the log of me running both of these commands, they both result in the same "failed to connect" over and over again.
M115 FIRMWARE_NAME: RepRapFirmware for Duet 3 Mini 5+ FIRMWARE_VERSION: 3.4.6 ELECTRONICS: Duet 3 Mini5plus WiFi FIRMWARE_DATE: 2023-07-21 14:09:13 ok M98 P"WifiAdd2.g"; M98 P"WifiAdd2.g"; ok Error: WiFi module reported: no known networks found WiFi module is idle Error: WiFi module reported: no known networks found WiFi module is idle Error: WiFi module reported: no known networks found WiFi module is idle Error: WiFi module reported: no known networks found WiFi module is idle Error: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle Error: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle Error: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle Error: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle M552 S0 ok M552 S0 ok Error: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle M552 S0; ok M98 P"WifiClear.g"; - WIFI networks forgotten. - You must add a new WIFI network. ok M587; M587; Remembered networks: none ok M98 P"WifiAdd.g"; ok Error: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle Error: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle Error: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle Error: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle M552 S0 ok M552 S0; ok Error: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle M115; FIRMWARE_NAME: RepRapFirmware for Duet 3 Mini 5+ FIRMWARE_VERSION: 3.4.6 ELECTRONICS: Duet 3 Mini5plus WiFi FIRMWARE_DATE: 2023-07-21 14:09:13 ok M122; === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.4.6 (2023-07-21 14:09:13) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: S4AX7-H296U-D65J0-40KMU-2X03Z-78MGP Used output buffers: 1 of 40 (1 max) === RTOS === Static ram: 103712 Dynamic ram: 109156 of which 156 recycled Never used RAM 28688, free system stack 144 words Tasks: NETWORK(ready,7.9%,370) HEAT(notifyWait,0.0%,374) Move(notifyWait,0.0%,363) CanReceiv(notifyWait,0.0%,941) CanSender(notifyWait,0.0%,335) CanClock(delaying,0.0%,342) TMC(notifyWait,0.0%,124) MAIN(running,91.2%,463) IDLE(ready,0.1%,30) AIN(delaying,0.8%,272), total 100.0% Owned mutexes: USB(MAIN) === Platform === Last reset 00:04:31 ago, cause: power up Last software reset time unknown, reason: StuckInSpinLoop, GCodes spinning, available RAM 15772, slot 0 Software reset code 0x0083 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0000080f BFAR 0xe000ed38 SP 0x20003f88 Task NETW Freestk 4294953423 ok Stack: 00000000 20003038 10000000 e000e000 20019290 0009fad1 0009f1aa 610d0000 0009f193 203b736d ffffffff 00000000 00067fa3 0a736d30 2002c1a4 ffffffff 200117d0 00000009 0009f247 20004030 2002c1a0 200114c8 0009c48f 2002c1a0 0002d9df 2002c1a4 2000420c Error status: 0x00 MCU revision 3, ADC conversions started 271236, completed 271236, timed out 0, errs 0 Step timer max interval 742 MCU temperature: min 22.8, current 28.0, max 28.0 Supply voltage: min 0.3, current 0.9, max 1.0, 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, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 1: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 2: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 3: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 4: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 5: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 6: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Date/time: 1970-01-01 00:00:00 Cache data hit count 572132509 Slowest loop: 3.49ms; fastest: 0.12ms === Storage === Free file entries: 10 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 5.4ms, 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 SBC is idle in state(s) 0 Daemon is idle in state(s) 0 Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty === CAN === Messages queued 1356, received 0, lost 0, boc 0 Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 1356/0/0 Tx timeouts 0,0,1355,0,0,0 last cancelled message type 30 dest 127 === Network === Slowest loop: 1.30ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) HTTP sessions: 0 of 8 = WiFi = Interface state: active Module is idle Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.26 WiFi MAC address f0:08:d1:03:d4:d7 WiFi Vcc 3.40, reset reason Power up WiFi flash size 2097152, free heap 30216 Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0 ok
After this I was determined to try to find SOMETHING to report on to try to figure out next steps. I used M929 to turn on event logging and it was... not useful. It just repeated the "can't connect" error but didn't explain why.
I had the idea then of turning on the Wifi with
M522 S1
and waiting for it to be active, maybe then the output ofM122
Will show something else?Full
M122
output below but wifi info shows reset reason Exception:= WiFi = Interface state: changingMode Module is trying to connect Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.26 WiFi MAC address f0:08:d1:03:d4:d7 WiFi Vcc 3.40, reset reason Exception WiFi flash size 2097152, free heap 29824 Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0 ok MError: WiFi module reported: Failed while trying to connect to slothnet`
Does the exception indicate something is wrong with the wifi? Or is that just the natural state of "failed to connect to network"? Is there some way to update the wifi firmware? What else can I do at this point?
Error: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle M122; === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.4.6 (2023-07-21 14:09:13) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: S4AX7-H296U-D65J0-40KMU-2X03Z-78MGP Used output buffers: 1 of 40 (17 max) === RTOS === Static ram: 103712 Dynamic ram: 109156 of which 156 recycled Never used RAM 28688, free system stack 144 words Tasks: NETWORK(ready,8.7%,361) HEAT(notifyWait,0.0%,374) Move(notifyWait,0.0%,363) CanReceiv(notifyWait,0.0%,941) CanSender(notifyWait,0.0%,335) CanClock(delaying,0.0%,342) TMC(notifyWait,0.0%,124) MAIN(running,90.5%,383) IDLE(ready,0.0%,30) AIN(delaying,0.8%,272), total 100.0% Owned mutexes: USB(MAIN) === Platform === Last reset 00:06:41 ago, cause: power up Last software reset time unknown, reason: StuckInSpinLoop, GCodes spinning, available RAM 15772, slot 0 Software reset code 0x0083 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0000080f BFAR 0xe000ed38 SP 0x20003f88 Task NETW Freestk 4294953423 ok Stack: 00000000 20003038 10000000 e000e000 20019290 0009fad1 0009f1aa 610d0000 0009f193 203b736d ffffffff 00000000 00067fa3 0a736d30 2002c1a4 ffffffff 200117d0 00000009 0009f247 20004030 2002c1a0 200114c8 0009c48f 2002c1a0 0002d9df 2002c1a4 2000420c Error status: 0x00 MCU revision 3, ADC conversions started 401510, completed 401508, timed out 0, errs 0 Step timer max interval 743 MCU temperature: min 27.8, current 28.2, max 28.4 Supply voltage: min 0.9, current 0.9, max 1.0, 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, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 1: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 2: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 3: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 4: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 5: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 6: ok, SG min n/a, read errors 0, write errors 0, ifcnt 0, reads 0, writes 0, timeouts 0, DMA errors 0, CC errors 0 Date/time: 1970-01-01 00:00:00 Cache data hit count 849290131 Slowest loop: 3.15ms; fastest: 0.12ms === Storage === Free file entries: 10 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 2.0ms, 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 SBC is idle in state(s) 0 Daemon is idle in state(s) 0 Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty === CAN === Messages queued 159, received 0, lost 0, boc 0 Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 159/0/0 Tx timeouts 0,0,159,0,0,0 last cancelled message type 30 dest 127 === Network === Slowest loop: 2.00ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) HTTP sessions: 0 of 8 = WiFi = Interface state: changingMode Module is trying to connect Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.26 WiFi MAC address f0:08:d1:03:d4:d7 WiFi Vcc 3.40, reset reason Exception WiFi flash size 2097152, free heap 29824 Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0 ok MError: WiFi module reported: Failed while trying to connect to slothnet WiFi module is idle 5M552 S0
-
@dirtybirdnj said in 3.4.6 Wifi won't connect - ssid with lowercase chars:
M587 S"'s'l'o't'h'n'e't" P"'d'e'a'l'w'i't'h'i't";
You don't need to add any special escape characters when using a macro. Only when using a USB terminal that forces upper case.
Try clearing your saved networks again with the wifi clear macro and use wifiadd2.g again to add it. Then send M587 by itself to see what the saved networks are.
-
@dirtybirdnj Looking at the picture in your first post, I can't see if the external aerial is connected to the WiFi module. Is it? You'll get barely any signal without it. An external aerial should have been supplied with the Duet. Plug it into the tiny U.FL connector on the WiFi module:
One option is to update RepRapFirmware and the WiFi firmware to the current 3.5.0-rc.4 version. RRF now includes commands to scan the network (so you can see what networks it does see) with M587.1 and M587.2, but needs RRF 3.5 (beta/rc versions work) and DuetWifiServer 2.0 or later, both of which can be found here: https://github.com/Duet3D/RepRapFirmware/releases/tag/3.5.0-rc.4
In testing, DuetWifiServer 2.0beta7 seems to solve a lot of connectivity issues with newer routers, too.
Another option, to confirm that the WiFi module is working, is to set it up in access point mode, and connect directly to it. See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m589-configure-access-point-parameters
Ian
-
@droftarts YOU ARE THE MAN!
Thank you SO MUCH to everyone in this thread, but you get the gold star for being the one to suggest the antenna.
It worked IMMEDIATELY upon connecting it. I connected over USB and saw the "successfully connected / heres the IP" terminal message I expected. I disconnected USB and powered up via the 24v power supply directly... and it still works!
@Phaedrux thank you for clarifying that I don't need the single quotes anymore due to the macro / no effect by input method
It looks like I can get back to my task of being clueless about how to configure my board... but at least it works! Next steps X/Y config... and then getting a servo to do up down (z 1/0) and I am getting closer to drawing pictures with this heap of metal, motors and pcbs.
I am THRILLED. Happy Monday thank you everyone.
-
-
-
@dirtybirdnj As it's a drawing machine, see my config here for the Polargraph I built. It uses a servo to raise and lower the pen. Ignore the parts about the motors and kinematics, as mine is not a cartesian machine.
Ian