on n'utilise plus la borne en routeur install-party
darcs-hash:20041112100059-4ec08-80aa53316446a13377736a1e2240fdd5a98d67a3.gz
This commit is contained in:
parent
e6d4b391ec
commit
5f60cab156
1 changed files with 15 additions and 20 deletions
|
@ -265,28 +265,23 @@ echo "
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Réglage spécial Install Party
|
# Réglage spécial Install Party
|
||||||
if [ "$nom" = "var" ]; then
|
# vlan0 = switch 4 ports
|
||||||
# Reconfiguration des interfaces réseaux
|
# vlan1 = prise internet
|
||||||
|
# eth1 = wireless
|
||||||
#vlan0 = switch 4 ports
|
# eth0 = switch + internet ? ou tous ? = ne pas utiliser
|
||||||
#vlan1 = prise internet
|
|
||||||
#eth1 = wireless
|
|
||||||
#eth0 = switch + internet ? ou tous ? = ne pas utiliser
|
|
||||||
|
|
||||||
ifconfig br0 down
|
# La reconfiguration des services se fait avec les script :
|
||||||
brctl delbr br0
|
# /usr/scripts/install-party/configure_borne
|
||||||
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
|
|
||||||
|
|
||||||
|
#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...
|
echo -n Démarrage du firewall...
|
||||||
## Firewall
|
## Firewall
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue