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

How to connect directly to Duet Ethernet with Ethernet Cable?

Scheduled Pinned Locked Moved
Duet Hardware and wiring
7
12
3.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.
  • undefined
    jml
    last edited by 19 Sept 2018, 02:52

    Is it possible to control the Duet Ethernet directly (instead of through a network), using an ethernet cable from the Duet to my computer (and being able to use DWC)? If so, how do I set that up?

    1 Reply Last reply Reply Quote 0
    • undefined
      samlogan87
      last edited by 19 Sept 2018, 03:30

      Yeap. I was doing it with mine until I got a switch to connect it to the network. You will need to setup a static IP address with your usb cable unless you have someway already of editing your config.g file remotely. Follow the instructions on setting them up in the documentation if you can't. Then connect the ethernet cable and set your computer ip address to the same range (ie duet 192.168.1.40 and your computer 192.168.1.2) and then you should be good to go.

      Regards,
      Sam

      Custom Core-XY

      1 Reply Last reply Reply Quote 0
      • undefined
        Danal
        last edited by 19 Sept 2018, 13:30

        Sam is correct. To slightly clarify:

        • Plug an ethernet cable from the printer directly into an ethernet port on you PC.

        That cable is now a network. It is a separate network from anything else your PC is doing. Therefore, everything on it has to have an IP address that is different from your other networks.

        • Assuming that your home network is typical, all the devices on it will probably be 192.168.X.Y. Where Y is unique to a DEVICE and X is most often 0 or 1 or similar. Your cable to the printer MUST use a different X.

        • For example, if your home network results in your PC having an IP of 192.168.1.123, then your printer MUST not use 1 in that third digit.

        • In the above example, set the printer to 192.168.2.10 and set the ETHERNET INTERFACE in your PC to 192.168.2.11.

        • Sometimes, we tend to think of an IP address as applying to a "thing" or a "host", like a PC. Remember, an IP address applies to and INTERFACE on a host... so be sure the "192.168.2.x" addresses are used on the interface that is that ethernet cable.

        Of course, if your PC only has ONE interface, then none of the above matters. You PC will simply be on the printer network, and therefore off your home network, during the moments you have it plugged in that way.

        Delta / Kossel printer fanatic

        undefined undefined 2 Replies Last reply 19 Sept 2018, 17:45 Reply Quote 1
        • undefined
          JoergS5 @Danal
          last edited by 19 Sept 2018, 17:45

          @danal Don't you need a cross cable to directly connect?

          undefined undefined 2 Replies Last reply 19 Sept 2018, 21:19 Reply Quote 0
          • undefined
            jml @Danal
            last edited by 19 Sept 2018, 21:17

            @danal said in How to connect directly to Duet Ethernet with Ethernet Cable?:

            In the above example, set the printer to 192.168.2.10 and set the ETHERNET INTERFACE in your PC to 192.168.2.11.

            In your example there, your "X" values are the same. Did you mean to have a "1" where one of the "2"s are?

            undefined 1 Reply Last reply 20 Sept 2018, 13:36 Reply Quote 0
            • undefined
              dc42 administrators @JoergS5
              last edited by dc42 19 Sept 2018, 21:19

              @joergs5 said in How to connect directly to Duet Ethernet with Ethernet Cable?:

              @danal Don't you need a cross cable to directly connect?

              No, because modern PCs and laptops generally autodetect the cable orientation.

              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 20 Sept 2018, 05:45 Reply Quote 0
              • undefined
                JoergS5 @dc42
                last edited by 20 Sept 2018, 05:45

                @dc42 Thanks. From my question you see that I am long in IT business...

                1 Reply Last reply Reply Quote 0
                • undefined
                  Danal @jml
                  last edited by 20 Sept 2018, 13:36

                  @jml said in How to connect directly to Duet Ethernet with Ethernet Cable?:

                  @danal said in How to connect directly to Duet Ethernet with Ethernet Cable?:

                  In the above example, set the printer to 192.168.2.10 and set the ETHERNET INTERFACE in your PC to 192.168.2.11.

                  In your example there, your "X" values are the same. Did you mean to have a "1" where one of the "2"s are?

                  I believe the examples are correct.

                  If your PC is going to be "multi interface" and your home network interface on the PC is, say, 192.168.1.123, then the "other" network that is the cable to the printer MUST have a different third digit than the home network. And the PC and the Printer MUST have the same third digit.

                  Example:

                  PC
                  WiFi interface to home network: 192.168.1.123
                  Ethernet interface to printer: 192.168.2.11

                  Printer
                  Ethernet interface to PC: 192.168.2.10

                  Delta / Kossel printer fanatic

                  1 Reply Last reply Reply Quote 1
                  • undefined
                    Danal @JoergS5
                    last edited by 20 Sept 2018, 13:38

                    @joergs5 said in How to connect directly to Duet Ethernet with Ethernet Cable?:

                    @danal Don't you need a cross cable to directly connect?

                    A long time ago, yes, you'd need crossover cable, or a stand alone "hub". As @DC42 pointed out, nearly all modern Ethernet interfaces are "auto-polarity", and will "just work" with a standard cable.

                    Delta / Kossel printer fanatic

                    1 Reply Last reply Reply Quote 1
                    • undefined
                      mrehorstdmd
                      last edited by 20 Sept 2018, 13:44

                      I'm late to the party here, but for future reference... I wrote a blog post on getting a local ethernet connection to work.

                      https://drmrehorst.blogspot.com/

                      1 Reply Last reply Reply Quote 1
                      • undefined
                        jml
                        last edited by 20 Sept 2018, 17:34

                        Great I'll take a look at the blog post and everything else said here and hopefully I can get it working soon.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          waldo563
                          last edited by 23 Sept 2018, 08:22

                          Just to clarify, if you want to separate the printer network from your home network, the third number (octet) does not necessarily have to be different...it depends on the subnet mask. If using a 24 bit mask (255.255.255.0) then the third number must be different but the ip address ranges can be subdivided using the mask so that a 192.168.1.0 network can be divided by using more than 24 bits in the mask. So with a 25 bit mask (255.255.255.128), it becomes one network with an address range from 192.168.1.1 - 192.168.1.126 and another with a range from 192.168.1.129 - 192.168.1.254.

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