Duet 2 Ethernet can't get Duet Web Control
-
@handymanpa54 In the information you posted at first, it looks like the Duet's IP address is 192.168.1.14
code_text Network is enabled, configured IP address: 192.168.1.14, actual IP address: 192.168.1.14 ok Network running, IP address = 192.168.1.14
-
@alankilian I typed that into the browser and it times out. I changed the address to 192.168.0.20 and tried it with same results.
-
Do the lights on the ethernet port on the Duet light up?
Do you have a router or switch you can test with?
-
@phaedrux The light on the right of the Ethernet port is lit steady and the other flashes green ocasionally.
The router is a wifi router situated upstairs. I could plug into that and try it. -
@phaedrux I tried pinging again with a small change in address and got this.
code_text Pinging 192.168.0.20 with 32 bytes of data: Reply from 192.168.0.15: Destination host unreachable. Reply from 192.168.0.15: Destination host unreachable. Reply from 192.168.0.15: Destination host unreachable. Reply from 192.168.0.15: Destination host unreachable. Ping statistics for 192.168.0.20: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
-
It's also possible that your computer hardware doesn't handle auto negotiation and would need a crossover ethernet cable (or switch) between them to be able to communicate.
First please try connecting the Duet to a router port and configure it to get a DHCP IP address rather than setting a static IP. Use the USB terminal to find out what IP address it has by sending M552 by itself and then try pinging that IP address from a device also connected to that router. If that works then try connecting to that IP address in a browser to get to the web control.
If that all works than at least we've verified that the duet is working correctly and you can go back to trying to get a direct connection going.
Here's the instructions for that incase you missed the last link.
https://duet3d.dozuki.com/Wiki/Setting_up_networking_on_Duet#Section_Wired_direct_connection
-
@Phaedrux
Hello Phaedrux,
I hoked up Yat terminal on my upstairs computer and set M552 S1 P0.0.0.0
and got 192.168.0.14
I tried that in my browser and I get duet web control.
Now I just need to get the same hooked up direct to the basement computer and hook the Duet to the CNC machine.
I'll try that link you sent and see how far I get.
Why do people need a ethernet switch?? Maybe I should also try a ethernet bridge and a switch??Mark
-
@phaedrux
Ok, I tried it on the other computer but can't even get a connect through YAT terminal.
I hooked again to my computer upstairs and have YAT terminal. I found that only 192.168.0.14 works as a way to get duet web control. If I try 192.168.0.20 0r 192.168.0.12 the connection times out. I checked what it was setup as with M552 and it was set correctly.
There must be something I'm not yet understanding.code_text M122 === Diagnostics === RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet Ethernet 1.02 or later Board ID: 0JD0M-9P6B2-NJ4S4-6JTD2-3S46K-KU0LM Used output buffers: 1 of 24 (10 max) === RTOS === Static ram: 27980 Dynamic ram: 92084 of which 20 recycled Exception stack ram used: 256 Never used ram: 10732 Tasks: NETWORK(ready,524) HEAT(blocked,1456) MAIN(running,1936) IDLE(ready,80) Owned mutexes: === Platform === Last reset 00:57:47 ago, cause: power up Last software reset details not available Error status: 0 MCU temperature: min 31.5, current 33.0, max 33.4 Supply voltage: min 1.6, current 1.7, max 1.8, under voltage events: 0, over voltage events: 0, power good: no Driver 0: ok, SG min/max not available Driver 1: ok, SG min/max not available Driver 2: ok, SG min/max not available Driver 3: ok, SG min/max not available Driver 4: ok, SG min/max not available Date/time: 2021-07-27 12:45:53 Cache data hit count 4294967295 Slowest loop: 55.67ms; fastest: 0.08ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Storage === Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest read time 3.9ms, write time 0.0ms, max retries 0 === Move === Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms Bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1 === AuxDDARing === Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1 === Heat === Bed heaters = -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1 === GCodes === Segments left: 0 Movement lock held by null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is idle in state(s) 0 USB is ready with "M122" in state(s) 0 Aux is idle in state(s) 0 Trigger is idle in state(s) 0 Queue is idle in state(s) 0 Daemon is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty. === Network === Slowest loop: 5.91ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions HTTP sessions: 1 of 8 Interface state active, link 100Mbps full duplex ok
This is at the computer upstairs where I can get duet web control on 192.168.0.14
Is there anything I can look for settings? Anything you want me to copy and send to you so that you can see??
Mark
-
@handymanpa54 said in Duet 2 Ethernet can't get Duet Web Control:
@Phaedrux
Hello Phaedrux,
I hoked up Yat terminal on my upstairs computer and set M552 S1 P0.0.0.0
and got 192.168.0.14
I tried that in my browser and I get duet web control.
Now I just need to get the same hooked up direct to the basement computer and hook the Duet to the CNC machine.
I'll try that link you sent and see how far I get.
Why do people need a ethernet switch?? Maybe I should also try a ethernet bridge and a switch??Mark
At least we know the Duet is working.
Perhaps the computer you're trying to use doesn't handle device to device network connections very well. Using a crossover ethernet cable or a crossover adapter may help.
Something like this: https://www.amazon.ca/StarTech-com-Gigabit-Crossover-Ethernet-C6CROSSOVER/dp/B001FE2N8M/ -
@phaedrux hELLO Phaedrux,
I got DWC by running a cable from primary router to a secondary router and now DWC is working.
Now I trying to calibrate movement. I also have a problem with X-axis not responding to x-axis limit SW. I see the light toggle on the board but the motor doesn't stop. Maybe M574 cmd? Maybe you can steer me in the right direction for what to fix first and some pointers about how?Mark
-
@handymanpa54 said in Duet 2 Ethernet can't get Duet Web Control:
Now I trying to calibrate movement. I also have a problem with X-axis not responding to x-axis limit SW. I see the light toggle on the board but the motor doesn't stop. Maybe M574 cmd? Maybe you can steer me in the right direction for what to fix first and some pointers about how?
Perhaps best to start a new topic. Include your config.g and homing files.