Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Changing the IP address used by DWC

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    6
    19
    1.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Stephen6309undefined
      Stephen6309 @crchisholm
      last edited by

      @crchisholm M587: Add WiFi host network to remembered list, or list remembered networks: https://duet3d.dozuki.com/Wiki/Gcode#Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks

      1 Reply Last reply Reply Quote 0
      • crchisholmundefined
        crchisholm
        last edited by

        That is exactly what I thought I did, but it would not connect to the new IP

        Stephen6309undefined 1 Reply Last reply Reply Quote 0
        • Stephen6309undefined
          Stephen6309 @crchisholm
          last edited by

          @crchisholm You can use YAT or a PanelDue, pronterface always upper cases everything. Send M588 "*" to forget all wifi networks, then just send M587 to make sure they all have been erased and then add in the one you want. For adding the SSID/PW with the M587, one way is to make a macro with the new SSID and password.

          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @Stephen6309
            last edited by

            @stephen6309 said in Changing the IP address used by DWC:

            Send M588 "*"

            Don't forget the S. M588 S"*"

            https://duet3d.dozuki.com/Wiki/Gcode#Section_M588_Forget_WiFi_host_network

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators
              last edited by dc42

              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.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              1 Reply Last reply Reply Quote 0
              • crchisholmundefined
                crchisholm
                last edited by crchisholm

                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?

                dc42undefined 1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators @crchisholm
                  last edited by

                  @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.

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  crchisholmundefined 1 Reply Last reply Reply Quote 0
                  • TheRulesLawyerundefined
                    TheRulesLawyer
                    last edited by TheRulesLawyer

                    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.

                    crchisholmundefined 1 Reply Last reply Reply Quote 0
                    • crchisholmundefined
                      crchisholm @TheRulesLawyer
                      last edited by

                      @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.

                      TheRulesLawyerundefined 1 Reply Last reply Reply Quote 0
                      • crchisholmundefined
                        crchisholm @dc42
                        last edited by

                        @dc42 Thats what I was hoping. Thanks.

                        1 Reply Last reply Reply Quote 0
                        • TheRulesLawyerundefined
                          TheRulesLawyer @crchisholm
                          last edited by

                          @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)

                          1 Reply Last reply Reply Quote 0
                          • crchisholmundefined
                            crchisholm
                            last edited by

                            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.

                            dc42undefined 1 Reply Last reply Reply Quote 0
                            • dc42undefined
                              dc42 administrators @crchisholm
                              last edited by

                              @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.

                              Duet WiFi hardware designer and firmware engineer
                              Please do not ask me for Duet support via PM or email, use the forum
                              http://www.escher3d.com, https://miscsolutions.wordpress.com

                              1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator
                                last edited by

                                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.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • crchisholmundefined
                                  crchisholm
                                  last edited by

                                  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

                                  TheRulesLawyerundefined 1 Reply Last reply Reply Quote 0
                                  • TheRulesLawyerundefined
                                    TheRulesLawyer @crchisholm
                                    last edited by

                                    @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.

                                    crchisholmundefined 1 Reply Last reply Reply Quote 0
                                    • crchisholmundefined
                                      crchisholm @TheRulesLawyer
                                      last edited by

                                      @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!!

                                      1 Reply Last reply Reply Quote 0
                                      • A Former User?
                                        A Former User
                                        last edited by

                                        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?

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post
                                        Unless otherwise noted, all forum content is licensed under CC-BY-SA