Linux Debian Installation Instructions
How to install the Cisco Systems VPN Client on Linux Debian kernel.
These instructions were provided by an end-user and are untested.
Use preferred package management tool (aptitude, apt-get, synaptic) to download kernel source of your current kernel (this can be deduced by typing:
... at the shell. Then e.g. use search command of whatever of the mentioned package managers to find packages containing the string returned by 'uname' command).
Install downloaded kernel source package. Installing source package will only put the source tarball (something like 'linux-source-x.x.xx.tar.bz2') in '/usr/src' directory. You need to extract this using:
tar -xjvf linux-source-x.x.xx.tar.bz2
This will create a linux kernel subdirectory in '/usr/src' (e.g. /usr/src/linux-source-x.x.xx/')
Enter the kernel source directory and do
... and afterwards:
The tedious part: in the same directory as in 3. do:
(In fact, vpn installation only needs a modinst file in mod/ subdirectory, so after this after you see that modinst is compiled you can abort this lenghty compilation. Of course, this will leave your sources half-compiled so might not be wise to do unless you know and remember what you have done.)
- Download vpn client from www.ucl.ac.uk/isd/ web site.
tar -xzvf whateveryoudownloaded.tar.gz
(z in xzvf means uze gzip, j means use bzip)
Enter the newly created directory and do:
If this does not work do:
chmod u+x vpn_install
Install should run smoothly. Do
Add cisco_ipsec to /etc/modules, for automatic installation of the module at boot. modprobe cisco_ipsec also works.
- Now follow carefully the instructions from the www.ucl.ac.uk/isd/ site and everything should work ok.
- If you have a custom built kernel, it's probably already setup as it should, but if something during the compilation of 'vpnclient' goes wrong, try to play around with step 3) and maybe 4). Observe the error messages (warnings not so important) issued by make/gcc/...
- Here I didn't say which commands should be run as a superuser which is important for newbies to linux.