Eureka! I got VPN working in Ubuntu!

Jacob Allred
#linux

For months I have been trying to get a Cisco VPN connection working with the NetworkManager applet in Ubuntu with no success.

I’ve had to resort to using a Bash script that connects using the vpnc command line utility, and then using sed to manipulate the /etc/resolv.conf file so I can use both my name servers and the VPN name servers. This works okay, but things get wonky several times a day forcing me to disconnect/reconnect.

Well, I finally got it working the right way. How did I do it? Sorry, not really sure. It definitely had something to do with the gnome keyring though.

This may be what made it finally work, but no guarantees: