Cannot connect to DWC Simple fix??
-
@AMPMAKER said in Cannot connect to DWC Simple fix??:
Can the Duet be setup and used without the wifi.?
Yes it can, I have done just this in the past. It got me through a crisis.
It's a lot of fiddling; constantly removing the SD card to edit config files or add gcode files.
- Use the terminal to test and refine the correct syntax for config file commands; generate heater tunings etc..
- You will then need to be popping the SD card out and in to upload gcode files, and make any permanent changes to the config files,
- Use M23 etc to select and print.
- Conceptually; the web interface does it's magic by sending gcode commands to RRF behind-the-scenes, and allowing direct uploading files to SD. In theory there is nothing you can command in the web interface that cannot also be sent via the terminal.
Another 'get me working' option would be to use a mobile phone or similar to make a hotspot for just the printer and run the UI from the phone, or a laptop on the same hotspot.
-
-
The printer can be an AP. Totally separate from your network. That does mean you have to switch to it... but probably less hassle than physically manipulating the SD card.
-
Does Orbi not route between the 2.4 and 5 segments? Yikes!! That's a real problem. And, with great respect, are you sure this is the problem? I've run both Linksys mesh routers and Google WiFi mesh routers, and also Netgear "single central" routers with two Duet WiFi. No issues with printer on 2.4 and PC on 5.
-
-
@AMPMAKER said in Cannot connect to DWC Simple fix??:
Yes Orbi is the name of the router. Orbi is a tri band router and this may be an issue. From what I have read
it has the ability to pick up 2.4 or 5 ghz independently. But this does not look like that is happening.Unless something is wrong with the router configuration, or perhaps the router itself, devices connected via the LAN connection(s) on the router, via 2.4 GHz or 5.0 GHz should all be able to communicate with one another.
All of the access points in my home are dual band (2.4 & 5) and I have no issues like you are having. I can connect to my two Duet Wifi equipped machines without any problems.
Don't give up.
Frederick
-
No I am not sure the router is the issue, But...
I asked someone who is more knowledgeable than me, that's said the Orbi is a mesh network
and most likely the issue. In hind sight it would have been easier to wire an Ethernet cable.Easy Target. Our issue with removing the card, over time, is our screen will be put on the right side
of the printer, and access to the card is the left. So it would need to have separate containment for
the Panel-Duet. We are using cards to transfer the files now, which is fine, but all the conf.. that's
a lot of back and forth. -
Yeah, Orbi should be fine with 2.4 and 5 devices talking to each other. And "mesh" is NOT the issue, otherwise nothing in your house would work...
You can certainly test this. Find any other device on the 2.4 network (I don't have an orbi, so you'll have to look up how to do this) and ping it.
-
@AMPMAKER I have been using an orbi router with my duet WiFi. So not a complete no no. Just fixed the address that was assigned to the duet, no other fiddling.
-
@AMPMAKER said in Cannot connect to DWC Simple fix??:
I asked someone who is more knowledgeable than me, that's said the Orbi is a mesh network
and most likely the issue.If it IS a mesh setup that still would not explain the problem.
There is often a setting in the WiFi portion of a router configuration which allows enabling "client isolation".
When this is enabled wireless devices (WiFi) cannot communicate with wired devices.
That sounds like it might be the case.
Frederick
-
Ok, Just fix the address? What exactly do you mean?
my IP shows 192.168.1.31 on the Duet when I enter M552
see below. But when I try to Ping I get no response.m552
WiFi module is connected to access point ORBI, IP address 192.168.1.31<LF>ok<LF>The Blue light flashed for a bit and entered M552 again and got a different IP.
m552
WiFi module is changing mode<LF>ok<LF>WiFi module is connected to access point ORBI, IP address 192.168.1.4<LF>Now it is connected.... Wow very frustrating but all I did.. I Think.. is turned off the ORBI (cycled Power)
while the Duet was plugged into and powered by the USB cable.
Now I enter 192.168.1.4 and the Duet screen comes up.Thank you all for the suggestions and help. Would have been a long time trying to figure this out without help.
Issue solved.. -
Will the Duet remember the IP address? Or do I need to send another M command?
-
Got it M552 S1 is already in the Network config.g file.
-
@AMPMAKER said in Cannot connect to DWC Simple fix??:
Will the Duet remember the IP address? Or do I need to send another M command?
You can specify a static IP Address for the Duet WiFi in the M587 command which is NOT meant to always be present in your config.g file.
It's fine to put it there just to get the correct values stored in the WiFi module but once everything is working you need to comment out or remove the M587 command from your config.g.
Now the only problem with using a static IP address is that the router may try to handout that same address to another device that is asking for an IP address from the router.
You can avoid this problem by limiting the range of addressed the router can handout. This is a setting in the router configuration.
For example you could configure the router to handout IP address from x.x.x.21 to x.x.x.254, leaving addresses 2 through 20 for assignment to hardware like your Duet.
Frederick
-
This is not my strongest area to be working in, so it is very frustrating when I get it to
work and now it doesn't. I unplugged the duet from the USB ate lunch came back to reconnect
and back to square one. Now no YAT. Saying com5 is closed, and no wifi of course.
Device manager see's it plugged into com 5??? What am I missing.I do understand handing out IP address above a certain range, but shouldn't the device always
have the same IP, once it is set. -
@AMPMAKER said in Cannot connect to DWC Simple fix??:
I unplugged the duet from the USB ate lunch came back to reconnect
and back to square one. Now no YAT. Saying com5 is closed, and no wifi of course.
Device manager see's it plugged into com 5That is odd. When I first started with a Duet WiFi I had the odd problem with WiFi but I never had a problem using the USB connection. Perhaps you already have another instance of YAT running and connnected to COM5? Windows only allows one connection at a time to a COM port.
I do understand handing out IP address above a certain range, but shouldn't the device always
have the same IP, once it is set.If a device like a Duet is setup to use DHCP every time it powers up/resets and asks for an IP address it may get a different one.
The only way to insure that it ALWAYS gets the same one is with a IP reservation. If you can find a link to the manual for your router I will be glad to take a look and see if and how IP reservations can be done.
Frederick
-
Frederick thank you for the offer, I will keep that offer a bit, but if I don't work this through I may never learn
how it's done. I have been able to get back to a YAT connection with the Duet. Still no internet Although.M552
WiFi module is connected to access point ORBI, IP address 192.168.1.4<LF>ok<LF>
M587
Remembered networks:<LF>TNCAP2FCC19 IP=192.168.1.14 GW=0.0.0.0 NM=0.0.0.0<LF>ORBI65 IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0<LF>ORBI IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0<LF>ok<LF>I did find this on instructables.com Whats your thought on trying it.
https://www.instructables.com/id/Duet-WiFi-Activate-and-Connect-the-WiFi-When-It-Do/
I did contact the company that sold the Duet to us and he suggested a different router 2.4 of course just
for the duet. But I think that isolating the IP is the most Logical. -
I found this post from
dc42 ADMINISTRATORS 8 Mar 2018, 12:54
Either:- Send M552 S0, then send M552 P192.168.1.xx, then send M552 S1. You should then be able to connect DWC. In DWC go to the System editor and edit the M552 command in config.g to have that IP address.
Or:
- Move the SD card to a PC and use a text editor to make the same change to the M552 command in config.g.
So I was able to get connected to the DWC again, I just don't know if I turn this off if it will reconnect.
We shall see. The IP recorded in the config.g was different than the IP that came up when entering the
M552 command.Do I always have to go thru YAT to get to DWC or should it come up when the Duet is powered on??
-
Hi,
Read about M552 a little more closely.
Notice:
"On the Duet 2 WiFi running firmware 1.19 and later, the IP address is set in the M587 command when you configure the access point details."
Once you get the WiFi configured correctly it is saved in the WiFi hardware "flash" memory and you can connect any time you power/reset the Duet.
Frederick
-
@fcwilt Concerning YAT not connecting, what was described above is what happened to me. I opened a second instance of YAT and got connection errors. I also closed all connections and had some issues connecting back again.
-
I am having this same issue:
Duet 2 WIFI running 2.03 suite of firmware and drivers from github
Made it through Step 8 in the "Getting Connected to your Duet" guide
Connection to YAT works great
Connection to Pronterface works great
M552 returns:
ok
WiFi module is connected to access point SkyNet Guest, IP address 192.168.0.192
My tp-link router shows a wireless client at the 192.168.0.192 address but cannot identify it. (shows a "*" )I am clearly set up and connected, but I get the "can't reach this page" error every time. (I've tried both the IP address and the duettest.local routes)
-
@spudaddict said in Cannot connect to DWC Simple fix??:
WiFi module is connected to access point SkyNet Guest, IP address 192.168.0.192
The "Guest" part suggests to me that it is configured for client isolation. Which means a WiFi device connected using that SSID can see the Internet but nothing else on the local network. And nothing else on the local network can see the device.
Frederick
-
@spudaddict said in Cannot connect to DWC Simple fix??:
WiFi module is connected to access point SkyNet Guest, IP address 192.168.0.192
Can you ping 192.168.0.192 from the PC where you are attempting to connect a browser?