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

duet 2 ethernet via wired direct connection cannot access DWC

Scheduled Pinned Locked Moved
Duet Web Control
2
5
216
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
    CGraeme
    last edited by 12 Sept 2022, 16:57

    Hi guys, I have tried connecting my laptop to my duet ethernet board via wired direct connection as that is the only method allowed by the university I am at. I set my laptops ethernet port IP adress to be static, example:

    172.20.10.8
    Subnet: 255.255.0.0

    And my duet board I set the ip address to be 172.20.10.9 using the following command on YAT

    M55.. S1 P172.20.10.9
    I assumed the Subnet would be auto generated via this method?

    I then connected the ethernet cable between my laptop and the duet 2 and typed into my browser 172.20.10.8 which resulted in no connection.

    I have managed to access DWC by connecting my laptop to my mobile data, bridging the ethernet and wifi connection and typing in the autogenerated ip address from M55...

    I need to be able to connect via direct connection however as this is not sustainable.

    Note: I have tried both the static ip address of the board and the laptops ethernet port in order to connect to DWC & I cant remeber if the code is M553 or M552 but when I was connecting earlier today I had it right and was able to check the ip address of the board multiple times and it was the static ip I had set.

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 12 Sept 2022, 17:29

      Have you seen this?

      https://docs.duet3d.com/User_manual/Machine_configuration/Networking#wired-direct-connection

      Please share the actual commands in your config.g that you're trying to use.

      For the subnet, use 255.255.255.0 instead and set it on the duet as well.

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 12 Sept 2022, 17:39 Reply Quote 0
      • undefined
        CGraeme @Phaedrux
        last edited by CGraeme 9 Dec 2022, 17:39 12 Sept 2022, 17:39

        @phaedrux yes that was the information I used to connect, the board seems to be able to connect fine as long as its not through the method of setting two static ip addresses and connecting through direct connection. I have tried with 255.255.255.0 before but that does not connect either, the only thing I can think is the subnet is different on the board and I need to specify that I want it to be the same as the one on the laptop but I cant seem to find the command to change or check the subnet.

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 12 Sept 2022, 17:40

          See the commands here: https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m553-set-netmask

          I believe 255.255.255.0 should be the default though.

          Are you able to ping the Duet from your laptop when connected?

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 1 Reply Last reply 12 Sept 2022, 17:50 Reply Quote 0
          • undefined
            CGraeme @Phaedrux
            last edited by 12 Sept 2022, 17:50

            @phaedrux I am able to ping the board and send commands using the micro USB and I have managed to get the full system working by bridging my wifi and ethernet together and using the autogenerated ip from that. When I go back in tomorrow I will try setting the subnet manually and see if that works

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