Duet Wifi - How to Set IP?
-
I'm having a fairly annoying issue. I access my Wifi through web browser through 192.168.1.XXX. My issue is after some periods of time pass, the XXX value changes which forces me to hardwire into the Duet and restart the setup procedure to figure out what the new XXX value is to access through web browser. How do I give it a static IP or what is an easier way to access the page without having to hardwire to find the new IP? As far as I can tell, the instructions during that part of the setup never go over how.
-
@perseveranze This is normally done on your router you are connected to - Give the MAC address an reserved IP address, since it is the router that designates the IP (but the duet can request to have the correct IP, but might not get it)
Any ways, look at M552 https://duet3d.dozuki.com/Wiki/Gcode#Section_M552_Set_IP_address_enable_disable_network_interface
your command would be M552 S1 P192.168.1.xxx
-
@martin1454 said in Duet Wifi - How to Set IP?:
@perseveranze This is normally done on your router you are connected to - Give the MAC address an reserved IP address, since it is the router that designates the IP (but the duet can request to have the correct IP, but might not get it)
I agree, a router IP address reservation is probably simplest.
Any ways, look at M552 https://duet3d.dozuki.com/Wiki/Gcode#Section_M552_Set_IP_address_enable_disable_network_interface
your command would be M552 S1 P192.168.1.xxx
M552 can only be used to set the IP address on Ethernet-enabled boards. On the Duet WiFi it is necessary to allow the IP address to depend on which network you are connected to, because the same IP address may not be appropriate on different networks. So the IP address is set in the M587 command along with the SSID and password.