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

    Networking issue with ethernet

    Scheduled Pinned Locked Moved Solved
    General Discussion
    3
    12
    399
    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.
    • jckrayundefined
      jckray
      last edited by jckray

      There are several elements to this issue.

      First, when starting up and plugged into an ethernet connection, the duet is unable to acquire an IP address via DHC and returns a message that the IP address is 0.0.0.0.

      Second, this is a large business network and a subnet and gateway need to be defined. After entering the appropriate M553, M554, and M552 commands the Duet returns that it has connected and is using the specified static IP address. The network also shows a device using that address. However, when entering the Duet's IP address into a browser it returns a 403 error.

      I'm pretty stuck at this point and am definitely not a networking expert. Does anyone have any ideas?

      Hardware: Duet 2 Ethernet
      Firmware version: 2.05.1
      DWC: 2.0.7

      John
      Founder of Hydra Research LLC, developers of the open-source 3D printers and providers of 3D printing services.
      https://www.hydraresearch3d.com/

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

        Does the ethernet port and Duet work when connecting directly between the Duet ethernet port and your computers port? Manually set an IP address on both that are within the same subnet and see if you can reach it then.

        Does the network not had a DHCP server setup? Is it MAC filtering or something?

        Z-Bot CoreXY Build | Thingiverse Profile

        jckrayundefined 1 Reply Last reply Reply Quote 0
        • jckrayundefined
          jckray @Phaedrux
          last edited by

          @Phaedrux

          I don't have access to the printer, it is at one of our customer's facilities. The printer was tested during production and successfully connected to the network at our facility via ethernet. I'm an utter novice when it comes to networking, but I know one of our other enterprise clients needed the MAC address possibly for that reason. I will ask this customer if it's possible their network is MAC filtering.

          On a side note, do you know if subnet and gateway parameters are saved once entered, or do they need to be in the config.g?

          John
          Founder of Hydra Research LLC, developers of the open-source 3D printers and providers of 3D printing services.
          https://www.hydraresearch3d.com/

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

            @jckray said in Networking issue with ethernet:

            do you know if subnet and gateway parameters are saved once entered, or do they need to be in the config.g?

            They should be defined in config.g

            Z-Bot CoreXY Build | Thingiverse Profile

            jckrayundefined 1 Reply Last reply Reply Quote 0
            • jckrayundefined
              jckray @Phaedrux
              last edited by

              @Phaedrux That's what I thought.

              Just heard back and the network is not MAC filtering.

              Their network is showing the printer and they can ping the printer from the command line on their computer, but when trying to access DWC from a browser they get HTTP error 403.

              John
              Founder of Hydra Research LLC, developers of the open-source 3D printers and providers of 3D printing services.
              https://www.hydraresearch3d.com/

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

                403 means forbidden. I'm thinking that's on the network end.

                What url are they trying to use to reach it? Is the browser trying to reach https:// or something?

                Connecting directly between the duet and a PC would at least verify that it's still working on site.

                Maybe the SD card is out?

                Z-Bot CoreXY Build | Thingiverse Profile

                jckrayundefined 1 Reply Last reply Reply Quote 0
                • jckrayundefined
                  jckray @Phaedrux
                  last edited by

                  @Phaedrux I'm thinking it's on the network end as well, but the IT person there doesn't seem to be able to figure it out either.

                  They said they tried http, https, and just the naked IP (i.e. xx.xx.xx.xx).

                  I'm assuming you're talking about connecting directly to the PC via ethernet? Do you know if there is a guide anywhere on how to do that that I could send to the customer?

                  The SD card is installed correctly. We have custom macros pre-installed and they said they saw those on the printer display.

                  John
                  Founder of Hydra Research LLC, developers of the open-source 3D printers and providers of 3D printing services.
                  https://www.hydraresearch3d.com/

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

                    Yes connect directly with an ethernet cable.

                    https://www.google.com/search?q=setting+a+manual+ip+address&oq=setting+a+manual+ip+address

                    followed by the OS in use should give an idea on how to set the PC end. On the Duet you'd set the static ip with M552 as usual.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @jckray
                      last edited by

                      @jckray guide here: https://duet3d.dozuki.com/Wiki/Setting_up_networking_on_Duet#Section_Wired_direct_connection

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      1 Reply Last reply Reply Quote 1
                      • jckrayundefined
                        jckray
                        last edited by

                        @Phaedrux @droftarts Thanks for the help troubleshooting this with me!

                        I just got an email from the customer today, and it turns out the patch cable was overstretched and that was what was causing the issue.

                        John
                        Founder of Hydra Research LLC, developers of the open-source 3D printers and providers of 3D printing services.
                        https://www.hydraresearch3d.com/

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

                          Good to hear. That's strange though. Why would a stretched cable allow it to get an IP and be pingable, but cause it to give an 403 error. Bizarre. At least it's working now though.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          jckrayundefined 1 Reply Last reply Reply Quote 0
                          • jckrayundefined
                            jckray @Phaedrux
                            last edited by

                            @Phaedrux Yeah super strange!

                            John
                            Founder of Hydra Research LLC, developers of the open-source 3D printers and providers of 3D printing services.
                            https://www.hydraresearch3d.com/

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