Merge branch 'Crans' into 'Crans'

Crans

Désactiver le DHCP
This commit is contained in:
Gabriel Detraz 2014-11-13 16:50:05 +01:00
commit 4d4feffd87
2 changed files with 37 additions and 1 deletions

1
.gitignore vendored
View file

@ -12,7 +12,6 @@
/logs
/feeds
/feeds.conf
/files
/package/feeds
/package/openwrt-packages
*.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