I've been having this issue with my TP-Link TL-WR1043N/ND v2 running Gargoyle 1.12.0 where the DHCP service is enabled but doesn't distribute IP addresses after losing power. Whenever we have a power outage or if I turn off the router the DHCP service stops working but remains enabled in the settings, and I need to disable it and re-enable it to restore the DHCP service.
Due to this issue, I'm currently using the router as an access point instead of my main router.
DHCP enabled, but not working.
Moderator: Moderators
Re: DHCP enabled, but not working.
What do you mean it stops handing out addresses? How can you tell this is happening? Do you have connectivity issues or something else?
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: DHCP enabled, but not working.
The host computers and other devices don't get assigned an IP address, DNS, and default gateway, they are blank. I need to assign a static IP from the host machine just to connect to the router's network.
Re: DHCP enabled, but not working.
Alright.
Can you give an extract of your config files
cat /etc/config/network
cat /etc/config/dhcp
Also the output of
ls -al /etc/rc.d/
Looking to understand why it would not be starting automatically.
Can you give an extract of your config files
cat /etc/config/network
cat /etc/config/dhcp
Also the output of
ls -al /etc/rc.d/
Looking to understand why it would not be starting automatically.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: DHCP enabled, but not working.
Like I said, I've already reconfigured the router as an access point, but here are the current config files:
Network:
DHCP:
rc.d
Network:
Code: Select all
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fda5:8779:81ef::/48'
config interface 'lan'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ifname 'eth1.1 eth0.2'
option ipaddr '192.168.1.2'
option gateway '192.168.1.1'
option dns '192.168.1.1'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 0t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '5 6t'
Code: Select all
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'
list server '/.bit/178.32.31.41'
list server '/.bit/106.187.47.17'
list server '/.bit/176.58.118.172'
list server '/.glue/66.244.95.20'
list server '/.glue/95.211.32.162'
list server '/.glue/95.142.171.235'
list server '/.parody/66.244.95.20'
list server '/.parody/95.211.32.162'
list server '/.parody/95.142.171.235'
list server '/.dyn/66.244.95.20'
list server '/.dyn/95.211.32.162'
list server '/.dyn/95.142.171.235'
list server '/.bbs/66.244.95.20'
list server '/.bbs/95.211.32.162'
list server '/.bbs/95.142.171.235'
list server '/.free/66.244.95.20'
list server '/.free/95.211.32.162'
list server '/.free/95.142.171.235'
list server '/.fur/66.244.95.20'
list server '/.fur/95.211.32.162'
list server '/.fur/95.142.171.235'
list server '/.geek/66.244.95.20'
list server '/.geek/95.211.32.162'
list server '/.geek/95.142.171.235'
list server '/.gopher/66.244.95.20'
list server '/.gopher/95.211.32.162'
list server '/.gopher/95.142.171.235'
list server '/.indy/66.244.95.20'
list server '/.indy/95.211.32.162'
list server '/.indy/95.142.171.235'
list server '/.ing/66.244.95.20'
list server '/.ing/95.211.32.162'
list server '/.ing/95.142.171.235'
list server '/.null/66.244.95.20'
list server '/.null/95.211.32.162'
list server '/.null/95.142.171.235'
list server '/.oss/66.244.95.20'
list server '/.oss/95.211.32.162'
list server '/.oss/95.142.171.235'
list server '/.micro/66.244.95.20'
list server '/.micro/95.211.32.162'
list server '/.micro/95.142.171.235'
list rebind_domain '.bit'
list rebind_domain '.glue'
list rebind_domain '.parody'
list rebind_domain '.dyn'
list rebind_domain '.bbs'
list rebind_domain '.free'
list rebind_domain '.fur'
list rebind_domain '.geek'
list rebind_domain '.gopher'
list rebind_domain '.indy'
list rebind_domain '.ing'
list rebind_domain '.null'
list rebind_domain '.oss'
list rebind_domain '.micro'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option ignore '0'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
Code: Select all
drwxr-xr-x 1 root root 0 Jul 2 16:16 .
drwxr-xr-x 1 root root 0 Nov 5 2019 ..
lrwxrwxrwx 1 root root 17 Nov 5 2019 K10openvpn -> ../init.d/openvpn
lrwxrwxrwx 1 root root 17 Nov 5 2019 K19portmap -> ../init.d/portmap
lrwxrwxrwx 1 root root 18 Nov 5 2019 K50dropbear -> ../init.d/dropbear
lrwxrwxrwx 1 root root 14 Nov 5 2019 K60nfsd -> ../init.d/nfsd
lrwxrwxrwx 1 root root 13 Nov 5 2019 K89log -> ../init.d/log
lrwxrwxrwx 1 root root 17 Nov 5 2019 K90network -> ../init.d/network
lrwxrwxrwx 1 root root 14 Nov 5 2019 K98boot -> ../init.d/boot
lrwxrwxrwx 1 root root 16 Nov 5 2019 K99umount -> ../init.d/umount
lrwxrwxrwx 1 root root 20 Nov 5 2019 S00sysfixtime -> ../init.d/sysfixtime
lrwxrwxrwx 1 root root 14 Nov 5 2019 S10boot -> ../init.d/boot
lrwxrwxrwx 1 root root 16 Nov 5 2019 S10system -> ../init.d/system
lrwxrwxrwx 1 root root 16 Nov 5 2019 S11sysctl -> ../init.d/sysctl
lrwxrwxrwx 1 root root 13 Nov 5 2019 S12log -> ../init.d/log
lrwxrwxrwx 1 root root 17 Jul 2 16:16 S19dnsmasq -> ../init.d/dnsmasq
lrwxrwxrwx 1 root root 18 Nov 5 2019 S19firewall -> ../init.d/firewall
lrwxrwxrwx 1 root root 17 Nov 5 2019 S19portmap -> ../init.d/portmap
lrwxrwxrwx 1 root root 17 Nov 5 2019 S20network -> ../init.d/network
lrwxrwxrwx 1 root root 17 Nov 5 2019 S20usbmode -> ../init.d/usbmode
lrwxrwxrwx 1 root root 21 Nov 5 2019 S25share_users -> ../init.d/share_users
lrwxrwxrwx 1 root root 29 Nov 5 2019 S30set_kernel_timezone -> ../init.d/set_kernel_timezone
lrwxrwxrwx 1 root root 15 Nov 5 2019 S40fstab -> ../init.d/fstab
lrwxrwxrwx 1 root root 17 Nov 5 2019 S41sysntpd -> ../init.d/sysntpd
lrwxrwxrwx 1 root root 14 Nov 5 2019 S50cron -> ../init.d/cron
lrwxrwxrwx 1 root root 18 Nov 5 2019 S50dropbear -> ../init.d/dropbear
lrwxrwxrwx 1 root root 16 Nov 5 2019 S50p910nd -> ../init.d/p910nd
lrwxrwxrwx 1 root root 16 Nov 5 2019 S50telnet -> ../init.d/telnet
lrwxrwxrwx 1 root root 16 Nov 5 2019 S50uhttpd -> ../init.d/uhttpd
lrwxrwxrwx 1 root root 24 Nov 5 2019 S55bwmon_gargoyle -> ../init.d/bwmon_gargoyle
lrwxrwxrwx 1 root root 21 Nov 5 2019 S56usb_storage -> ../init.d/usb_storage
lrwxrwxrwx 1 root root 17 Nov 5 2019 S60dnsmasq -> ../init.d/dnsmasq
lrwxrwxrwx 1 root root 14 Nov 5 2019 S60nfsd -> ../init.d/nfsd
lrwxrwxrwx 1 root root 15 Nov 5 2019 S60samba -> ../init.d/samba
lrwxrwxrwx 1 root root 13 Nov 5 2019 S60wol -> ../init.d/wol
lrwxrwxrwx 1 root root 23 Nov 5 2019 S90ddns_gargoyle -> ../init.d/ddns_gargoyle
lrwxrwxrwx 1 root root 17 Nov 5 2019 S90openvpn -> ../init.d/openvpn
lrwxrwxrwx 1 root root 16 Nov 5 2019 S90vsftpd -> ../init.d/vsftpd
lrwxrwxrwx 1 root root 14 Nov 5 2019 S95done -> ../init.d/done
lrwxrwxrwx 1 root root 13 Nov 5 2019 S96led -> ../init.d/led
lrwxrwxrwx 1 root root 25 Nov 5 2019 S99gargoyle_themes -> ../init.d/gargoyle_themes
Re: DHCP enabled, but not working.
Thanks. Not much i can do without seeing the actual data while the issue is occurring sorry.
If you ever go back to that configuration and see the issue again, please capture the same info and let me know.
Just as a note, you have your current configuration as an access point, but DHCP is still enabled. Doesn't seem right to me.
Early versions of 1.12.x had a bug which automatically re-enabled DHCP every time you saved settings on the Connection->Basic page.
If you ever go back to that configuration and see the issue again, please capture the same info and let me know.
Just as a note, you have your current configuration as an access point, but DHCP is still enabled. Doesn't seem right to me.
Early versions of 1.12.x had a bug which automatically re-enabled DHCP every time you saved settings on the Connection->Basic page.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: DHCP enabled, but not working.
I thought I turned it off, it must have turned back on because of the bug you mentioned, because I usually set the range from 10 to 200 and it was set from 100 to 150. This might prove the bug I was reporting though, DHCP was turned on, but it didn't seem to conflict with my main router, therefore it might not have been working.