Connecting to Web Control using YAT
-
When I type in M552 S1 P192.168.2.2 and then M552 afterwards, it reports "Ethernet is enabled, configured IP address: 192.168.2.2, actual IP address: 0.0.0.0 <LF>ok<LF>". I set my computer IP address to 192.168.2.1. Also when I type in M552 S0 and then M552 S1 P192.168.2.2 (to set the IP address), I only get ok <LF> as a response. Not sure if this is normal.
DHCP: Most home routers are setup to assign IP addresses by DHCP. Send M552 S0 to disable networking, then M552 S1 P0.0.0.0 to enable networking and have your router assign an IP address.
When I type in M552 S1 P0.0.0.0, I simply get ok<LF> as a response. It doesn't reply with Network running and the IP address the duet is using. Typing in M552 after to check, it just says "Ethernet is enabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0 <LF>ok<LF>".
Fixed Address: You can set the Duet to use a fixed IP address. Note that if you use a fixed address, care should be taken that it does not conflict with other devices on the network. Send M552 S0 to disable networking, then M552 S1 Px.x.x.x to enable networking, where "x.x.x.x" is the IP address you want to use, eg 192.168.1.15.
When I type M552 S1 P192.168.2.2, I get the same response of ok<LF>. Then when I type M552, I get "Ethernet is enabled, configured IP address: 192.168.2.2, actual IP address: 0.0.0.0 <LF>ok<LF>".
In both cases, after 10-30 seconds the board should reply with Network running and the IP address the Duet is using. Send M552 to check the settings.
-This does not happen for me. I never get the network running response.
Bolded portions are from : https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7
-
Hi,
What board are you using?
If you are trying to use Ethernet did you verify that the cable you are using is connected to your network?
Frederick
-
@fcwilt I am using the Duet 3 6HC Mainboard. My ethernet cable was plugged in to the Duet Board and directly into my computer for when I was using the fixed address method. For the DHCP method, the cable was running from the duet board to the router/network.
-
@frank-0 said in Connecting to Web Control using YAT:
My ethernet cable was plugged in to the Duet Board and directly into my computer
Unless you're using a crossover cable this wont work. Unless they started putting auto uplink ports in computers the past few years... I admit it been a while since I bought a laptop with wires.
-
@nurgelrot I just plugged it into the board and the ethernet port on my desktop. I believe I got this to work once, but now it is no longer working.
-
@frank-0 If you have a direct ethernet connection between the Duet and your PC, you need to configure your PC as well. See https://duet3d.dozuki.com/Wiki/Setting_up_networking_on_Duet#Section_Wired_direct_connection
Ian
-
@nurgelrot said in Connecting to Web Control using YAT:
@frank-0 said in Connecting to Web Control using YAT:
My ethernet cable was plugged in to the Duet Board and directly into my computer
Unless you're using a crossover cable this wont work. Unless they started putting auto uplink ports in computers the past few years... I admit it been a while since I bought a laptop with wires.
I'd say this hasn't been a problem for many years now. cross over cables are hard to find.
-
@phaedrux good to know. I mostly work on older large UNIX systems so... Got to keep up with the times I guess. Thanks for making me feel old(er)
-
@droftarts I tried this but it still did not work. Maybe I am doing something wrong? Could you give me a process with YAT and the config.g file, etc. I want to use 192.168.2.1 as the address I visit in the browser. I can configure my computer to 192.168.2.2?