Trouble with direct Ethernet connection
-
Hello all.
I work with a fusion3 f410 3D printer with a Duet2 and am trying to get to DWC. I CANNOT have access to a router so I’m trying to set up direct wired connection from the duet to windows10 PC with wifi disabled to isolate IP.I’ve tried following the directions from about every post on this topic I can find and nothing is working.
I also tried set a static IP on pc
IP 192.168.1.2
Subnet 255.255.255.0
gateway 192.168.1.1And set on the duet
IP 192.168.2.3
Subnet 255.255.255.0 (as one other post said worked for them)
Gateway 192.168.1.1I first tried set a static IP on pc
IP 192.168.2.2
Subnet 255.255.0.0
gateway 192.168.2.1And set on the duet
IP 192.168.2.3
Subnet 255.255.0.0 (worked for someone else on a post when x.x.255.0 didn’t)
Gateway 192.168.2.1Web browser gives back “this site can’t be reached. Took too long to respond” any way I try.
Can’t ping the board through Command Prompt.
Any advice would be appreciated
Thank you for assistance in advance -
@Honey_Badger357 see https://docs.duet3d.com/en/User_manual/Machine_configuration/Networking#wired-direct-connection
Don’t set a gateway address, it’s not needed. The two machines, pc and duet, must be on the same subnet, ie if the mask is 255.255.255.0, the first three numbers must be the same, and the last different, ie 192.169.2.x where only x changes.
Ian
-
@droftarts Thank you for the response.
I followed the directions of that link.
Anything else I can try?
I feel like I’m just missing something I don’t know about. -
@Honey_Badger357 192.168.2.2 is the IP address of your Windows PC, not the Duet. Type 192.168.2.1 into the browser address bar.
Though the Duet is saying 'actual IP address 0.0.0.0'. I can't remember if this part matters. it may indicate something isn't quite right. Do you see any lights on the Ethernet port of the Duet?
Ian
-
@droftarts Respectfully, x.x.2.2 is the duet IP address in the instructions and diagram. I recommend a change to the instructions if that is incorrect.
Yes, the amber light is constantly on and the green light does not stay on or flicker.
-
@Honey_Badger357 Thanks for pointing this out, there was indeed an error in the instructions, which said to go to 192.168.2.2 (which is the address of the PC), and should be 192.168.2.1 (which is the address of the Duet). The image and the configuration were correct, just this one instruction was incorrect. I have also updated the configuration instructions to make it clearer which one gets set to which address.
If you are getting a light on the Ethernet port, the PC and Duet should be seeing one another; connecting to the correct address should show DWC. If you get any other error message, please post what it is.
Ian
-
-
-
@Honey_Badger357 I've just set up an Duet 3 6HC Ethernet with PanelDue, in direct connection with my PC, and managed to connect straight away. I have the following in the config.g on the SD card in the Duet:
M552 P192.168.2.1 S1 M553 P255.255.255.0
When the Duet starts up, I get a green light flashing with data transfer on my Ethernet port. I think the amber light just means it is running at 100mb/s. I don't think you have the green flashing light? Can you try another Ethernet cable?
I also don't get the 'actual IP address 0.0.0.0' message on the PanelDue, just that the IP address is set to 192.168.2.1. I do get it if I start the Duet up without the Ethernet cable connected, but on reconnecting the cable I get the message 'Ethernet running, IP address = 192.168.2.1', which makes me further suspicious of your Ethernet cable.
If that doesn't help, can you open a Command Prompt on your Windows PC, and send
netstat -a
, and copy the response into your reply.Ian
-
@droftarts I get a green flashing light when I first plug in the Ethernet cable but then it stops. I’ll try to swing by my shop tomorrow, otherwise it might be Tuesday next week before I get back to it. Thank you for the help.
The Ethernet cable came with the machine but I’ve also tried a cross over cable for every option in case that was part of the issue but I get the same results. I can try another cable in case that’s the issue. -
@Honey_Badger357 You should use a straight-through cable, I think, at least that's what I use. Though most Ethernet ports auto negotiate nowadays, so unless the PC is quite old, using a crossover cable shouldn't be the problem.
Ian
-
-
@Honey_Badger357 That looks like the output of
netstat -a
? It seems to be showing that your PC has it's IP address set to 192.168.2.2
What IP address is the Duet set to?Ian
-
@droftarts duet is set to 192.168.2.1
Actual is still 0.0.0.0 -
@Honey_Badger357 said in Trouble with direct Ethernet connection:
duet is set to 192.168.2.1
Actual is still 0.0.0.0Have you tried a different Ethernet cable? I think that means that it is not making a physical/electrical connection. Is the Ethernet port disabled on your PC? Check in the Device manager.
Ian
-
Ethernet hasn’t changed. When I search the IP on the web browser the green light on the duet port blinks but still says “took too long to respond”
This is with a new regular Ethernet cord.
-
Are you able to test the Duet and your PC using a wired network router rather than a direct connection?
-
@Phaedrux unfortunately no
-
What do you have in the WWW folder on your SD card?
-
@Phaedrux what is the recommended app for reading the card on a PC? I’ve seen not to use notes as it can corrupt the files.