Duet2 WiFI, does not use static IP
-
In RRF-Config Tool (https://configtool.reprapfirmware.org/Start), I set the Duet to use a specific SSID and a static IP-adress.
When booting, it still picks up another SSID 50 % of the times and it still uses DHCP.
Now, how do I force it to use a specific SSID and static IP-adress.
As of yesterday latest firmware, AFAIK -
@tomasl, if you never want it to connect to the other SSID, just tell RRF to forget that SSID using M588 (you only need to do that once). Otherwise, in the M552 S1 command in config.g use the P parameter to specify which SSID you want to connect to.
-
And how do I get it to use Static IP
-
google search !
Duet 2 WiFi
To set a static IP address, use the 'I' parameter in your M587 command. ...
Use M552 S1 to turn on networking, and connect. -
In runonce.g
; runonce.g ; called after config.g. When it has been executed, it is automatically deleted! ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sat Apr 03 2021 11:58:00 GMT+0200 (centraleuropeisk sommartid) M552 S0 ; disable network G4 P500 ; wait half a second M552 S1 ; enable network G4 P1000 ; wait a second M587 S"MY_SSID" P"MY_WIFI_PASSW" I192.168.0.10 J192.168.0.1 K255.255.255.0 ; configure WiFi M552 S1
It does not seem to work
-
@tomasl send M587 without parameters to list the known SSIDs and static IP addresses.
-
@tomasl I got it to use a static ip in my routers setup. You can assign the duets Mac address to any ip you want. I have tp link and it's under dhcp address reservation.
-
@ross
Well, it is till DHCP, hence still dynamic IP. With the difference that the router sets the lease-period to "forever".
And I still want to use a proper static IP. -
@tomasl just out of curiosity what difference would there be? If you assign let's say 192.168.1.101 the way I did or a "proper static ip" assigned to the same local address.
-
@ross
Ultimately I dont want to use DHCP, only static assigned IP's. -
There should be nothing stopping you from using a static IP.
DC42 asked to check M587 on the 17th, were you able to do that yet?
Post your full config.g and the results of M122 please.
-
@phaedrux
No I havent been at my workshop yet, will do that this weekend. -
I had issues trying to set a static IP as well. I finally got it to work with some suggestions. The steps seems to be very picky. See this thread,
https://forum.duet3d.com/topic/22703/duet-3d-wifi-set-ip-address/7?_=1621469740585