Initial revision
darcs-hash:20000521125243-92525-6092ab1d3efe6df9898549afb0aa3c7d43983e8b.gz
This commit is contained in:
commit
f1d3de9de7
26 changed files with 621 additions and 0 deletions
21
auto-claque
Executable file
21
auto-claque
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/sh
|
||||
# CC 2/2/1999 horrible kludge
|
||||
#
|
||||
#
|
||||
# Pour des raisons bizarres (bug driver SMC ? matériel ?), les interfaces
|
||||
# eth1 et eth2 bloquent régulièrement.
|
||||
# en général, un claquage suffit à les relancer. Par ailleurs, un claquage
|
||||
# ne bloque pas les communications -- on peut donc jouer à le faire
|
||||
# régulièrement.
|
||||
#
|
||||
|
||||
#a enlever les commentaires! 19.02
|
||||
# 20/01/2000 jerome reactive le script
|
||||
|
||||
echo "Claquage des interfaces" | /usr/bin/logger -t "AutoClaque" -p user.warn
|
||||
|
||||
ifconfig eth0 down; ifconfig eth0 up; route add default gw 138.231.136.2
|
||||
|
||||
ifconfig eth1 down; ifconfig eth1 up
|
||||
ifconfig eth2 down; ifconfig eth2 up 138.231.137.2 netmask 255.255.255.0 broadcast 138.231.137.255
|
||||
ifconfig eth3 down; ifconfig eth3 up
|
Loading…
Add table
Add a link
Reference in a new issue