Duet 2 Ethernet not connecting
-
@Muhammed best to share your config.g
-
-
@oliof @droftarts Hello
Here are the contents of my config.g files; Default config.g template for Duet 2 tested with RRF3.4.5 stable 2022-11-30 ; Replace this with a proper configuration file (e.g from https://configtool.reprapfirmware.org) ;enable UART for testing M575 P1 B57600 S1 ; test network enable M552 P192.168.1.14 M552 S1 ; Display initial welcome message M291 P"Please go to <a href=""https://www.duet3d.com/StartHere"" target=""_blank"">this</a> page for further instructions on how to set it up." R"Welcome to your new Duet 2!" S1 T0
-
@Muhammed Actually, HTTP should be enabled by default, so ping should work. Send
M586
from YAT to check what services are running.Check the IP address you are giving the Duet is within the IP range of the network, or use
M552 P0.0.0.0
to use DHCP to set one.Ian
-
@droftarts Hi, We have the service running but ping is still not working
M586 CORS enabled for site '*' HTTP is enabled on port 80 FTP is disabled TELNET is disabled ok
-
@Muhammed I would tend to think, if you're seeing the Duet in the router, that the IP address is out of range, or shared with another device. Can you not set an IP address with DHCP?
It's also possible that you router doesn't allow new device connections without adding devices to a 'safe' list.
Ian
-
@droftarts We enabled HTTP and CORS then we let DHCP assign the IP and now its working fine!.
Thank you everyone.
-
@Muhammed What IP address did it assign? Having Cross-Origin Resource Sharing (CORS) enabled or disabled shouldn't make any difference.
Ian
-
@droftarts The IP address was assigned by DHCP
-
@Muhammed said in Duet 2 Ethernet not connecting:
@droftarts The IP address was assigned by DHCP
Yes, but what IP address was assigned? I'm interested if it was in the same domain range, ie 192.168.1.xx, or something else. Send
M552
to report the IP address. It's also possible the netmask is different from the default of 255.255.255.0. SendM553
to report the current netmask in use.Ian
-
@droftarts Yes, it was the same. 192.168.1.120
-
@droftarts Can I ask if there is a way to connect the Duet Ethernet card directly to my PC and use the web interface? Thanks again.
-
-
@droftarts Thanks alot. This was really helpful.