Duet 2 Ethernet not connecting
-
Hi
I have a Duet 2 board with Ethernet connection and I'm following the "Getting Connected" documentation here, and making sure that everything is set up as documented [here].I am using YAT and able to configure an IP address, getting the message that says the network is enabled and the configured IP address is ..... However, I am not able to connect to the Duet on the HOST interface neither seeing any devices connected to network when I check my router. Its weird that I am not seeing the Duet in the connected devices in my Router network settings. I tried another cable and network too, but no matter what I do, I just cant see the card on the network. Any recommendations or suggestions will be highly appreciated.
Also, wanted to ask if there is a way to find the MAC address of the Duet card by contacting support? How I can reach them?
Thanks!
-
@Muhammed if you connect via YAT, the MAC address will be in the report generated by the M122 command.
-
@oliof Thank you.
I used M540 command and found the MAC address, I have assigned the IP address as well.
I can see the device on the network with the assigned IP, but when I try to ping it, all the packets get lost. When I try to connect to it through the local server GUI provided by Duet using the web sockets, its not getting connected as well.
Are there any other commands needed to start the network communication?
-
@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.