nsbin/eth-wlan-vpn.sh

9 lines
198 B
Bash
Raw Normal View History

#!/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