duet 2 ethernet via wired direct connection cannot access DWC
-
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.0And 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.
-
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.
-
@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.
-
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?
-
@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