Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    How to connect directly to Duet Ethernet with Ethernet Cable?

    Duet Hardware and wiring
    7
    12
    2308
    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.
    • jml
      jml last edited by

      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
      • samlogan87
        samlogan87 last edited by

        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
        • Danal
          Danal last edited by

          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

          JoergS5 jml 2 Replies Last reply Reply Quote 1
          • JoergS5
            JoergS5 @Danal last edited by

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

            dc42 Danal 2 Replies Last reply Reply Quote 0
            • jml
              jml @Danal last edited by

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

              Danal 1 Reply Last reply Reply Quote 0
              • dc42
                dc42 administrators @JoergS5 last edited by dc42

                @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

                JoergS5 1 Reply Last reply Reply Quote 0
                • JoergS5
                  JoergS5 @dc42 last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • Danal
                    Danal @jml last edited by

                    @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
                    • Danal
                      Danal @JoergS5 last edited by

                      @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
                      • mrehorstdmd
                        mrehorstdmd last edited by

                        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
                        • jml
                          jml last edited by

                          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
                          • waldo563
                            waldo563 last edited by

                            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
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA