No response from YAT after sending command
-
@kayjay said in No response from YAT after sending command:
sn't DHCP supposed to do all that and make it invisible to me?
Only if you're using a mDNS name to access the IP, like http://duet.local which I don't think works with the Duet Ethernet
-
@phaedrux OK, I think you're right there.
So, let me see if I have this right. I enable DHCP in config.g by creating a line that says
M552 P0.0.0.0
then I discover the IP either through my router or YAT, I the enter that IP into the browser address bar and it should stay the same all the time. Is that how DHCP works when done properly?
Keith
-
@kayjay said in No response from YAT after sending command:
Is that how DHCP works when done properly?
Yes, provided there is a DHCP reservation in the router for that IP, it should stay the same.
-
@phaedrux OK, thanks ...... phew I got there at last I'll play about with it now and if I still can't achieve connection I'll set it up the way you suggested earlier.
Thanks pal ! you're a star .... and you too David !
-
@phaedrux Should the Gateway be set to 0 with M554 P0.0.0.0 as well ?
-
I think the gateway would still be your router IP
-
If you are using DHCP to get the IP address then it will automatically get the gateway address that way too.
-
@dc42 ok now I am puzzled. The config.g commenting says make the next two lines 0 for DHCP, which is the IP M552 and Gateway M554, so which is right. What should I enter in Gateway? I currently have 0.0.0.0 and it's connecting.
-
My response was just based on the notes from the gcode wiki for setting the gateway. Go with DC42s response. which I think means that regardless of what you specify for the gateway in config.g if your IP address is set to 0.0.0.0 to get a DHCP address, the gateway will also be set via DHCP, so you don't have to worry bout it.
-
Yep, se what you mean. OK, as I have it at 0 now I'll leave that and let the DHCP sort it out.