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.
    • 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
                                  • Phaedruxundefined
                                    Phaedrux Moderator
                                    last edited by

                                    I'm not sure what you mean, you should be able to view the files on the card as any other external drive like a USB flash drive.

                                    Z-Bot CoreXY Build | Thingiverse Profile

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

                                      @Phaedrux IMG_1133.jpeg

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

                                        @Honey_Badger357 The directory structure of your www folder looks like an older version of DWC. Looking back, I don't know what firmware version you are using on the Duet, which may have a bearing on why you can't connect. Can you connect via USB and send M115 and post the response?

                                        Also, as you have the SD card in your computer, can you post the sys/config.g file? Either upload the file in your reply, or open it with TextEdit and copy and paste the text 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

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

                                          can you walk me through using YAT please?

                                          ; Fusion3 F410 Firmware configuration file
                                          ; For FusionWare 1.18.1 RC2
                                          ; Revision 2019.06.27
                                          ; For Serial Number 6739

                                          M111 S0 ; Debug off
                                          M550 PFusion3 F410 ; Machine name MUST HAVE A "P" IN FRONT OF IT(can be anything you like)
                                          M551 Pfusion3 ; Machine password MUST HAVE A "P" IN FRONT OF IT
                                          M540 P0xBE:0xEF:0xDE:0xAD:0x67:0x39 ; MAC Address (replace last 2 blocks with 4 digit s/n)
                                          ;=== Adjust the following 3 lines to suit your network ===
                                          M552 P0.0.0.0 S1 ; IP address (0 = use DHCP)
                                          M554 P192.168.1.1 ; Gateway
                                          M553 P255.255.255.0 ; Netmask
                                          ;=========================================================
                                          M555 P2 ; Set output to look like Marlin
                                          M575 P1 B57600 S1 ; comms params for paneldue

                                          ; Machine configuration
                                          M569 P0 S1 ; Drive 0 goes forwards
                                          M569 P1 S0 ; Drive 1 goes backwards
                                          M569 P2 S0 ; Drive 2 goes backwards
                                          M569 P3 S0 ; Drive 3 goes backwards
                                          M569 P4 S0 ; Drive 4 goes backwards
                                          M574 X1 Y1 Z2 S1 ; set endstop configuration
                                          M667 S1 ; set CoreXY mode
                                          M92 X44.00 Y44.00 Z426.67 E190.0 ; set axis steps/mm
                                          M906 X1300 Y1300 Z1400 E1400 I100 ; Set motor currents (mA)
                                          M201 X2000 Y2000 Z300 E4000 ; Accelerations (mm/s^2)
                                          M203 X33000 Y33000 Z2500 E10000 ; Maximum speeds (mm/min)
                                          M566 X600 Y600 Z40 E950 ; Maximum jerk speeds mm/minute
                                          M208 X355 Y355 Z315 ; set axis maxima
                                          M208 X0 Y0 Z0 S1 ; set axis minima
                                          G21 ; work in mm
                                          G90 ; absolute coords
                                          M83 ; relative extruder movements

                                          ; Z probe
                                          M558 P5 X0 Y0 Z0 H7 F100 ; Set probe type and if it's used for axis homing (no in our case)
                                          G31 Z-0.05 P600 ; Set the probe height and threshold (smaller number = further away from bed)

                                          ; Thermistors and heaters
                                          M305 P0 T100000 B4036 R4700 ; Bed thermistor
                                          M305 P1 T100000 B4725 C7.06e-8 R4700 ; Head thermistor
                                          ;M305 P2 T100000 B4725 C7.06e-8 R4700 ; Not needed

                                          M307 H0 A153.5 C534.2 D6.7 B0 ; Configure H0 (bed) heater model
                                          M307 H1 A338.3 C210.6 D3.6 B0 ; Configure H1 (print head) heater model

                                          M143 S320 ; Set max print head temperature
                                          M143 H0 S140 ; Set max heat bed temperature
                                          M570 H1 P10 T15 ; Configure heater safety timeouts

                                          ; Tool definition
                                          M563 P0 D0 H1 ; Define tool 0
                                          G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
                                          M563 P2 H0 ; define heat bed tool
                                          G10 P2 S0 R0 ; define heat bed tool op and standby temps
                                          ;M572 D0 S0.20

                                          ; Configure filament monitor
                                          M581 T2 E0 S0 C1

                                          ; Reset filament monitor when the board is rebooted
                                          M42 P63 S0
                                          G4 P50
                                          G4 P50
                                          M42 P63 S1

                                          T0 ; select first hot end

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

                                            @Honey_Badger357 you’re certainly running an older version of the firmware. Follow this guide to connect via USB: https://docs.duet3d.com/en/How_to_guides/Getting_connected/Getting_connected_to_your_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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA