Page 1 of 1

DHCP server not working

Posted: Fri Dec 13, 2019 6:55 am
by Grumpy_feet
My router is Mynet N600 version 1.11, looking at the the DCHP IP rang, start: 192.168.1.100 end: 192.168.1.NaN, devices don't get IP addresses when connected via ethernet. Wifi is working fine.

Re: DHCP server not working

Posted: Fri Dec 13, 2019 7:32 am
by Lantis
Factory reset and set it up again

Re: DHCP server not working

Posted: Sat Dec 14, 2019 4:50 am
by Grumpy_feet
Is setting up separate DNS for specific IPs may have caused this?

Re: DHCP server not working

Posted: Sat Dec 14, 2019 6:12 am
by Lantis
Potentially. If you can show me what configuration you made, i can advise.

Re: DHCP server not working

Posted: Sat Dec 14, 2019 3:52 pm
by ispyisail
I always advise "gargoyle default reset" then turn things on until the problem comes back.

Re: DHCP server not working

Posted: Mon Dec 16, 2019 1:13 am
by Grumpy_feet
I edited my dhcp config file similar to this:

config tag 'kids'
list dhcp_option '6,208.67.222.222,208.67.220.220'
config host
option name 'pluto'
option mac 'YOUR DEVICE MAC ADDRESS'
option ip 'YOUR DEVICE ADDRESS ON THE INTERNAL NETWORK'
option tag 'kids'

Re: DHCP server not working

Posted: Tue Dec 17, 2019 7:22 am
by Lantis
I had a look at this, and that didn't affect my GUI.
I could make it show "NaN" in the spot you saw by removing the "option limit" from the "config dhcp 'lan'" section.

Have you modified any other parts of the file?

Re: DHCP server not working

Posted: Wed Dec 18, 2019 11:34 pm
by Grumpy_feet
That's the only entries I've added to the file. When going to the GUI, changing the NaN to a number doesn't stick even after saving changing. I edited the file in /etc/config/dhcp to show limits but doesn't show up in the GUI.

Re: DHCP server not working

Posted: Wed Dec 18, 2019 11:55 pm
by Lantis
Can you provide your entire dhcp config file? And also check the browser developer console for any errors?

Can you also provide your /etc/config/network? Check that one doesn't have any passwords in it first.

Re: DHCP server not working

Posted: Thu Dec 19, 2019 12:20 am
by Grumpy_feet
Couldn't get it to work so I updated to version 1.12 which resets all the settings and re wrote the entries in /config/dhcp.

All working now.

Thank you.