Unable to attach after network wireless IP change
-
@Veti said in Unable to attach after network wireless IP change:
@crchisholm said in Unable to attach after network wireless IP change:
Yes, I get the following....
m122Please set YAT to <LF> endings:
Terminal->Settings->Text Settings-> EOL sequence <LF>and report again
I did and here's the result....
<Executing config.g...Error: M587: Failed to add SSID to remembered list HTTP is enabled on port 80 FTP is disabled TELNET is disabled Error: G29: Must home printer before bed probing Done! RepRapFirmware for Duet 2 WiFi/Ethernet is up and rWiFi 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 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 ....list keeps comming without stop.
Might the problem be that tellnet and FTP are disabled? Should both be enabled? Where would I set that.
-
thats not the output of m122
-
@crchisholm said in Unable to attach after network wireless IP change:
M588 S"*
did you send that or
M588 S"*" ?
-
Sorry grabbed the wrong screen shot. Here is the correct one.
M122
=== Diagnostics === RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later Board ID: 08DGM-917NK-F23T0-6J9FL-3SD6R-KDB0F Used output buffers: 1 of 20 (1 max) === RTOS === Static ram: 25524 Dynamic ram: 98616 of which 0 recycled Exception stack ram used: 256 Never used ram: 6676 Tasks: NETWORK(ready,1240) HEAT(blocked,1232) MAIN(running,3868) IDLE(ready,200) Owned mutexes: === Platform === Last reset 01:19:57 ago, cause: power up Last software reset at 2020-08-02 14:08, reason: User, spinning module GCodes, available RAM 6608 bytes (slot 2) Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d 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 31.9, current 32.7, max 35.9 Supply voltage: min 0.3, current 0.5, max 0.6, 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 4294967295 Slowest loop: 1.08ms; fastest: 0.06ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0 === Move === Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 240, MaxWait: 0ms, Underruns: 0, 0 Scheduled moves: 0, completed moves: 0 Bed compensation in use: mesh Bed probe heights: 0.000 0.000 0.000 0.000 0.000 === Heat === Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 === 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: 1.27ms; 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 changing mode WiFi module is idle Failed messages: pending 0, notready 0, noresp 0 Failed to get WiFi status Socket states: 0 0 0 0 0 0 0 0 ok
-
Can you send
M997 S1
to try and re-flash the wifi module with the bin file currently on the sd card?When sending
M588 S"*"
remember to include the double quotes around the asterix. -
@Phaedrux said in Unable to attach after network wireless IP change:
M997 S1 t
Yep.
M997 S1
WiFi reported error: no known networks found
WiFi module is idle
Trying to connect at 230400 baud: T0:23.4 /0.0 B:24.0 /0.0
T0:23.5 /0.0 B:24.0 /0.0
T0:23.5 /0.0 B:24.0 /0.0
T0:23.5 /0.0 B:24.0 /0.0
T0:23.5 /0.0 B:24.0 /0.0
success
Erasing 4096 bytes...
Erasing 192512 bytes...
T0:23.5 /0.0 B:24.0 /0.0
T0:23.4 /0.0 B:24.0 /0.0
Uploading file...
T0:23.5 /0.0 B:24.0 /0.0
5% complete
10% complete
T0:23.4 /0.0 B:23.9 /0.0
15% complete
T0:23.5 /0.0 B:23.9 /0.0
20% complete
T0:23.5 /0.0 B:24.0 /0.0
25% complete
T0:23.5 /0.0 B:24.0 /0.0
30% complete
35% complete
T0:23.4 /0.0 B:23.9 /0.0
40% complete
T0:23.5 /0.0 B:24.0 /0.0
45% complete
T0:23.5 /0.0 B:23.9 /0.0
50% complete
T0:23.4 /0.0 B:24.0 /0.0
55% complete
T0:23.4 /0.0 B:23.9 /0.0
60% complete
T0:23.4 /0.0 B:24.0 /0.0
65% complete
70% complete
T0:23.5 /0.0 B:23.9 /0.0
75% complete
T0:23.5 /0.0 B:24.0 /0.0
80% complete
T0:23.5 /0.0 B:23.9 /0.0
85% complete
T0:23.5 /0.0 B:24.0 /0.0
90% complete
T0:23.5 /0.0 B:24.0 /0.0
95% complete
Upload successful
ok -
Ok.
Now send these commands and let us know what it responds with.
M552 S0 M552 S1 M588 S"*"
Now to connect it to your wifi network you need to send the M587 command.
See here for the steps: https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7#s9
-
@Phaedrux said in Unable to attach after network wireless IP change:
Ok.
Now send these commands and let us know what it responds with.
M552 S0 M552 S1 M588 S"*"
Now to connect it to your wifi network you need to send the M587 command.
See here for the steps: https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7#s9
M552 S0
ok
WiFi reported error: no known networks found
WiFi module is idleM552 S1
ok
WiFi reported error: no known networks found
WiFi module is idle
WiFi reported error: no known networks found
WiFi module is idle
---
M558 S"^"
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
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
WiFi reported error: no known networks found
WiFi module is idle
---Sadly, I am beginning to believe the board is dead.
-
@crchisholm said in Unable to attach after network wireless IP change:
M558 S"^"
Did you really have ^ ? It should be *
Sadly, I am beginning to believe the board is dead.
There's nothing to indicate this. I think the problem is you just need to add your SSID name and password.
-
@Phaedrux Darn. To much going on. Yes. I did enter the ^ instead of the *. I guess my printer isn’t the only one with issues. I am away from my home computer so I will rerun these tomorrow.
-
You can create a macro like this and place it in the /macros folder. Add your network name and password. Save it as addwifi
M552 S0 ; Disable network module G4 S5 ; wait 5 seconds M587 S"NETWORKNAME" P"PASSWORD" ; Add duet wifi SSID to remembered networks list G4 S5 ; wait 5 seconds M552 S1 ; reenable wifi module
Then from the USB terminal send M98 P"addwifi"
-
@Phaedrux First off, I am not sure how to save this as a macro when I can't even get into the device.
I reran the three commands being more careful to avoid typos.....
WiFi module is idle
M552 S0
ok
WiFi reported error: no known networks found
WiFi module is idle
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... repeats forever ....
M558 S"*"
ok
WiFi reported error: no known networks found
WiFi module is idle
WiFi reported error: no known networks found
WiFi module is idle... repeats forever ....
-
@crchisholm said in Unable to attach after network wireless IP change:
First off, I am not sure how to save this as a macro when I can't even get into the device.
You would need to put the SD card in your computer and use a text editor like notepad to create the macro file.
Or just download this file
Open it in a text editor and add your SSID and password and put it on the SD card.
Then from the USB terminal send M98 P"addwifi.g"
-
Ok, I have done that. I copied the file to the MACROS folder on the SD and confirmed that it was readable and contained the correct info. I used your name "addWifi.g".
So now I am unsure where to go. How can I run that macro if I can't connect to the Duet????
-
@crchisholm said in Unable to attach after network wireless IP change:
How can I run that macro if I can't connect to the Duet????
Then from the USB terminal send M98 P"addwifi.g"
Did you also change the macro to use your own SSID and password?
-
@Phaedrux said in Unable to attach after network wireless IP change:
M98 P
result...M98 P
Warning: Macro file not found.
ok -
@crchisholm Crap....just saw what I did wrong
M98 P "addWifi.g"
Warning: Macro file "addWifi.g" not found.
okbut alas, it did not make a difference....
-
Are you sure that's what it was named and it's saved in the macros folder?
Did it keep the .g extension?
-
Also there should be no space between the P and the macro name
-
@Phaedrux
There are no spaces
I did a copy/past of your suggestion above and copied it into a file named addWifi.g. My system seems to want to capitalize the “W” so I went with that through out.
I copied that file to the sd macros folder.
I opened the file on the Sd and double check that everything is correct.
I reinserted the sd into the duet.
I powered the duet up and sent M98 “addWifi.g”
...could not find the file.I also reformatted an Sd card, copied the addWifi.g to the macros folder, opened it in notepad++ and checked everything again. I tried that SD card and got the same result.
When do I decide the problem is on the board itself. I have seen absolutly no indication that the WiFi module even works. If the board has gone bad, then I’m out ofluck. Like so many others, the pandemic has left me in the position of not being able to replace it. (Not whining ...I’m well aware there are lots of folks in the same mess)