Cannot connect to Duet
-
@MrWhippy said in Cannot connect to Duet:
Duet 2 Ethernet v1.04
you are going through the wifi setup. normally with the ethernet it should get the ip via dhcp.
what is the ip you assigned and what is the ip of your computer?
-
I am 100% only carrying out the steps labelled "Ethernet only"
I have assigned various IP addresses (192.168.1.14 - 192.168.2.96 - 0.0.0.0) and then changed the port settings on my PC to fixed IP address which matches the IP address fed back to me by the m552 command.
When I enable and disable the network connection via YAT, it enables and disables the port on my PC, so things seem to be talking through both the USB and the Ethernet cable, but again no browser connection.
-
Although with that said, if there is an easier way to connect then please feel free to share!
-
By the sound of it you are using a direct ethernet connection between your Duet and computer. (No switch, no router, just cable?)
You need to set a IP address on your computer as well, and one that is in the same subnet on your duet. f.ex.
192.168.1.14 for the Duet and 192.168.1.15 for the computer (provided your computer is not connected to any other networks which use the 192.168.1.0/24 address range.If that still does not work please run
route print
in the command line on your computer and post results here. -
@MrWhippy said in Cannot connect to Duet:
if there is an easier way to connect then please feel free to share!
Easier is to have a router or other device run a DHCP server to hand out IP addresses to both the computer and the Duet.
-
Excellent, thanks for the feedback.
You are correct that it's just a pc, cable and duet, as the hardware is all in my workshop and I don't need an internet connection out there.
However, I think I have an old router somewhere so if I can't get it to work directly, then I'll try using that. If I use a router, what should I set as an IP address for the duet (if anything)?
Thanks again for the help, this is somewhat outside my comfort zone.
-
@MrWhippy said in Cannot connect to Duet:
You are correct that it's just a pc, cable and duet, as the hardware is all in my workshop and I don't need an internet connection out there.
your ethernet card will need to support Auto MDI-X. and sometimes that does not work correctly.
-
It should work just fine if you set up both the PC and the Duet to be on the same network. If you have to resort to adding a router
M552 S1 P0.0.0.0
should get the Duet to ask the router for an IP address, you'll have to enable DHCP for the computer as well if this was set up for a static IP. The command above should give us the information we need to further assist. -
@Veti said in Cannot connect to Duet:
@MrWhippy said in Cannot connect to Duet:
You are correct that it's just a pc, cable and duet, as the hardware is all in my workshop and I don't need an internet connection out there.
your ethernet card will need to support Auto MDI-X. and sometimes that does not work correctly.
He does say the M552 does affect the link status, so unless he failed to observe that it is only enabled for a brief moment then that should be okay.
route print
will alsoshow usreveal the link state so waiting for that. -
Sorry for the tardy reply, I work away during the week so am only able to gain access to the workshop at weekends.
Thanks for all the help and suggestions, simply connecting both the pc and duet cards to the network has solved the problem and everything is running smoothly.
Cheers!