Skip to main content
/

Site Navigation

Your Account

Choose Language

Changes to Step #9

Edit by Ian A-S

Edit approved by Ian A-S

Before
After
Unchanged

Step Lines

[title] Duet 2 Wifi only - Connect Duet to Network
[* black] '''This step is for Duet 2 WiFi only!''' Use the command [[Gcode#Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks|M587]] as shown below. Substitute the SSID and WiFi password for those of your network. The simple double quote characters are needed. Once you press enter, wait for the 'ok' response.
[* black] ``M587 S"your-network-ssid" P"your-network-password"``
[* icon_note] Enter the '''exact''' characters of your network SSID and password, in the correct case. If you have apostrophe characters in the SSID or password, or you are not using YAT to communicate with the Duet and have upper and lower case letters, see the first note in the [[Gcode#Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks|Gcode dictionary entry for M587]]. If you get an error, make sure the WiFi is in idle mode.
[* icon_note] '''Note:''' Make sure to connect to a 2.4GHz network; the Duet 2 WiFi module will not connect to 5.0GHz networks.
[* red] Send command '''M552 S1''' to connect to WiFi. After a moment, the Duet will confirm the connection and the IP address of the Duet controller. The blue LED on the WiFi module will flash as it connects, then should be on constantly once connected.
[* icon_note] If you get an error, check the network SSID and password you entered with the M587 command. Send '''M587''' to get a list of remembered networks, though this does not show the password.
[* black] At this point your Duet 2 Wifi should be on the wifi network. To connect to the Duet Web Control (DWC) interface, [guide|7|continue to Step 9.|stepid=11]
[* icon_note] Note: M587 saves the SSID and password to the Duet 2 WifiWifi, and is persistent. You do not need to run this command every time the board is started. M552 S1 starts the network, and this command does'''does''' need to be run every time the board starts (so ensure it is in config.g so it runs automatically - editing config.g will be covered later)
[* icon_note] Note: M587 saves the SSID and password to the Duet 2 WifiWifi, and is persistent. You do not need to run this command every time the board is started. M552 S1 starts the network, and this command does'''does''' need to be run every time the board starts (so ensure it is in config.g so it runs automatically - editing config.g will be covered later)