From 5f60cab156d023f2a0df047de8d2560ab69fa65b Mon Sep 17 00:00:00 2001 From: chove Date: Fri, 12 Nov 2004 11:00:59 +0100 Subject: [PATCH] on n'utilise plus la borne en routeur install-party darcs-hash:20041112100059-4ec08-80aa53316446a13377736a1e2240fdd5a98d67a3.gz --- gestion/gen_confs/wifi.py | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/gestion/gen_confs/wifi.py b/gestion/gen_confs/wifi.py index 382ddbb9..7c6bd9d8 100755 --- a/gestion/gen_confs/wifi.py +++ b/gestion/gen_confs/wifi.py @@ -265,28 +265,23 @@ echo " EOF # Réglage spécial Install Party -if [ "$nom" = "var" ]; then - # Reconfiguration des interfaces réseaux - - #vlan0 = switch 4 ports - #vlan1 = prise internet - #eth1 = wireless - #eth0 = switch + internet ? ou tous ? = ne pas utiliser +# vlan0 = switch 4 ports +# vlan1 = prise internet +# eth1 = wireless +# eth0 = switch + internet ? ou tous ? = ne pas utiliser - ifconfig br0 down - brctl delbr br0 - ifconfig vlan0 138.231.136.254 netmask 255.255.255.0 - ifconfig vlan1 192.168.0.1 netmask 255.255.255.0 - ifconfig eth1 down - - # Les services et le firewall sont lancés à partir du script : - # reconfigure_borne --services - # reconfigure_borne --firewall - # De toute facon les services ne démarent pas ici comme il faut - - exit 0 -fi +# La reconfiguration des services se fait avec les script : +# /usr/scripts/install-party/configure_borne +#if [ "$nom" = "var" ]; then +# # Reconfiguration des interfaces réseaux +# ifconfig br0 down +# brctl delbr br0 +# ifconfig vlan0 138.231.136.254 netmask 255.255.255.0 +# ifconfig vlan1 192.168.0.1 netmask 255.255.255.0 +# ifconfig eth1 down +# exit 0 +#fi echo -n Démarrage du firewall... ## Firewall