Wiki
Home

Networkmanager

Hochschule

Wichtige Programme die installiert werden muessen:

apt-get install vpnc openvpn network-manager-vpnc network-manager-vpnc-gnome network-manager-openvpn network-manager-openvpn-gnome

Zuerst muessen die Routen gefunden werden: route

Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default * 0.0.0.0 U 0 0 0 tun0 10.115.0.0 * 255.255.0.0 U 9 0 0 wlan0 vpn01a.HS-Karls IZ-010115254254 255.255.255.255 UGH 0 0 0 wlan0 193.196.120.0 * 255.255.255.0 U 0 0 0 tun0n

route -n

Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 tun0 10.115.0.0 0.0.0.0 255.255.0.0 U 9 0 0 wlan0 193.196.64.231 10.115.254.254 255.255.255.255 UGH 0 0 0 wlan0 193.196.120.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0

Der Network Manager setzt die Route zu proxy.hs-karlsruhe.de doppelt, was Fehler versursacht. Wenn man sie loescht funktioniert alles: route del 193.196.64.2

/etc/network/interfaces

auto lo iface lo inet loopback

auto eth0 allow-hotplug eth0 iface eth0 inet manual

auto wlan0 allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

auto wlan1 allow-hotplug wlan1 iface wlan1 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Statische Route:

iface eth0 inet static address 192.168.1.5 netmask 255.255.255.0 gateway 192.168.1.254

The primary network interface

auto eth0 iface eth0 inet static
address 192.168.1.58
gateway 192.168.1.1 network 192.168.1.0
broadcast 192.168.1.255 dns-nameservers 66.212.63.228 66.212.48.10