diff --git a/install-party/configure_borne b/install-party/configure_borne index 88cd30f2..00f0f110 100755 --- a/install-party/configure_borne +++ b/install-party/configure_borne @@ -1,3 +1,4 @@ + #! /bin/sh ################################### @@ -62,17 +63,17 @@ echo "138.231.136.7 debian.ens-cachan.fr ftp.crihan.fr" >> /etc/hosts killall dnsmasq 2> /dev/null /usr/sbin/dnsmasq -# dhcp -echo "start 192.168.0.10" > /tmp/udhcpd. +# dhcp filaire +echo "start 192.168.0.10" > /tmp/udhcpd.conf echo "end 192.168.0.254" >> /tmp/udhcpd.conf echo "interface vlan1" >> /tmp/udhcpd.conf echo "opt dns 192.168.0.1 138.231.136.6" >> /tmp/udhcpd.conf +echo "option subnet 255.255.255.0" >> /tmp/udhcpd.conf echo "option dns 138.231.136.10" >> /tmp/udhcpd.conf echo "opt router 192.168.0.1" >> /tmp/udhcpd.conf -echo "opt netmask 255.255.255.0" >> /tmp/udhcpd.conf killall udhcpd 2> /dev/null /usr/sbin/udhcpd /tmp/udhcpd.conf - + EOF # envoi du fichier et execution