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

    Duet Maestro won't connect to PC (Ethernet)

    Scheduled Pinned Locked Moved
    General Discussion
    6
    32
    1.6k
    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.
    • dcw259undefined
      dcw259
      last edited by

      Hi!

      Just got my second Duet board (Wifi previously, now the Maestro), but I'm having some problems getting the ethernet connection to work.

      I started off by connecting the Maestro to my switch/router, which worked well, but now I want to connect it to my PC directly. As I've seen in similar posts, it should work.

      The PC is logged into my main network with an IP of 192.168.1.X and I configured the ethernet port to be 192.168.2.1 IP and 255.255.255.0 subnet mask
      The Duet got IP: 192.168.2.120; subnet: 255.255.255.0. Tried it with crossover or direct cables, but nothing seems to work. LEDs on the RJ45 connector aren't blinking either.

      Would be glad if anyone could put me into the right direction to set this up

      A Former User? fcwiltundefined 2 Replies Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

        @dcw259 said in Duet Maestro won't connect to PC (Ethernet):

        The PC is logged into my main network with an IP of 192.168.1.X and I configured the ethernet port to be 192.168.2.1 IP and 255.255.255.0 subnet mask

        you have 2 network interfaces on your pc?

        i take it a ping does not work?

        just to check that there is not a routing problem can you turn the other interface off?

        1 Reply Last reply Reply Quote 0
        • dcw259undefined
          dcw259
          last edited by

          The PC has an ethernet port and also a wifi stick.

          Pinging the Duet will just result in timeouts

          Deactivating the Wifi doesn't change anything

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User @dcw259
            last edited by

            @dcw259 said in Duet Maestro won't connect to PC (Ethernet):

            LEDs on the RJ45 connector aren't blinking either.

            but LED(s) lights up?

            A Former User? 1 Reply Last reply Reply Quote 0
            • dcw259undefined
              dcw259
              last edited by dcw259

              Yes, as I said, it already works if I connect it to a switch

              The only problem I have is that I can't get a direct ethernet connection, which is 99% just some software config issue.

              Is there a proper write-up on how to do it in windows 10?

              1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk
                last edited by

                you'll need to give the maestro a static ip address.
                Something like 192.168.4.1 with a subnet mask of 255.255.255.0
                Then give your pc a static ip address of 192.168.4.2 with a subnet mask of 255.255.255.0
                If you have to put in a gateway ip address, use 192.168.4.1

                Then you should be able to browse to the maestro using 192.168.4.1

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                dcw259undefined 1 Reply Last reply Reply Quote 1
                • dcw259undefined
                  dcw259 @jay_s_uk
                  last edited by

                  @jay_s_uk

                  I tried that before, but it didn't work (see first post)

                  Is there anything else I could try?

                  1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User
                    last edited by

                    I'd proceed to confirm the settings using route print and/or ipconfig on windows, and M552 on the Maestro with the USB/serial console. Then maybe get Wireshark up and running to see what it can tell you.

                    1 Reply Last reply Reply Quote 0
                    • fcwiltundefined
                      fcwilt @dcw259
                      last edited by

                      @dcw259 said in Duet Maestro won't connect to PC (Ethernet):

                      ...but now I want to connect it to my PC directly.

                      Why?

                      Frederick

                      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                      dcw259undefined 1 Reply Last reply Reply Quote 0
                      • dcw259undefined
                        dcw259 @fcwilt
                        last edited by dcw259

                        @fcwilt
                        Because the PC is right next to the printer and I have no easy way to route an ethernet cable to the router. And since it should work just fine, I see no point in buying another switch/router to connect the Maestro to the PC.

                        Tried a few things. The Maestro clearly works if directly connected to the switch.

                        The ethernet port on the PC also works when connected to the ethernet port of a wifi extender.

                        It's just the Maestro not talking to this PC, although all IPs and masks should be fine.

                        Windows 10 only says "ethernet cable not connected" when I plug it into the Maestro. I've been using the same cable for those tests, so it works too.

                        M552 says "Network is enabled, configured IP address: 192.168.4.120, actual IP address: 192.168.4.120 ok"

                        A Former User? droftartsundefined 2 Replies Last reply Reply Quote 0
                        • A Former User?
                          A Former User
                          last edited by

                          The Maestro does not support Auto MDX so it might need a crossover cable, but it should be sufficient if the laptop support Auto MDX. However if the Meastro Ethernet LEDs light up but the computer says the cable is not connected I'd say investigate the computer end. Try forcing the Link Speed in the adapter settings?

                          dcw259undefined 1 Reply Last reply Reply Quote 0
                          • A Former User?
                            A Former User @dcw259
                            last edited by

                            @dcw259 said in Duet Maestro won't connect to PC (Ethernet):

                            M552 says "Network is enabled, configured IP address: 192.168.4.120, actual IP address: 192.168.4.120 ok"

                            That would imply your configuration for 192.168.2.120/24 didn't stick, change PC or Duet accordingly after establishing the physical link.

                            1 Reply Last reply Reply Quote 0
                            • dcw259undefined
                              dcw259 @A Former User
                              last edited by dcw259

                              @bearer

                              I tried with crossover and standard cables. When connected to the PC, the port leds never light up, only when connected to the switch

                              192.168.4.120 is fine. I changed it on both sides

                              Drivers on the pc are updated

                              How could I force a specific link speed and what should I set it too?

                              1 Reply Last reply Reply Quote 0
                              • A Former User?
                                A Former User @A Former User
                                last edited by

                                @bearer said in Duet Maestro won't connect to PC (Ethernet):

                                but LED(s) lights up?

                                @dcw259 said in Duet Maestro won't connect to PC (Ethernet):

                                Yes, as I said, it already works if I connect it to a switch

                                @dcw259 said in Duet Maestro won't connect to PC (Ethernet):

                                When connected to the PC, the port leds never light up

                                Stop wasting my time patronizing me as if I don't know my networking... Good luck.

                                dcw259undefined 1 Reply Last reply Reply Quote 0
                                • dcw259undefined
                                  dcw259 @A Former User
                                  last edited by

                                  @bearer

                                  Not sure what got you upset. I never said you didn't know your stuff.

                                  Was any info contradicting?

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

                                    Can you post your config.g? On the PC side, check you have not set a router/DNS/default gateway address in the network properties dialogue box for the Ethernet port.
                                    alt text

                                    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

                                    A Former User? dcw259undefined 2 Replies Last reply Reply Quote 1
                                    • A Former User?
                                      A Former User @droftarts
                                      last edited by

                                      @droftarts said in Duet Maestro won't connect to PC (Ethernet):

                                      check you have not set a router/DNS/default gateway

                                      wont affect communication to the same subnet as the host is on

                                      1 Reply Last reply Reply Quote 0
                                      • dcw259undefined
                                        dcw259 @droftarts
                                        last edited by

                                        @droftarts
                                        config.g

                                        ethernet port - maestro.png

                                        also tried setting gateway and dns before, but to no avail

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

                                          @dcw259 said in Duet Maestro won't connect to PC (Ethernet):

                                          The ethernet port on the PC also works when connected to the ethernet port of a wifi extender.

                                          Can you run the Duet plugged into this?

                                          I can’t check your config.g at the moment, as on my phone with sleeping baby on me! And can’t open a .g file in iOS, or change file type. If you could post the text, or save with a txt ending, I can.

                                          I’m writing the ‘alternative’ network connections wiki guide (Duet WiFi in access point mode, Duet Ethernet direct connection), so would be really good to get this cracked.

                                          Other thoughts: firewall? Windows hosts file?

                                          Edit: the weird thing is no Ethernet lights, like the adaptor in the PC is disabled.

                                          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

                                          A Former User? dcw259undefined 2 Replies Last reply Reply Quote 1
                                          • A Former User?
                                            A Former User @droftarts
                                            last edited by

                                            @droftarts said in Duet Maestro won't connect to PC (Ethernet):

                                            like the adaptor in the PC is disabled.

                                            or like the combination of Maestro and Laptop fails to negotiate the link. forcing the right combination of link speed and MDI/MDX on the laptop will likely work

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