Désactiver DHCP

This commit is contained in:
Tobias Bora 2014-11-13 16:47:41 +01:00
parent 0045274e08
commit e194aa7750
2 changed files with 37 additions and 1 deletions

1
.gitignore vendored
View file

@ -12,7 +12,6 @@
/logs /logs
/feeds /feeds
/feeds.conf /feeds.conf
/files
/package/feeds /package/feeds
/package/openwrt-packages /package/openwrt-packages
*.orig *.orig

37
files/etc/config/dhcp Normal file
View file

@ -0,0 +1,37 @@
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'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv6 'server'
option ra 'server'
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'
# Crans modification pour désactiver le DHCP
config dhcp 'vlan3'
option interface vlan3
option ignore 1