Duet 3d WiFi set IP address
-
I did do it separately, it does not work.
As far as from within config.g, does it really not work, or is it you don't want to leave it there because 1) it's a security issue and 2) it's not good to write the flash over and over every time you restart.
Thanks
Joel -
Can you try adding
M552 S1 P192.168.1.14
to your config.g? With your chosen IP of course.The SSID and password will be saved to the module.
-
@joel said in Duet 3d WiFi set IP address:
As far as from within config.g, does it really not work, or is it you don't want to leave it there because 1) it's a security issue and 2) it's not good to write the flash over and over every time you restart.
It really doesn't work because of those reasons.
-
M552 does not set the IP address either. It Seems M552 only sets IP for non WiFi versions.
-
Then it really does work, it's not a good idea, but that's a different answer.
I recall when I first set it up, I put it in config.g then deleted those lines after the first power up. I think the configuration tool now makes a runonce.g file that deletes itself after the first run.
So not working and not being a good idea are two different things.
But in the end, this still does not work any way I try it.
Can someone actually verify that it does work for them?
M587 with no parameters always return the SSID and everything is is all zeros.
-
@joel said in Duet 3d WiFi set IP address:
M587 with no parameters always return the SSID and everything is is all zeros.
In that case, the M587 command that you sent hasn't worked. Please try the following:
- Send M552 S0 to put the wifi module in idle mode
- Send M588 P"*" to delete all SSIDs
- Send M587 without parameters, to verify that the list is clear
- Send your M587 command including SSID, password and IP address
- Send M587 without parameters again
If that doesn't work, cut and paste the transcript and post it here, with the password changed.
-
Hi,
That was one of the first things I did. I will do it again and capture the output.
I will have to find a way to capture a clean transcript. Because I will be killing the WiFi, I need to do this over USB, I was doing it through Simplify3D which has messy output. Stay tuned
-
@joel, if your PC is running Windows, then try YAT.
-
I used Putty and now it seems to work. Through panel due and the console on Simplify3D those steps did not work. Trying the full M587 line though the web gui did not work. Using putty it worked. Maybe there's an indication of something here.
Now I am set
Thanks for putting up with the fuss.
Joel -
Paneldue has a max line length, so that's to be expected. Not sure how simplify3d handles usb comms, could be a limit there as well.
I would think it should work through the DWC console though.
Another option would have been creating a macro file with the full command and then using the paneldue to execute the macro.
-
I did do the macro thing, I don't recall if I did all the steps as described by DC42 ( missing step would have been the M588 S"*".
Using DWC I did everything except the M588 S"*", I should have tried it but was thinking I would get disconnected.
In panel due, yes, I had to break it up because of line length.
Hopefully if this ever comes up for me again, I remember what I learned here.