- | [* black] ***DHCP.***If you have setup the Duet 2 Ethernet to use DHCP then when the network is enabled it will look for a DHCP server to allocate an address. Most home routers are setup to assign addresses by DHCP. |
---|
- | [* black] Send the command "M552 S1" to the board. |
---|
- | [* black] After about 30 seconds, the board should reply with ***Network running*** and the IP address that the Duet has been assigned. |
---|
- | [* black] ***Fixed Address*** If you have used a fixed IP address in config.g then when the network is enabled the Duet 2 Ethernet will use that address. Note that if you use a fixed address, care should be taken that it does not conflict with other devices on the network. |
---|
- | [* icon_caution] The Duet 2 Ethernet and Duet 2 Maestro come with a factory configured fixed address used during testing. This address will probably not work with your network and may cause conflicts. It is recommended to enable DHCP when using the [https://configurator.reprapfirmware.org/|RepRapFirmware configurator]to generate your configuration file. |
---|
+ | [* black] Plug an ethernet cable into the Duet's ethernet port and connect the other end of the cable to a free ethernet port on your router/network hub. |
---|
+ | [* icon_caution] The Duet 2 Ethernet and Duet 2 Maestro come with a factory-configured fixed IP address for testing. This is unlikely to work for you setup! |
---|
+ | [* black] So you need to change the network settings. There are two options: |
---|
+ | [* black] ***DHCP:*** Most home routers are setup to assign IP addresses by DHCP. Send ***M552 S0*** to disable networking, then ***M552 S1 P0.0.0.0*** to enable networking and have your router assign an IP address. |
---|
+ | [* black] ***Fixed Address:*** You can set the Duet to use a fixed IP address. Note that if you use a fixed address, care should be taken that it does not conflict with other devices on the network. Send ***M552 S0*** to disable networking, then ***M552 S1 Px.x.x.x*** to enable networking, where "x.x.x.x" is the IP address you want to use, eg 192.168.1.15. |
---|
+ | [* black] In both cases, after 10-30 seconds the board should reply with ***Network running*** and the IP address the Duet is using. Send ***M552*** to check the settings. |
---|
+ | [* icon_caution] Note: these network settings are temporary! They will be lost when you restart and will have to be re-entered. Step 10 and 11 explain how to set it up permanently. |
---|