LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cisco VPN Client Install (https://www.linuxquestions.org/questions/linux-networking-3/cisco-vpn-client-install-565091/)

kshymkiw 06-28-2007 07:20 AM

Cisco VPN Client Install
 
Hello all,

I am having some issues getting the Cisco VPN Client to install. Any help would be appreciated.

Code:

kevin@kevin-desktop:~/vpnclient$ sudo ./vpn_install
Cisco Systems VPN Client Version 4.8.00 (0490) Linux Installer
Copyright (C) 1998-2005 Cisco Systems, Inc. All Rights Reserved.

By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with
its terms.


Directory where binaries will be installed [/usr/local/bin]

Automatically start the VPN service at boot time [yes]

In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.


Directory containing linux kernel source code [/lib/modules/2.6.20-16-generic/build]

* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.20-16-generic/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.20-16-generic/build" will be used to build the module.

Is the above correct [y]

Making module
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/home/kevin/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
  CC [M]  /home/kevin/vpnclient/linuxcniapi.o
/home/kevin/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: No such file or directory
make[2]: *** [/home/kevin/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/kevin/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".

Could someone possibly give some guidance? This is running on Ubuntu 7.04.

acid_kewpie 06-28-2007 07:31 AM

that's because you don't have your kernel headers installed, i assume there's a package in apt called "kernel-dev" or "kernel-headers" that will install. what i'd actually recommend though is that unless you really do have an obligation to use exactly that client, use vpnc instead, an opensource reimplementation of the cisco vpn client. it's easier to install, easier to use and much simpler in general, albeit for apparently fewer features, but you;re best to find it doesn't do somethign that the cisco one does before rejecting it. also then networkmanager can wrap the vpn client quite well too, so you can contorl it via a generic toolbar icon.

kshymkiw 06-28-2007 07:45 AM

Quote:

Originally Posted by acid_kewpie
that's because you don't have your kernel headers installed, i assume there's a package in apt called "kernel-dev" or "kernel-headers" that will install. what i'd actually recommend though is that unless you really do have an obligation to use exactly that client, use vpnc instead, an opensource reimplementation of the cisco vpn client. it's easier to install, easier to use and much simpler in general, albeit for apparently fewer features, but you;re best to find it doesn't do somethign that the cisco one does before rejecting it. also then networkmanager can wrap the vpn client quite well too, so you can contorl it via a generic toolbar icon.


I am just looking into VPNC, I have already installed it, and I am importing my Cisco VPN config's. I did not know that VPNC could emulate the Cisco VPN Client. I have no obligation to use it so i am trying to switch to VPNC.

kstan 06-28-2007 08:03 AM

i have same problem with you, seems like the kernel too new and didn't support older client.

kshymkiw 06-28-2007 08:23 AM

Quote:

Originally Posted by kstan
i have same problem with you, seems like the kernel too new and didn't support older client.

VPNC has worked great for me. Simple setup and it just works. Install is super easy.

Linville79 06-28-2007 09:05 AM

I've been using VPNC for years now, to connect to our Cisco Concentrator at work. It works flawlessly once you get the decrypted password from your Cisco VPN profile.

Here's a site that can decrypt it for you:

Cisco VPN Password Decoder


All times are GMT -5. The time now is 12:08 AM.