LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-13-2013, 03:28 AM   #1
Highjo
Member
 
Registered: Jan 2007
Posts: 33

Rep: Reputation: 0
Question How to fix?installed of cisco vpn on ubuntu10.04, vermagic different from kernel


I've been struggling to get cisco vpn working on an ubuntu 10.04.3 server with a 2.6.32-35-server kernel. i followed the lamnk.com tutorial.

i installed my linux kernel sources this way apt-get source linux-image-$(uname -r)

after extracting i set the path of the linux sources to /usr/src/linux-source-2.6.32

during compilation it complained about :
Code:
Building modules, stage 2.
MODPOST 1 modules
/bin/sh: scripts/mod/modpost: not found
make[2]: *** [__modpost] Error 127
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.32'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
so i run make modules_prepare from /usr/src/linux-source-2.6.32 to fix it. the installation completed successufully but /etc/init.d/vpnclient_init start

complained :
Code:
Starting /opt/cisco-vpnclient/bin/vpnclient: insmod: error inserting '/lib/modules/2.6.32-35-server/CiscoVPN/cisco_ipsec.ko': -1 Invalid module format Failed (insmod)
doing moninfo returns :
Code:
 modinfo /lib/modules/2.6.32-35-server/CiscoVPN/cisco_ipsec.ko
 filename:       /lib/modules/2.6.32-35-server/CiscoVPN/cisco_ipsec.ko
 license:        Proprietary
 depends:        
 vermagic:       2.6.32.60+drm33.26 SMP mod_unload modversions
the vermagic and uname which is 2.6.32-35-server are differents

Now am stuck how to resolve it? my options are :
  1. unistall cisco vpn and restart but how to?
  2. fix the install but how to?

I need help, I will be extremely grateful if anybody can show some directions. thank you

Last edited by Highjo; 02-13-2013 at 03:44 AM.
 
Old 02-13-2013, 07:40 AM   #2
Highjo
Member
 
Registered: Jan 2007
Posts: 33

Original Poster
Rep: Reputation: 0
Hello,

54 views so far and still not getting any response. it seems like am more in trouble and i though because i thought,
it will surely got a tip from linuxquestions.org guys.

Time is not on my favor, please at least how do i remove it so that i do it again.
, so
thanks
 
Old 02-15-2013, 03:41 AM   #3
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 602

Rep: Reputation: 49
Is it an option for you to use the user-space vpn client?

apt-get install vpnc
 
Old 02-15-2013, 12:24 PM   #4
Highjo
Member
 
Registered: Jan 2007
Posts: 33

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by r0b0 View Post
Is it an option for you to use the user-space vpn client?

apt-get install vpnc
Figured that much later. thanks
 
  


Reply

Tags
cisco, server, ubuntu, vpnclient


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cisco VPN Client (4.8.01.0640-k9) and 2.6.24 Kernel revof11 Linux - Networking 5 02-12-2010 02:17 AM
Cisco VPN Client on kernel v. 2.6.23.1-21.fc7 dylan912 Fedora 2 12-09-2007 06:30 PM
CISCO VPN Client and Kernel 2.6.13: Solved tronayne Linux - Networking 0 12-05-2005 01:27 PM
Loading Cisco VPN kernel Module Snyke Linux - Software 3 12-17-2004 09:26 AM
Cisco VPN Client on Debian with kernel 2.6.4 stephanhuiser Linux - Networking 1 06-17-2004 11:34 AM


All times are GMT -5. The time now is 05:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration