eth wlan needs to sleep
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
493cd349fc
commit
6959074b57
1 changed files with 15 additions and 5 deletions
|
@ -1,8 +1,18 @@
|
|||
#!/bin/sh -e
|
||||
# Nico Schottelius, 20080910 11:09
|
||||
ip link set wlan0 down
|
||||
iwconfig wlan0 essid public
|
||||
ip link set wlan0 up
|
||||
iwconfig wlan0 essid public
|
||||
#ip link set wlan0 down
|
||||
#iwconfig wlan0 essid public
|
||||
#ip link set wlan0 up
|
||||
#iwconfig wlan0 essid public
|
||||
|
||||
set -x
|
||||
|
||||
( wpa_cli terminate; exit 0 )
|
||||
sleep 2
|
||||
wpa_supplicant -B -Dwext -iwlan0 -c ~nico/ethz/wlan/wpa_supplicant.conf
|
||||
sleep 5
|
||||
udhcpc -nqfi wlan0
|
||||
vpnc ~nico/firmen/ethz/vpn/vpnc.conf
|
||||
vpnc ~nico/ethz/vpn/pc.conf
|
||||
|
||||
#vpnc ~nico/firmen/ethz/vpn/vpnc.conf
|
||||
# vpnc-disconnect
|
||||
|
|
Loading…
Reference in a new issue