LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-20-2009, 03:25 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
Installing vpnclient on CentOS?


I downloaded VPNClient and am trying to install it on CentOS 5.2.
I followed the following step:
Code:
[root@mon2 vpnclient]# ./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.

For RedHat 6.x users these files are installed in /usr/src/linux by default
For RedHat 7.x users these files are installed in /usr/src/linux-2.4 by default
For Suse 7.3 users these files are installed in /usr/src/linux-2.4.10.SuSE by default

Directory containing linux kernel source code []

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

Is the above correct [y]y

Making module
./driver_build.sh
Cisco Systems VPN Client Version BUILDVER_STRING
Copyright (C) 1998-2001 Cisco Systems, Inc. All Rights Reserved.

usage:
    ./driver_build.sh 'kernel_src_dir'

'kernel_src_dir' is the directory containing the linux kernel sour
ce

Failed to make module "cisco_ipsec.ko".
Am I doing anything wrong?
 
Old 11-20-2009, 04:25 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by your_shadow03 View Post
I downloaded VPNClient and am trying to install it on CentOS 5.2.
I followed the following step:
Code:
[root@mon2 vpnclient]# ./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.

For RedHat 6.x users these files are installed in /usr/src/linux by default
For RedHat 7.x users these files are installed in /usr/src/linux-2.4 by default
For Suse 7.3 users these files are installed in /usr/src/linux-2.4.10.SuSE by default

Directory containing linux kernel source code []

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

Is the above correct [y]y

Making module
./driver_build.sh
Cisco Systems VPN Client Version BUILDVER_STRING
Copyright (C) 1998-2001 Cisco Systems, Inc. All Rights Reserved.

usage:
    ./driver_build.sh 'kernel_src_dir'

'kernel_src_dir' is the directory containing the linux kernel sour
ce

Failed to make module "cisco_ipsec.ko".
Am I doing anything wrong?

for cisco vpn concentrators right??
why dont you just get vpnc from yum??

Code:
[root@host ~]# yum info vpnc
Loaded plugins: dellsysid, fastestmirror, protectbase, security
Loading mirror speeds from cached hostfile
 * dlutter-rhel5: people.redhat.com
 * utterramblings: www.jasonlitka.com
 * dell-omsa-indep: linux.dell.com
 * dell-omsa-specific: linux.dell.com
 * rpmforge: apt.sw.be
 * base: mirror.bytemark.co.uk
 * updates: mirror.bytemark.co.uk
 * addons: mirror.bytemark.co.uk
 * extras: mirror.bytemark.co.uk
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
0 packages excluded due to repository protections
Available Packages
Name       : vpnc
Arch       : i386
Version    : 0.5.3
Release    : 1.el5.rf
Size       : 83 k
Repo       : rpmforge
Summary    : IPSec VPN client compatible with Cisco equipment
URL        : http://www.unix-ag.uni-kl.de/~massar/vpnc/
License    : GPL
Description: A VPN client compatible with Cisco's EasyVPN equipment.  Supports IPSec (ESP) with Mode Configuration and Xauth.  Supports only shared-secret
           : IPSec authentication, 3DES, MD5, and IP tunneling.
 
Old 11-20-2009, 05:57 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
I tried with VPNC but its very slow.
I tested with vpnclient on other machine and it went fast.
Any Idea?
It seems vpnclient connects very quickly. But when I installed it, it says:

Code:
Failed to make module "cisco_ipsec.ko"
I tested on two CentOS machine . In one of Centos machine it easily retrieved the directory /lib/modules/2.6.9-78.EL/build but amazingly in new Machine its build file linked to ../../lib/modules/2.6.9-78.EL/build

Any Idea ?
 
Old 11-20-2009, 06:37 AM   #4
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by your_shadow03 View Post
I tried with VPNC but its very slow.
I tested with vpnclient on other machine and it went fast.
Any Idea?
It seems vpnclient connects very quickly. But when I installed it, it says:

Code:
Failed to make module "cisco_ipsec.ko"
I tested on two CentOS machine . In one of Centos machine it easily retrieved the directory /lib/modules/2.6.9-78.EL/build but amazingly in new Machine its build file linked to ../../lib/modules/2.6.9-78.EL/build

Any Idea ?
Code:
I tried with VPNC but its very slow.
This is not true at all.....must be an issue with your setup.
Do you have the kernel-devel package installed?

Last edited by centosboy; 11-20-2009 at 06:38 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing vpnclient tamoneya Linux - Software 9 01-25-2008 03:06 PM
cisco vpnclient on 2.6.22 kernel kaz2100 Linux - Software 3 09-24-2007 12:25 PM
vpnclient problem... culin Fedora 2 08-15-2007 11:32 PM
VPNclient and ping CharlesW Linux - Networking 0 04-13-2004 03:05 AM
Cisco VPNClient on Mandrake 9.0 a53man Linux - Networking 3 01-15-2003 03:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration