This article is about how to get internet at KIT with Linux. It was tested on Linux Mint 16 MATE which is based on Ubuntu which is based on Debian.
At KIT are a lot of WLANs, but only two are important:
- Mode: Infrastructure
- Security: WPA & WPA2 Enterprise
- Authentificaiton: Protected EAP (PEAP)
- Anonymous identity: [email protected]
- CA certificate: deutsche-telekom-root-ca-2.crt (source)
- PEAP version: Automatic
- Inner authentification: MSCHAPv2
wkit-802.1x: uabcd (Your username. It begins with 'u' and has 5 letters)
eduroam: [email protected]
- Password: (Your password)
- IPv4 Settings: Automatic (DHCP)
- IPv6 Settings: Ignore
I use Juniper VPN.
The following lines install some prerequesites, download Juniper from this page, unpack it and execute the shell script.
sudo apt-get install libc6-i386 lib32z1 lib32nss-mdns wget http://www.scc.kit.edu/scc/sw/juniper/7.4R8/linux_vpn_7.4R8.tar.gz tar -xzvf linux_vpn_7.4R8.tar.gz cd juniper_linux ./vpn-install.sh
After you have done this, you can use juniper with
jnc -n kit
-n flag disables GUI. It will show this:
Server certificate verified and CN is vpn.kit.edu. Saving in /home/moose/.juniper_networks/network_connect/config/vpn.kit.edu.der. Password: Connecting to vpn.kit.edu : 443. Waiting for ncsvc for 3 seconds... done ncsvc is running, but tunnel is not established yet. Waiting for 3 seconds... done ncsvc is running, but tunnel is not established yet. Waiting for 3 seconds... done. ncsvc is running in background (PID: 11180): tunnel interface tun0, addr: 22.214.171.124
You can stop it with