• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    Honey_Badger357 @droftarts
    last edited by 10 Jan 2024, 20:52

    @droftarts IMG_1045.jpeg

    1 Reply Last reply Reply Quote 0
    • undefined
      droftarts administrators
      last edited by 10 Jan 2024, 23:16

      @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

      undefined 1 Reply Last reply 10 Jan 2024, 23:27 Reply Quote 0
      • undefined
        Honey_Badger357 @droftarts
        last edited by 10 Jan 2024, 23:27

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

        undefined 1 Reply Last reply 10 Jan 2024, 23:37 Reply Quote 0
        • undefined
          droftarts administrators @Honey_Badger357
          last edited by 10 Jan 2024, 23:37

          @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

          undefined 1 Reply Last reply 16 Jan 2024, 14:20 Reply Quote 0
          • undefined
            Honey_Badger357 @droftarts
            last edited by 16 Jan 2024, 14:20

            @droftarts! IMG_1093.jpeg

            undefined 1 Reply Last reply 16 Jan 2024, 14:44 Reply Quote 0
            • undefined
              droftarts administrators @Honey_Badger357
              last edited by 16 Jan 2024, 14:44

              @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

              undefined 1 Reply Last reply 16 Jan 2024, 16:27 Reply Quote 0
              • undefined
                Honey_Badger357 @droftarts
                last edited by 16 Jan 2024, 16:27

                @droftarts duet is set to 192.168.2.1
                Actual is still 0.0.0.0

                undefined 1 Reply Last reply 16 Jan 2024, 16:59 Reply Quote 0
                • undefined
                  droftarts administrators @Honey_Badger357
                  last edited by 16 Jan 2024, 16:59

                  @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

                  undefined 1 Reply Last reply 16 Jan 2024, 20:11 Reply Quote 0
                  • undefined
                    Honey_Badger357 @droftarts
                    last edited by 16 Jan 2024, 20:11

                    @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
                    • undefined
                      Phaedrux Moderator
                      last edited by 16 Jan 2024, 21:00

                      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

                      undefined 1 Reply Last reply 17 Jan 2024, 02:01 Reply Quote 0
                      • undefined
                        Honey_Badger357 @Phaedrux
                        last edited by 17 Jan 2024, 02:01

                        @Phaedrux unfortunately no

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Phaedrux Moderator
                          last edited by 18 Jan 2024, 20:56

                          What do you have in the WWW folder on your SD card?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          undefined 1 Reply Last reply 18 Jan 2024, 21:17 Reply Quote 0
                          • undefined
                            Honey_Badger357 @Phaedrux
                            last edited by 18 Jan 2024, 21:17

                            @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
                            • undefined
                              Phaedrux Moderator
                              last edited by 18 Jan 2024, 22:26

                              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

                              undefined 1 Reply Last reply 25 Jan 2024, 13:35 Reply Quote 0
                              • undefined
                                Honey_Badger357 @Phaedrux
                                last edited by 25 Jan 2024, 13:35

                                @Phaedrux IMG_1133.jpeg

                                undefined 1 Reply Last reply 25 Jan 2024, 14:09 Reply Quote 0
                                • undefined
                                  droftarts administrators @Honey_Badger357
                                  last edited by 25 Jan 2024, 14:09

                                  @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
                                  • undefined
                                    Honey_Badger357
                                    last edited by 25 Jan 2024, 19:33

                                    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

                                    undefined 1 Reply Last reply 25 Jan 2024, 20:06 Reply Quote 0
                                    • undefined
                                      droftarts administrators @Honey_Badger357
                                      last edited by 25 Jan 2024, 20:06

                                      @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

                                      undefined 1 Reply Last reply 26 Jan 2024, 19:16 Reply Quote 0
                                      • undefined
                                        Honey_Badger357 @droftarts
                                        last edited by 26 Jan 2024, 19:16

                                        @droftarts instructions are unclear which files are required to be downloaded and where they need to be located on the PC. Attached is a picture of the files the link brought me to down load but neither file started to download a driver. Also, in device manager no devices have a yellow triangle and the “generic USB” didn’t have a driver to download
                                        IMG_1166.jpeg

                                        undefined 1 Reply Last reply 27 Jan 2024, 00:48 Reply Quote 0
                                        • undefined
                                          droftarts administrators @Honey_Badger357
                                          last edited by 27 Jan 2024, 00:48

                                          @Honey_Badger357 What version of Windows are you using? What part of the instructions isn't working for you?

                                          • ... open Device Manager by pressing Windows Key + R and type devmgmt.msc, or launch from the Start menu by typing "Device Manager". On Windows 10, you can right-click on the Start icon and click on "Device Manager".
                                          • Look for ... any "Generic USB" devices, which would indicate that the Duet driver is not installed.
                                          • If a USB device does show ... as a Generic USB device, right click on the device. Click Install Driver and browse to the location of the driver that was downloaded at the beginning of this step. Continue setup by clicking "Next" until the device driver has been installed.

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