Duet 2 Wifi Connected to Wifi but not connecting to DWC
-
@kevinj333 said in Duet 2 Wifi Connected to Wifi but not connecting to DWC:
that's my bad, I think I tried to change static IP and pinged that, the actual response is here, roughly the same though:
what does running just
m552
andm578
return? -
M578
M578 command is not supported
ok
M587
Remembered networks:
mynetwork IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
ok
M552
WiFi module is connected to access point mynetwork, IP address 192.168.31.27
okThe M578 command wasnt support, i assumed you were talking about the M587.
-
@kevinj333 said in Duet 2 Wifi Connected to Wifi but not connecting to DWC:
The M578 command wasnt support, i assumed you were talking about the M587.
yes, typo, sorry.
so the stored network is set to dhcp, did you connect using M552 S1 P192.168.31.27 - or is that the dynamic one?
-
@bearer
No worries.
192.168.31.27 is the dynamic IP.
-
okay, so we're pretty confident .27 is the correct ip and you cannot access it.
both computers are connected to the same SSID? (they seem to be in the same IP range so presumably yes, but just to be sure).
some wifi networks employ a so called client isolation where it prevent wifi clients talking to each other, only access the internett. are you able to access other wifi devices from your computer?
lastly just to verify the wifi module is working, can you configure the duet as an access point and have your computer connect to it?
see https://duet3d.dozuki.com/Wiki/Gcode#Section_M589_Configure_access_point_parameters (and make sure to useM552 S2
to eanble wifi in AP mode, you might have to issueM552 S0
to first turn wifi off) -
Yes that should be the correct IP, and yes they are connected to the same network. I am able to contact other wireless devices, so that shouldnt be a problem.
I am able to create an access point from the duet and connect to DWC with this enabled. Probably should have mentioned that sooner!
-
So everything works, and everything also doesn't work. Awesome!
Which wifi router are you using? There have been some weird cases of people with vodaphone routers having interoperability issues
-
@bearer
Now you understand the struggle!
The router is a netgear genie, not Vodaphone based.
-
Just solved it myself:
Turns out the router was forcing the IP from the duet to change. I was able to force the router to make the IP what was assigned by the board.Thank you for all your help!
-
@kevinj333 said in Duet 2 Wifi Connected to Wifi but not connecting to DWC:
Turns out the router was forcing the IP from the duet to change. I was able to force the router to make the IP what was assigned by the board.
that didn't make much sense, with the configuration you showed the board would only take the IP offered by the router.
but if works, lets not beat a dead horse!