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

    Duet 2 Ethernet not connecting

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    17
    350
    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.
    • Muhammedundefined
      Muhammed
      last edited by

      Hi
      I have a Duet 2 board with Ethernet connection and I'm following the "Getting Connected" documentation here, and making sure that everything is set up as documented [here].

      I am using YAT and able to configure an IP address, getting the message that says the network is enabled and the configured IP address is ..... However, I am not able to connect to the Duet on the HOST interface neither seeing any devices connected to network when I check my router. Its weird that I am not seeing the Duet in the connected devices in my Router network settings. I tried another cable and network too, but no matter what I do, I just cant see the card on the network. Any recommendations or suggestions will be highly appreciated.

      Also, wanted to ask if there is a way to find the MAC address of the Duet card by contacting support? How I can reach them?

      Thanks!

      oliofundefined 1 Reply Last reply Reply Quote 0
      • oliofundefined
        oliof @Muhammed
        last edited by

        @Muhammed if you connect via YAT, the MAC address will be in the report generated by the M122 command.

        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

        Muhammedundefined 1 Reply Last reply Reply Quote 0
        • Muhammedundefined
          Muhammed @oliof
          last edited by

          @oliof Thank you.

          I used M540 command and found the MAC address, I have assigned the IP address as well.

          I can see the device on the network with the assigned IP, but when I try to ping it, all the packets get lost. When I try to connect to it through the local server GUI provided by Duet using the web sockets, its not getting connected as well.

          Are there any other commands needed to start the network communication?

          oliofundefined droftartsundefined 2 Replies Last reply Reply Quote 0
          • oliofundefined
            oliof @Muhammed
            last edited by

            @Muhammed best to share your config.g

            <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

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

              @Muhammed Make sure you enable HTTP with M586:

              M586 P0 S1 ; enable HTTP
              

              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 0
              • Muhammedundefined
                Muhammed @oliof
                last edited by

                @oliof @droftarts Hello
                Here are the contents of my config.g files

                ; Default config.g template for Duet 2 tested with RRF3.4.5 stable 2022-11-30
                ; Replace this with a proper configuration file (e.g from https://configtool.reprapfirmware.org)
                
                
                ;enable UART for testing
                M575 P1 B57600 S1
                
                ; test network enable
                M552 P192.168.1.14
                M552 S1
                
                ; Display initial welcome message
                M291 P"Please go to <a href=""https://www.duet3d.com/StartHere"" target=""_blank"">this</a> page for further instructions on how to set it up." R"Welcome to your new Duet 2!" S1 T0
                
                droftartsundefined 1 Reply Last reply Reply Quote 0
                • droftartsundefined
                  droftarts administrators @Muhammed
                  last edited by

                  @Muhammed Actually, HTTP should be enabled by default, so ping should work. Send M586 from YAT to check what services are running.

                  Check the IP address you are giving the Duet is within the IP range of the network, or use M552 P0.0.0.0 to use DHCP to set one.

                  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

                  Muhammedundefined 1 Reply Last reply Reply Quote 0
                  • Muhammedundefined
                    Muhammed @droftarts
                    last edited by

                    @droftarts Hi, We have the service running but ping is still not working

                    M586
                    CORS enabled for site '*'
                    HTTP is enabled on port 80
                    FTP is disabled
                    TELNET is disabled
                    ok
                    
                    droftartsundefined 1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @Muhammed
                      last edited by droftarts

                      @Muhammed I would tend to think, if you're seeing the Duet in the router, that the IP address is out of range, or shared with another device. Can you not set an IP address with DHCP?

                      It's also possible that you router doesn't allow new device connections without adding devices to a 'safe' list.

                      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

                      Muhammedundefined 1 Reply Last reply Reply Quote 0
                      • Muhammedundefined
                        Muhammed @droftarts
                        last edited by

                        @droftarts We enabled HTTP and CORS then we let DHCP assign the IP and now its working fine!.

                        Thank you everyone.

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

                          @Muhammed What IP address did it assign? Having Cross-Origin Resource Sharing (CORS) enabled or disabled shouldn't make any difference.

                          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

                          Muhammedundefined 1 Reply Last reply Reply Quote 0
                          • Muhammedundefined
                            Muhammed @droftarts
                            last edited by

                            @droftarts The IP address was assigned by DHCP

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

                              @Muhammed said in Duet 2 Ethernet not connecting:

                              @droftarts The IP address was assigned by DHCP

                              Yes, but what IP address was assigned? I'm interested if it was in the same domain range, ie 192.168.1.xx, or something else. Send M552 to report the IP address. It's also possible the netmask is different from the default of 255.255.255.0. Send M553 to report the current netmask in use.

                              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

                              Muhammedundefined 2 Replies Last reply Reply Quote 0
                              • Muhammedundefined
                                Muhammed @droftarts
                                last edited by

                                @droftarts Yes, it was the same. 192.168.1.120

                                1 Reply Last reply Reply Quote 0
                                • Muhammedundefined
                                  Muhammed @droftarts
                                  last edited by

                                  @droftarts Can I ask if there is a way to connect the Duet Ethernet card directly to my PC and use the web interface? Thanks again.

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

                                    @Muhammed yes, see https://docs.duet3d.com/en/User_manual/Machine_configuration/Networking#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

                                    Muhammedundefined 1 Reply Last reply Reply Quote 0
                                    • Muhammedundefined
                                      Muhammed @droftarts
                                      last edited by

                                      @droftarts Thanks alot. This was really helpful. 🙂

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