May 18, 2026 12:00 AM
Duet2 wifi setup codes
WiFi Setup Commands
Summary
Instructions for setting up WiFi on a Duet2 using YAT (Web interface).
Key Points
- Connect to a 2.4GHz network; the WiFi module will not connect to 5.0GHz networks.
- Ensure WiFi is in idle mode before sending commands.
Steps
1. Set WiFi to idle mode:
`M552 S0
`2. Get a list of remembered networks:
`M587
`3. Check the current status:
`M115
M122
`4. Set the network SSID and password (be careful with quotation marks):
`M587 S"your-network-ssid" P"your-network-password"
`5. Connect to WiFi:
`M552 S1
`