nsbin/eth-wlan-vpn.sh
Nico Schottelius 19e00978f9 smaller updates
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-01-06 10:49:58 +01:00

8 lines
204 B
Bash
Executable file

#!/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
udhcpc -nqfi wlan0
vpnc ~nico/firmen/ethz/vpn/vpnc.conf