ETH: link down of eth0, reinsert iwlagn

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-03-09 11:22:43 +01:00
parent 43516af78a
commit a63e890e5d

View file

@ -7,7 +7,10 @@
set -x set -x
ip l s eth0 down
( wpa_cli terminate; exit 0 ) ( wpa_cli terminate; exit 0 )
rmmod iwlagn
modprobe iwlagn
sleep 2 sleep 2
wpa_supplicant -B -Dwext -iwlan0 -c ~nico/ethz/wlan/wpa_supplicant.conf wpa_supplicant -B -Dwext -iwlan0 -c ~nico/ethz/wlan/wpa_supplicant.conf
sleep 5 sleep 5