Unable to attach after network wireless IP change
-
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)
-
he means you had typed a space between P and "addWifi.g"
you should be sending
M98 P"/macros/addWifi.g" -
@jay_s_uk ahhhh! Didn’t see that. Will try again.
-
What exactly is in addwifi.g?
Try
M98 P"0:/macros/addwifi.g"
just to specify the entire path.Again, I don't think there is anything wrong with the board. So far it is behaving as expected to the commands it's been given. It just needs the wifi network added. Once we can get the macro to execute to send the M587 command we should be in business.
-
Wow! Woke up this morning and fired up the printer expeecting to continue the saga. Looked over and what did I see..... A shinny blue light peaking back at me.
Don't know how, but some of the changes I made last hight (per you'all's suggestions) seemed to have kicked in. Not sure whey it did it wouldn't work last night but did this morning, but i think I'll leave that horses mouth shut.
Thank you all. I'm quite sure that this is because of your help.