@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.