duet 2 ethernet connection not available
-
m552 s1 p192.168.1.34
ok
Network running, IP address = 192.168.1.34
m552
Network is enabled, configured IP address: 192.168.1.34, actual IP address: 192.168.1.34
ok
m553
Net mask: 255.255.255.0
ok
m554
Gateway: 192.168.1.255
okbut...Cannot connect to 192.168.1.34
in tcp/ipv4 setting
I matched the subnet mask and gateway, but I can't connect to dwc..what's wrong..?
-
Are you using YAT?
Try stopping the ethernet with:
M552 S0 Stops Ethernet
then
M552 S1 Starts Ethernet (displays current IP address)
M552 S1 P0.0.0.0 Sets Dynamic IP (P=desired ip address)
M552 S1 Pxxxxxx Sets Static IPalso make sure you're using 2.4Ghz but that might not matter if ethernet
-
m552 s0
Network stopped
ok
m552 s1
ok
Network running, IP address = 192.168.1.34
m552 s1 p0.0.0.0
ok
m552 s1 p192.168.1.34
okbut... I can't connect DWC...
-
@MRJEON said in duet 2 ethernet connection not available:
Gateway: 192.168.1.255
Is that really your gateway?
Typically the gateway would be 192.168.1.1
The .255 address would be the broadcast address.Two addresses that can't be used in your example are 192.168.123.0 and 192.168.123.255 because binary addresses with a host portion of all ones and all zeros are invalid. The zero address is invalid because it's used to specify a network without specifying a host. The 255 address (in binary notation, a host address of all ones) is used to broadcast a message to every host on a network. Just remember that the first and last address in any network or subnet can't be assigned to any individual host.
Ideally you should set the Duet to use DHCP to obtain an address from your router. Then set the router to reserve that address for the Duet to keep it static.