nsbin/eth-wlan-vpn.sh
Nico Schottelius 0a58324a02 eth: start wlan & vpn
Signed-off-by: Nico Schottelius <nico@ikn.ethz.ch>
2008-11-28 12:44:14 +01:00

8 lines
198 B
Bash
Executable file

#!/bin/sh -e
# Nico Schottelius, 20080910 11:09
ip link set wlan0 down
iwconfig wlan0 essid any
ip link set wlan0 up
iwconfig wlan0 essid any
udhcpc -nqfi wlan0
vpnc ~nico/firmen/ethz/vpn/vpnc.conf