Changing the IP address used by DWC
-
There is no need to make it forget the existing networks unless you already have 10 remembered networks and need to make room for the new ones. Send M587 without parameters to list the remembered networks.
You can send the M587 command to tell it the new SSID and password from DWC if you have it connected, but make sure that the "Convert characters to uppercase" option in the User Interface settings is not checked. Or send it from PanelDue, or YAT. Not Pronterface or another GCode sender program, because they convert everything to uppercase, whereas SSIDs snd passwords are case sensitive.
-
Thank you all! I will give this another go later today.
Riddle me this, though please: how does this work? If I have 3 SSID’s in the list and the signal fades on one, does DWC automatically try the othes?
-
@crchisholm said in Changing the IP address used by DWC:
Thank you all! I will give this another go later today.
Riddle me this, though please: how does this work? If I have 3 SSID’s in the list and the signal fades on one, does DWC automatically try the othes?
RepRapFirmware 2.02 and later should re-scan and connect to the strongest known network if the connection is lost.
-
FWIW why are you on different SSIDs? If you configure them all the same your devices should just pick up the one with the best signal automatically. You only really need different SSID's if you need to force a device to a certain AP for some reason. Its made life with my extenders so much easier.
-
@theruleslawyer The honest answer is that I did not know what I was doing (and still don't) I followed the directions supplied with the netgear extender and this is what I ended up with. I have a 5G and a 2G SSID that hits the extender in the shop with the printers, and a base SSID that goes back to the router in another part of the building. Since I got the extender after putting the print in operation, it is still trying to hit the main router.
-
@dc42 Thats what I was hoping. Thanks.
-
@crchisholm Gotcha. Configure them with the same SSID, same PW, same encryption and you should roam pretty seamlessly. If you have DHCP on your extenders you'll want to turn that off and only have the DHCP on your router. If you have the ability to set channels its useful to make sure they're on different ones. (many are auto)
-
2ok, I just added the two other SSIDs to the list, ran the list, made sure that everything was correct, and then restarted DWC. Now I can not connect to it at all. Not sure where to go from here. Blue light flasher for several seconds and then stayed solid, bit I can't connect and I ran IP Scanner and I don't see anything that looks like the printer.
Any ideas about what I should try next
@TheRulesLawyer I need to get on solid ground before I attempt to make any additional change, but once i get through this, I will look at what you suggest.
-
@crchisholm said in Changing the IP address used by DWC:
2ok, I just added the two other SSIDs to the list, ran the list, made sure that everything was correct, and then restarted DWC. Now I can not connect to it at all. Not sure where to go from here. Blue light flasher for several seconds and then stayed solid
That implies that the Duet has connected to one of your routers/extenders. Send M552 via USB or PanelDue to see what IP address has been assigned to it. The IP address may depend on which device it has connected to.
-
Something happened to me the other day that might explain some of the recent connection problems being posted.
When I was connecting to a Duet Maestro board the first time I entered the ip address in the URL field in Chrome and it didn't load. Then I noticed that Chrome had automatically added HTTPS:// which doesn't work. I changed it to http:// and it worked. So maybe check that it hasn't added https on you.
-
Well, I seem to be back in business. I checked the ip that DWC was using with YAT. I don't know if I missed it the first time I looked or what. At any rate, I am printing again. I think I may have to do some tweaks, but so far ok.
I did notice that every time if flips to a differet SSID, it changes the IP so have to scan to find out what it is, but since it's mostly ignoring the ID of the weak signal, I can live with that for now. I will try and do what @TheRulesLawyer suggested above, but need to just make sure everything else is on solid ground.
As always, thank you all for helping me out.
Cbarlie -
@crchisholm See if your router has MAC address reservations. Once you find your duet in your dchp client list you should be able see the mac there and go in and reserve an IP for that MAC. Helpful hint- make it an IP that's well out of range of normal assignment. For instance my router likes to assign 192.168.0.1XX addresses starting at 100. With the extra AP you get a lot less weirdness if you grab 192.168.0.200 or something for your Duet. If this doesn't work you might still have a DHCP server turned on with one of your AP.
-
@theruleslawyer Unfortunately, my router is provided by ISP (spectrum) and have not had any luck dealing with them when static ip's based on mac address were not being honored. I contacted the router manufacturer and got lucky with some one that really did try to work with me. Bottom line: He said that the router provided by the ISP is very out of date and no longer supporteed. Sheesh!!
-
longshot, but maybe try if your router has a usefull dns server that allows you to use the duets host name regardless if ip address?