Login  Register

Re: Fw_upgrade version 8.3 release

Posted by Roadrunnere42 on Jun 03, 2016; 10:33am
URL: https://itus.accessinnov.com/Fw-upgrade-version-8-3-release-tp896p1016.html

breda

I only get this error when i'm in bridge mode

Thu Jun  2 13:04:23 2016 daemon.crit dnsmasq[4861]: illegal repeated keyword at line 13 of /var/etc/dnsmasq.conf

 On investigating this I tracked it do to the file /etc/config/dhcp

The line that’s causing the problem is option leasefile '/tmp/dhcp.leases'  this line just creates a tmp file  that holds a temporary  list of ip address that the dnsmasq service can use if it's restarted, all i did to correct this error is comment out the line and type an exact  new  copy of the line, not copy and paste and now i don't get this error.

I could not see anything wrong with the line but that's the world of computers.

My file /etc/config/dhcp  looks like this in bridge mode

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 leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.auto'
        option localservice '1'
        option logqueries '1'

config dhcp 'lan'
        option interface 'lan'
        option ignore '1'

config dhcp 'wan'option leasefile '/tmp/dhcp.leases'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'


roadrunnere42