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

    Trouble with direct Ethernet connection

    Scheduled Pinned Locked Moved
    Duet Web Control
    3
    27
    1.3k
    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.
    • Honey_Badger357undefined
      Honey_Badger357
      last edited by

      Hello all.
      I work with a fusion3 f410 3D printer with a Duet2 and am trying to get to DWC. I CANNOT have access to a router so I’m trying to set up direct wired connection from the duet to windows10 PC with wifi disabled to isolate IP.

      I’ve tried following the directions from about every post on this topic I can find and nothing is working.

      I also tried set a static IP on pc
      IP 192.168.1.2
      Subnet 255.255.255.0
      gateway 192.168.1.1

      And set on the duet
      IP 192.168.2.3
      Subnet 255.255.255.0 (as one other post said worked for them)
      Gateway 192.168.1.1

      I first tried set a static IP on pc
      IP 192.168.2.2
      Subnet 255.255.0.0
      gateway 192.168.2.1

      And set on the duet
      IP 192.168.2.3
      Subnet 255.255.0.0 (worked for someone else on a post when x.x.255.0 didn’t)
      Gateway 192.168.2.1

      Web browser gives back “this site can’t be reached. Took too long to respond” any way I try.

      Can’t ping the board through Command Prompt.

      Any advice would be appreciated
      Thank you for assistance in advance

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

        @Honey_Badger357 see https://docs.duet3d.com/en/User_manual/Machine_configuration/Networking#wired-direct-connection

        Don’t set a gateway address, it’s not needed. The two machines, pc and duet, must be on the same subnet, ie if the mask is 255.255.255.0, the first three numbers must be the same, and the last different, ie 192.169.2.x where only x changes.

        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

        Honey_Badger357undefined 1 Reply Last reply Reply Quote 0
        • Honey_Badger357undefined
          Honey_Badger357 @droftarts
          last edited by

          @droftarts Thank you for the response.

          I followed the directions of that link.
          IMG_1020.jpeg IMG_1021.jpeg
          image.jpg

          Anything else I can try?
          I feel like I’m just missing something I don’t know about.

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

            @Honey_Badger357 192.168.2.2 is the IP address of your Windows PC, not the Duet. Type 192.168.2.1 into the browser address bar.

            Though the Duet is saying 'actual IP address 0.0.0.0'. I can't remember if this part matters. it may indicate something isn't quite right. Do you see any lights on the Ethernet port of the Duet?

            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

            Honey_Badger357undefined 1 Reply Last reply Reply Quote 0
            • Honey_Badger357undefined
              Honey_Badger357 @droftarts
              last edited by

              @droftarts Respectfully, x.x.2.2 is the duet IP address in the instructions and diagram. I recommend a change to the instructions if that is incorrect.

              Yes, the amber light is constantly on and the green light does not stay on or flicker.

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

                @Honey_Badger357 Thanks for pointing this out, there was indeed an error in the instructions, which said to go to 192.168.2.2 (which is the address of the PC), and should be 192.168.2.1 (which is the address of the Duet). The image and the configuration were correct, just this one instruction was incorrect. I have also updated the configuration instructions to make it clearer which one gets set to which address.

                If you are getting a light on the Ethernet port, the PC and Duet should be seeing one another; connecting to the correct address should show DWC. If you get any other error message, please post what it is.

                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

                Honey_Badger357undefined 2 Replies Last reply Reply Quote 0
                • Honey_Badger357undefined
                  Honey_Badger357 @droftarts
                  last edited by

                  @droftarts IMG_1044.jpeg

                  1 Reply Last reply Reply Quote 0
                  • Honey_Badger357undefined
                    Honey_Badger357 @droftarts
                    last edited by

                    @droftarts IMG_1045.jpeg

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

                      @Honey_Badger357 I've just set up an Duet 3 6HC Ethernet with PanelDue, in direct connection with my PC, and managed to connect straight away. I have the following in the config.g on the SD card in the Duet:

                      M552 P192.168.2.1 S1
                      M553 P255.255.255.0
                      

                      When the Duet starts up, I get a green light flashing with data transfer on my Ethernet port. I think the amber light just means it is running at 100mb/s. I don't think you have the green flashing light? Can you try another Ethernet cable?

                      I also don't get the 'actual IP address 0.0.0.0' message on the PanelDue, just that the IP address is set to 192.168.2.1. I do get it if I start the Duet up without the Ethernet cable connected, but on reconnecting the cable I get the message 'Ethernet running, IP address = 192.168.2.1', which makes me further suspicious of your Ethernet cable.

                      If that doesn't help, can you open a Command Prompt on your Windows PC, and send netstat -a, and copy the response into your reply.

                      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

                      Honey_Badger357undefined 1 Reply Last reply Reply Quote 0
                      • Honey_Badger357undefined
                        Honey_Badger357 @droftarts
                        last edited by

                        @droftarts I get a green flashing light when I first plug in the Ethernet cable but then it stops. I’ll try to swing by my shop tomorrow, otherwise it might be Tuesday next week before I get back to it. Thank you for the help.
                        The Ethernet cable came with the machine but I’ve also tried a cross over cable for every option in case that was part of the issue but I get the same results. I can try another cable in case that’s the issue.

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

                          @Honey_Badger357 You should use a straight-through cable, I think, at least that's what I use. Though most Ethernet ports auto negotiate nowadays, so unless the PC is quite old, using a crossover cable shouldn't be the problem.

                          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

                          Honey_Badger357undefined 1 Reply Last reply Reply Quote 0
                          • Honey_Badger357undefined
                            Honey_Badger357 @droftarts
                            last edited by

                            @droftarts! IMG_1093.jpeg

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

                              @Honey_Badger357 That looks like the output of netstat -a? It seems to be showing that your PC has it's IP address set to 192.168.2.2
                              What IP address is the Duet set to?

                              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

                              Honey_Badger357undefined 1 Reply Last reply Reply Quote 0
                              • Honey_Badger357undefined
                                Honey_Badger357 @droftarts
                                last edited by

                                @droftarts duet is set to 192.168.2.1
                                Actual is still 0.0.0.0

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

                                  @Honey_Badger357 said in Trouble with direct Ethernet connection:

                                  duet is set to 192.168.2.1
                                  Actual is still 0.0.0.0

                                  Have you tried a different Ethernet cable? I think that means that it is not making a physical/electrical connection. Is the Ethernet port disabled on your PC? Check in the Device manager.

                                  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

                                  Honey_Badger357undefined 1 Reply Last reply Reply Quote 0
                                  • Honey_Badger357undefined
                                    Honey_Badger357 @droftarts
                                    last edited by

                                    @droftarts IMG_1098.jpeg

                                    Ethernet hasn’t changed. When I search the IP on the web browser the green light on the duet port blinks but still says “took too long to respond”

                                    This is with a new regular Ethernet cord.

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

                                      Are you able to test the Duet and your PC using a wired network router rather than a direct connection?

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      Honey_Badger357undefined 1 Reply Last reply Reply Quote 0
                                      • Honey_Badger357undefined
                                        Honey_Badger357 @Phaedrux
                                        last edited by

                                        @Phaedrux unfortunately no

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

                                          What do you have in the WWW folder on your SD card?

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          Honey_Badger357undefined 1 Reply Last reply Reply Quote 0
                                          • Honey_Badger357undefined
                                            Honey_Badger357 @Phaedrux
                                            last edited by

                                            @Phaedrux what is the recommended app for reading the card on a PC? I’ve seen not to use notes as it can corrupt the files.

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