I want to connect to my university's Cisco VPN from home, but it always fails. Today I took my laptop to university to see if the IT guys could help (they couldn't) and it worked there so the configuration is ok. The router is not blocking anything since it works in windows (I have linux installed alongside windows 7)
I followed this pdf guide from my university and installed vpnc and network-manager-vpnc-gnome for the setup.
After doing
$ less /var/log/syslog | grep NetworkManager
the results were
NetworkManager[591]: <info> Starting VPN service 'vpnc'...
NetworkManager[591]: <info> VPN service 'vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 14877
NetworkManager[591]: <info> VPN service 'vpnc' appeared; activating connections
NetworkManager[591]: <info> VPN plugin state changed: init (1)
NetworkManager[591]: <info> VPN plugin state changed: starting (3)
NetworkManager[591]: <info> VPN connection 'TUDelft' (Connect) reply received.
NetworkManager[591]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
NetworkManager[591]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
NetworkManager[591]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/tun0, iface: tun0)
NetworkManager[591]: <warn> VPN plugin failed: 1
NetworkManager[591]: <info> VPN plugin state changed: stopped (6)
NetworkManager[591]: <info> VPN plugin state change reason: 0
NetworkManager[591]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
NetworkManager[591]: <info> Policy set 'PoptN164' (wlan0) as default for IPv4 routing and DNS.
NetworkManager[591]: <info> VPN service 'vpnc' disappeared
I also have tried Kvpnc, and it still doesn't work. Kvpnc says: "error: Unable to find "vpnclient" at usr/local/bin/vpnclient"
I'm a newbie to Linux, so if you need any other information, please ask and I'll try to provide it.
I'm using ubuntu 12.04.
Best Answer
Here's how I got this working with Ubuntu 12.10:
First install the following
Using the network-manager create a new VPN connection, set at least the following:
If the given group password is encrypted you can decrypt it here (ecrypted password probably will not work):
http://www.unix-ag.uni-kl.de/~massar/bin/cisco-decode
Once these are set if you still have problems connecting try setting the IP address instead of domain name to the Gateway (this is what fixed it for me).