#22504: dnsmasq not started arter new static lease by luci ----------------------+------------------------ Reporter: gator@… | Owner: developers Type: defect | Status: new Priority: normal | Milestone: Component: packages | Version: Trunk Keywords: | ----------------------+------------------------ sorry, too mach tickets with too much keys I must check before post, but my english is poor to find all of them.
TP-Link TL-WDR4300 v1 OpenWrt Barrier Breaker 14.07 / LuCI Trunk (0.12+svn-r10530) after adding new static lease by luci, looks like ok, but next day - users reports me - DHCP is dead, reboot is not resolve problems... try to remember what changes I made? Nothing, exclude that new lease(-s, some another cases). what's wrong? Luci jammes/corrupts /etc/config/dhcp file format? parameters rows formats? too long names? strange symbols at eof? (not in names, etc, I swear)) That case is not first for me, prev versions also happens the same incidents, not clear documented, but now it is so clear - 1 new lease, not else more changes I made. config host option name 'ndev-prnsrv-te100p1p' option mac '00:14:d1:70:49:af' option ip '10.1.3.205' clearly find that last block is problem - open file by winscp, comment that block by # /etc/init.d/dnsmasq restart = ok un-comment = fail removed by winscp, create again by luci, with shorter name ndev-te100p1p, restart = ok inserted as is by copy-paste, if wrong symbols etc can't be the same... {{{ config dnsmasq option domainneeded '1' option boguspriv '1' option localise_queries '1' option rebind_protection '1' option rebind_localhost '1' option local '/lan/' option domain 'lan' option expandhosts '1' option authoritative '1' option readethers '1' option leasefile '/tmp/dhcp.leases' option resolvfile '/tmp/resolv.conf.auto' list server 'xxxx' list server 'yyyy' list server 'zzzz' config dhcp 'lan' option interface 'lan' option start '100' option limit '150' option leasetime '12h' option force '1' list dhcp_option '150,10.1.3.167' list dhcp_option '6,10.1.3.254,10.1.2.110' config dhcp 'wan' option interface 'wan' option ignore '1' config odhcpd 'odhcpd' option maindhcp '0' option leasefile '/tmp/hosts/odhcpd' option leasetrigger '/usr/sbin/odhcpd-update' config host option name 'spa922-1' option mac '00:0e:08:d7:af:e5' option ip '10.1.3.246' ##bla-bla > 10 hosts, ok ## config host option name 'wph-lm' option mac 'ec:59:e7:72:e5:9c' option ip '10.1.3.130' config domain option name 'dd.local' option ip '10.1.2.110' config domain option name 'dd' option ip '10.1.2.110' config host option name 'ndev-prnsrv-te100p1p' option mac '00:14:d1:70:49:af' option ip '10.1.3.205' }}} -- Ticket URL: <https://dev.openwrt.org/ticket/22504> OpenWrt <http://openwrt.org> Opensource Wireless Router Technology _______________________________________________ openwrt-tickets mailing list openwrt-tickets@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets