Duet 2 Wifi Connected to Wifi but not connecting to DWC
-
Hello all,
I'm fairly new with RepRap/Duet hardware, so bare with me in case I miss anything obvious!
I am attempting to install a duet 2 wifi into a custom 3D printer, and am having issues connecting to DWC. I have connected to my wifi network and recieved an IP address, but applying that ip to chrome just returns "site not reached". I have updated my firmware to 2.05, but still having the same issue. I've also attempted to update /www, but still to no avail. Here are the network stats from YAT, as well as a ping from windows:
Any help is greatly appreciated!
-
use yat to confirm the duet can read the sd card and the files are in the correct location
run
M20 P"/www" S2
and please copy and paste the text instead of a picture, makes it easier to read. -
@bearer said in Duet 2 Wifi Connected to Wifi but not connecting to DWC:
M20 P"/www" S2
Thanks for the reply! Heres what the command returns:
M20 P"/www" S2
Begin file list
{"dir":"/www","first":0,"files":["*fonts","*css","favicon.ico.gz","index.html.gz","*js"],"next":0,"err":0}
End file list
ok -
i clearly read the header and not the text .. files are ok, IP adress seems off.
duet says it is 192.168.31.27, you're trying to ping 192.168.31.216?
can you not access one of these?
-
that's my bad, I think I tried to change static IP and pinged that, the actual response is here, roughly the same though:
C:\Users\Admin>ping 192.168.31.27
Pinging 192.168.31.27 with 32 bytes of data:
Reply from 192.168.31.26: Destination host unreachable.
Reply from 192.168.31.26: Destination host unreachable.
Reply from 192.168.31.26: Destination host unreachable.
Reply from 192.168.31.26: Destination host unreachable.Ping statistics for 192.168.31.27:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)But yes, none of those options work, the browser just says the site cant be reached.
-
@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!