I did a search on the Cisco vpn client on the site and it seems like people are finding non-binary/open source alternatives more useful (like vpnc).
However, for those that are required to use said client like me, I'm happy to finally have gotten it to work with Linux (actually I did this a long time ago but never posted about it).
The distros I've had luck with so far are PCLinuxOS, Ubuntu, and SUSE. Linspire/Freespire were a nightmare, even though I love those distros very much (can't wait for the new CNR).
I'm not an expert, so I encourage you strongly to correct any stupidities I included:
Preparation
1A. You'll need to go into a Windows installation of the Cisco VPN Client (hopefully the pre-configured one you got from your network admins) and get a copy of the .pcf file (found in the folder "profiles" in the Cisco program directory on windows...search for it).
Copy it onto a usb flash drive that linux can read...or if your wired internet access is accesible, e-mail it to yourself.
1B. Now you want to go into your distribution's package manager (synaptic, YAST, etc.) and do separate searches for kernel headers and kernel sources.
How do you know which packages are for your specific kernel? Just go to the terminal and type uname -r and it should give you a number like 2.6.blababla and then match that number with the version of the kernel headers and kernel sources.
2. Then you want to download the Linux version of the Cisco vpnclient (I can't give you a link because of licensing issues) somewhere that'll be easy to get to (the Desktop or wherever for now).
If your distro is fairly modern, you can just right click the icon and select "extract" thanks to Ark.
3. Using the terminal, go into the directory created when you extracted the files, not the original file (i.e. the folder vpnclient)
For example you'd enter something like
Code:
cd /home/username/Desktop/vpnclient
4. You must know your root/admin password for the following steps
Now type one of the following:
su ./vpn_install
or if you're using Ubuntu:
sudo ./vpn_install
What this does is execute the installation script. Usually it's safe to go with the defaults when it asks you a couple of questions (*happily presses ENTER, ENTER*
) EXCEPT when it asks you if you want it to start at boot time (say NO), in my case anyway.
If all goes well, you should see lots of lines of code (God I'm so dumb lol) and a message at the end that tells you that every time you want to start the vpn client you have to enter into the terminal something that looks like this:
Code:
/etc/rc.d/vpnclient_init start
Yay, it's installed! But wait...
5. Remember that .pcf file we needed? Now we want to copy that into the directory /etc/CiscoVPN/profiles . If you rather not go into the terminal again, you can just copy paste the file into that directory.
Note: make note of the .pcf file's name! Usually you can rename it if you want to make it shorter/easier to remember (networknumber123.pcf to omgvpn.pcf for instance)
Now type into the terminal:
Code:
/etc/rc.d/vpnclient_init start
or whatever you were told to run in order to start the vpn client after the installation finished (see step 4)
Then type:
Code:
vpnclient connect omgvpn
with omgvpn being the name of the pcf file/connection (without the file extension of course).
It should ask you for your username and password (for the vpn network, not your system) and voila!!
If Something Goes Wrong:
1. Make sure you downloaded the right kernel headers and source packages for your distro. Remember the numbers on the packages must exactly match the number you got when typing uname -r
2. Make sure you have the compilers you need (gcc, etc.). Alot of distros come with some development tools by default though and if not you can download them through your package manager.
3. Maybe the installer doesn't know where your specific distro has its modules/kernel headers saved (when it's asking you those questions). In that case, don't accept the defaults during installation.
4. Post your output here? (Warning: I'm the biggest newb ever, so I may just provide moral support lol).
This is what worked for me...it will be different for many of you I know.