Period in SSID
-
I'm at work at the moment.
I issued an M587 command from the LCD panel and it came back with a long named SSID that I don't recognize and isn't in range of my house.
I removed the MicroSD card and took a look at config.h and it shows my SSID and password. I believe the format is:
M587 S"belkin.c6f" P"<password>" <- the password is set to my SSID password. -
I've been doing a bit of research between calls.
Is there a status LED near the wifi adapter on the Duet 2 wifi board?
Also, if there is and it's not lit up (I need to check) would typing M552 S1 from the LCD panel help?
I've got a bit of a steep learning curve going on here I think.
Should there be a line in config.g stating M552 S1? I'm not home to check.
-
Typing M552 S1 from the panel didn't work, no networks available. I can't seem to get the printer to accept my WAP SSID.
-
@jamesadoty said in Period in SSID:
I removed the MicroSD card and took a look at config.h and it shows my SSID and password. I believe the format is:
M587 S"belkin.c6f" P"<password>" <- the password is set to my SSID password.That M587 command shouldn't be in config,g, it should either be in a macro file that you execute after the Duet has started up, or you should send it to the USB port vis a terminal emulator. See https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7#s5.
-
@dc42
I'd better double check that when I get home after work, I could swear it was there but I've been known to be wrong.I do recall reading something about macros, I'll take a look tonight.
In fact I wonder if a macro for that is already there and is set to the SSID I see when I type M587 from the LCD screen.
I don't really want to unplug all those cables to take my Duet board to my computer if I don't have to.
I haven't had a 3D printer connected directly to my computer in years. Very liberating.
-
If your password isn't too long, you can send the M587 command from PanelDue. Otherwise, put the M587 command in a macro file on the SD card and execute that.
-
@dc42
My SSID password isn't terribly long but is in all lowercase, I can't figure out how to get quote marks or type lowercase characters from the LCD panel.I'll try the macro idea though.
I suppose if worse comes to worse I could borrow a laptop from work.
Hey, as a thought. I do have a Chromebook. I wonder if there's a terminal program for it that works through USB??? Hmm.
-
@jamesadoty said in Period in SSID:
My SSID password isn't terribly long but is in all lowercase, I can't figure out how to get quote marks or type lowercase characters from the LCD panel.
If you have recent firmware on the PanelDue then there is a Shift key on the keyboard to switch to lowercase and punctuation characters.
-
I'm pretty sure that the RRF configuration tool will happily put your SSID and password into the config.g file. I did mine, though I removed it after the printer connected to the network.
Putting it into a macro file to generate is also not a bad idea.
I might do such a macro as follows:
; wifimacro.g ; tell the Duet to connect to the wifi M552 S0 ; Turn off the wifi module M588 "*" ; forget all current SSID networks M587 S"WI.FI.SupraGuy" P"supraguyssupersecurepassword" M552 S1 ; turn the wifi module back on
-
@dc42
My next step will be to update the firmware then. I think it has version 1.17?? Not sure but I did see it wasn't current. -
@supraguy
Great script. I'll create one myself and give it a try.Thanks.
-
@jamesadoty said in Period in SSID:
@dc42
My next step will be to update the firmware then. I think it has version 1.17?? Not sure but I did see it wasn't current.M587 is supported in firmware 1.19 and later.
-
No progress yet.
Here's my script file.
; SetNetwork macro to set up wifi
; Tell Duet to connect to the wifi
M552 S0 ; turn off wifi
M588 S"*" ; forget all stored networks, remove if this works
; G4 P1000 I commented this out
M587 S"belkin.c6f" P"<password_secret> :)"
;M587 I commented this out
M552 S1 ; turn on wifi
; M552 I commented this outI found out that the file originally contained a dummy network set up and that's what's in the system, M588 S"*" doesn't seem to get rid of it though.
Is there another command used to erase a setting from permanent memory?
-
Time to sing it:
"Happy Happy Joy Joy Joy!!!"The learning curve is killing me. But some progress made!
I thought macros were automatically run. Nope. Did some research. Tried:
P/macros/setnetwork.
Nope, no go.Did even more research
M98 p/macros/setnetworkM587 showed belkin.c6f but no IP address or netmask or anything, all zeros.
Rebooted, ran M587. Connected with an IP address!!!!Thank you all of you who helped me figure this out.