Duet 2 wifi unable to set IP
-
When I enter
"M552 S1 P192.168.1.14"
I get the following in response
"Error: M552: expected string expression<LF>ok<LF>"
I am running version 3.3
Not sure if im doing something wrong or if this is a glitch. -
How are you sending the command? USB terminal I assume? Which software?
Can you send M122 and copy paste the result?
-
@rowow
For WLAN, the SSID must be there, not the IP.
In Ethernet mode, enter the IP there.
More information about M552 -
-
@phaedrux I am using yat via USB terminal yes. I sent M122 and got the following
"=== Diagnostics ===<LF>RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later<LF>Board ID: 08DJM-9178L-L2MSD-6JTD2-3SN6K-KTHQR<LF>Used output buffers: 1 of 24 (23 max)<LF>=== RTOS ===<LF>Static ram: 23876<LF>Dynamic ram: 75180 of which 176 recycled<LF>Never used RAM 12328, free system stack 114 words<LF>Tasks: NETWORK(ready,65.2%,231) HEAT(delaying,1.4%,314) Move(notifyWait,4.8%,313) MAIN(running,27.0%,441) IDLE(ready,1.6%,29), total 100.0%<LF>Owned mutexes: WiFi(NETWORK) USB(MAIN)<LF>=== Platform ===<LF>Last reset 19:39:04 ago, cause: power up<LF>Last software reset at 2022-06-28 20:45, reason: User, GCodes spinning, available RAM 12328, slot 1<LF>Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a<LF>Error status: 0x00<LF>Step timer max interval 0<LF>MCU temperature: min 37.8, current 38.0, max 48.9<LF>Supply voltage: min 0.0, current 24.0, max 24.2, under voltage events: 1, over voltage events: 0, power [Warning: Maximal number of characters per line exceeded! Check the line break settings in Terminal > Settings > Text or increase the limit in Terminal > Settings > Advanced.]" -
@norder Hello as the title says this is wifi not ethernet
-
@phaedrux this is exactly what I followed. Ive been using my duet for a few years now and just now decided to put it on a stable ip.
-
@rowow said in Duet 2 wifi unable to set IP:
@norder Hello as the title says this is wifi not ethernet
Yes, that's exactly why I wrote the comment.
There must not be an IP there, but the SSID of the network must be there. -
Ideally you would use the DHCP reservation system of your router to give the Duet the same IP each time. Then the Duet remains in DHCP mode. Setting a static IP manually is not considered best practice these days.
-
@phaedrux thanks alot, after some searching around in the router settings I managed to find the mac address and set it. Originally the entire reason I wanted to set the address manually is because of my new router the printer ip doesnt show up in the client list for whatever reason. There was a mac address in the client list that wasnt in the ip list which I assumed was the printer and worked. Before I had to check it each time via a usb cable. Thank you
-
-
-
@rowow you can set a fixed IP address in the M587 command that you use to tell RRF the SSID and password of a network that you want to connect to.