ETH: link down of eth0, reinsert iwlagn
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
43516af78a
commit
a63e890e5d
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue