Skip to main content
/

Site Navigation

Your Account

Choose Language

Help

Revision to Setting up networking on Duet

Ian A-S

=== Connect to WiFi host network ===
-This is the standard setup, with the Duet 2 WiFi connecting to your network through a WiFi access point/router. The IP address can be set in config.g to be fixed, or DHCP-assigned by the network router. This is covered in the [guide|7|Getting Connected|stepid=10] guide.
+This is the standard setup, with the Duet 2 WiFi connecting to your network through a WiFi access point/router. This is covered in the [guide|7|Getting Connected|stepid=10] guide. Briefly:
-All devices are connected to a central router, are on the same network, and are given a unique IP address by DHCP. You can usually set a static IP address, and the router will assign that IP address to the Duet.
+* Connect to Duet, via USB and serial terminal, or via console if already connected to network.
+* Use [[Gcode#Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks|M587]] to add a WiFi host network to the remembered list of networks.
+* To set a static IP address, use the 'I' parameter in your M587 command. If you leave this out, the Duet IP address will be set by the router, using DHCP.
+* Use [[Gcode#Section_M552_Set_IP_address_enable_disable_network_interface|M552]] S1 to turn on networking, and connect. You can specify the host network to connect to using the 'P' parameter, so long as the host network has already been stored using M587.
[image|2631|size=large]
=== Wired network connection ===
-This is the standard setup for a Duet with a wired Ethernet port, and the set up is covered in the [guide|7|Getting Connected|stepid=20] guide. The Duet is connected by a cable directly to the network router (though you could connect the Duet to a wired to wireless access point, and then connect that wirelessly to the router's WiFi). The Duet can have its IP address set by DHCP by the router. Alternatively, you can usually set a static IP address in config.g, and the router will assign that IP address to the Duet.
+This is the standard setup for a Duet with a wired Ethernet port, and the set up is covered in the [guide|7|Getting Connected|stepid=20] guide. The Duet is connected by a cable directly to the network router (though you could connect the Duet to a wired to wireless access point, and then connect that wirelessly to the router's WiFi). The Duet can have its IP address set by DHCP by the router, or set a static IP address in config.g.
[image|2630|size=large]
** IP – 192.168.2.1
** Subnet Mask – 225.225.225.0
-* Note: it is important to ensure that the last values of the IP address for both computers are different.
+* Note: it is important to ensure that the last values of the IP address for Duet and computer are different.
* Then connect to the Duet by opening a browser and going to 192.168.2.2
* If you are using a PC that is connected to both your network and to the Duet, you can bridge the two network connections on your PC, to allow other devices connected to your network to connect to the Duet. This will only work when the PC is on, though.
* Duet 2 WiFi - mDNS support in all firmware versions
* Duet 2 Ethernet, Duet 2 Maestro - mDNS support introduced with firmware v2.04RC3
-* Duet 0.6/0.84 - mDNS support in all versions up to 1.23. mDNS was disabled in legacy Duets from 1.24 due to code quality issues causing reboots, https://forum.duet3d.com/topic/8352/duet-0-6-randomly-reboots/5
+* Duet 0.6/0.85 - mDNS support in all versions up to 1.23. mDNS was disabled in legacy Duets from 1.24 due to code quality issues causing reboots, https://forum.duet3d.com/topic/8352/duet-0-6-randomly-reboots/5
The machine name is also used as the NetBIOS name, which can help to identify the Duet on a network. This is only supported on Duet 2 WiFi and legacy Duet 0.6/0.85.

To undo the changes made by this version, click 'Revert Changes.' This will automatically restore the previous version of this guide.

Revert Changes