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.
    • CGraemeundefined
      CGraeme
      last edited by

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

        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

        CGraemeundefined 1 Reply Last reply Reply Quote 0
        • CGraemeundefined
          CGraeme @Phaedrux
          last edited by CGraeme

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

            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

            CGraemeundefined 1 Reply Last reply Reply Quote 0
            • CGraemeundefined
              CGraeme @Phaedrux
              last edited by

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