• Tags
  • Documentation
  • Order
  • Register
  • Login
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.7k
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.
  • undefined
    Phaedrux Moderator @Stephen6309
    last edited by 13 May 2019, 03:52

    @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
    • undefined
      dc42 administrators
      last edited by dc42 13 May 2019, 07:31

      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
      • undefined
        crchisholm
        last edited by crchisholm 13 May 2019, 12:01

        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?

        undefined 1 Reply Last reply 14 May 2019, 12:56 Reply Quote 0
        • undefined
          dc42 administrators @crchisholm
          last edited by 14 May 2019, 12:56

          @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

          undefined 1 Reply Last reply 14 May 2019, 15:14 Reply Quote 0
          • undefined
            TheRulesLawyer
            last edited by TheRulesLawyer 14 May 2019, 13:46

            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.

            undefined 1 Reply Last reply 14 May 2019, 15:12 Reply Quote 0
            • undefined
              crchisholm @TheRulesLawyer
              last edited by 14 May 2019, 15:12

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

              undefined 1 Reply Last reply 14 May 2019, 15:20 Reply Quote 0
              • undefined
                crchisholm @dc42
                last edited by 14 May 2019, 15:14

                @dc42 Thats what I was hoping. Thanks.

                1 Reply Last reply Reply Quote 0
                • undefined
                  TheRulesLawyer @crchisholm
                  last edited by 14 May 2019, 15:20

                  @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
                  • undefined
                    crchisholm
                    last edited by 14 May 2019, 16:11

                    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.

                    undefined 1 Reply Last reply 14 May 2019, 16:17 Reply Quote 0
                    • undefined
                      dc42 administrators @crchisholm
                      last edited by 14 May 2019, 16:17

                      @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
                      • undefined
                        Phaedrux Moderator
                        last edited by 14 May 2019, 19:28

                        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
                        • undefined
                          crchisholm
                          last edited by 14 May 2019, 20:12

                          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

                          undefined 1 Reply Last reply 15 May 2019, 16:45 Reply Quote 0
                          • undefined
                            TheRulesLawyer @crchisholm
                            last edited by 15 May 2019, 16:45

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

                            undefined 1 Reply Last reply 25 May 2019, 22:38 Reply Quote 0
                            • undefined
                              crchisholm @TheRulesLawyer
                              last edited by 25 May 2019, 22:38

                              @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 25 May 2019, 23:21

                                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