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

    Can`t connect to Duet Web Control due to dynamic IP address

    Scheduled Pinned Locked Moved
    Duet Web Control
    8
    14
    537
    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.
    • chrishammundefined
      chrishamm administrators @jocanetto
      last edited by

      @jocanetto Try a different cable. Some USB cables only provide power but no data lines. The port should show up in the device manager (right-click Windows Start -> Device Manager -> Ports (COM & LPT)) once you plugin in the Duet.

      Duet software engineer

      jocanettoundefined 1 Reply Last reply Reply Quote 0
      • jocanettoundefined
        jocanetto @chrishamm
        last edited by

        @chrishamm already tried 3 cables. They are the same cables I used to do the initial configurations months ago.

        chrishammundefined 1 Reply Last reply Reply Quote 0
        • chrishammundefined
          chrishamm administrators @jocanetto
          last edited by

          @jocanetto Well, what does the device manager say? The port should show up there, and you need to configure the same one in YAT.

          Duet software engineer

          jocanettoundefined 1 Reply Last reply Reply Quote 0
          • jocanettoundefined
            jocanetto @chrishamm
            last edited by

            @chrishamm so I finally solved the issue by opening the config file that is in the microSD and changing the definitions for a fixed IP—many thanks.

            Phaedruxundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator @jocanetto
              last edited by

              @jocanetto said in Can`t connect to Duet Web Control due to dynamic IP address:

              changing the definitions for a fixed IP

              Assigning a fixed IP on an open network like that may cause issues with an IP address conflict.

              Perhaps a better option is using a direct connection between your control computer and the Duet?

              Z-Bot CoreXY Build | Thingiverse Profile

              stuartofmtundefined 1 Reply Last reply Reply Quote 0
              • stuartofmtundefined
                stuartofmt @Phaedrux
                last edited by

                @jocanetto
                Can you setup your printer with SBC ? If so - you could run a script that reports (e.g. by email) changes to its IP address.
                Just a thought … I’ve done it in the distant past …

                1 Reply Last reply Reply Quote 0
                • T3P3Tonyundefined
                  T3P3Tony administrators @jocanetto
                  last edited by T3P3Tony

                  @jocanetto an important consideration is you have this on a university LAN so you are exposing an insecure control board to a large network with a range of curious students on it. (I once was one of those students...... 😈 )

                  I highly recommend not doing that. A direct ethernet cable or a Lab only LAN or similar is the way to go

                  www.duet3d.com

                  1 Reply Last reply Reply Quote 2
                  • mikeabuilderundefined
                    mikeabuilder
                    last edited by

                    If you decide to accept the security risks that Tony pointed out, and if you have a PanelDue attached,you could make a very simple macro that puts the IP address on the PanelDue. The gcode is M552.

                    Electriceyeundefined 1 Reply Last reply Reply Quote 1
                    • Electriceyeundefined
                      Electriceye @mikeabuilder
                      last edited by Electriceye

                      @mikeabuilder

                      Hmm.
                      An idea for sure, but if I recall correctly Duet with an attached SBC does not allow network commands?
                      That's the problem I ran into a few weeks back, anyways. 🙄

                      According to AI the reason being:
                      If you're getting a "network command not allowed" error on your Duet SBC (Single Board Computer), it usually means you're trying to send a network-related G-code command while the Duet is not currently configured to operate in "SBC mode," where it directly handles network communication with a connected computer; check that your Duet is properly set up to work with an SBC and that the SD card is empty as the Duet needs to be running in SBC mode to execute network commands.

                      And I agree...the likelihood of getting your LAN Mgr. to allocate a fixed IP address in a EDU environment is slim at best.
                      Even fire-walled and sandboxed to infinity, the temptation for those college kiddos to setup servers using fixed IP's is too great to overlook.

                      1 Reply Last reply Reply Quote -1
                      • oliofundefined
                        oliof
                        last edited by

                        consider setting up AP mode on the printer for a direct connection.

                        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

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

                          @oliof said in Can&#x60;t connect to Duet Web Control due to dynamic IP address:

                          consider setting up AP mode on the printer for a direct connection.

                          In this case it's a 6HC, so no AP mode, but direct wired connection would be ideal.

                          Z-Bot CoreXY Build | Thingiverse Profile

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