From 0a58324a02020939a196bb2d1ee48b226d3a841a Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 28 Nov 2008 12:44:14 +0100 Subject: [PATCH] eth: start wlan & vpn Signed-off-by: Nico Schottelius --- eth-wlan-vpn.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 eth-wlan-vpn.sh diff --git a/eth-wlan-vpn.sh b/eth-wlan-vpn.sh new file mode 100755 index 0000000..10aee5a --- /dev/null +++ b/eth-wlan-vpn.sh @@ -0,0 +1,8 @@ +#!/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