LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to fix?installed of cisco vpn on ubuntu10.04, vermagic different from kernel (http://www.linuxquestions.org/questions/linux-server-73/how-to-fix-installed-of-cisco-vpn-on-ubuntu10-04-vermagic-different-from-kernel-4175449950/)

Highjo 02-13-2013 03:28 AM

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

Highjo 02-13-2013 07:40 AM

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

r0b0 02-15-2013 03:41 AM

Is it an option for you to use the user-space vpn client?

apt-get install vpnc

Highjo 02-15-2013 12:24 PM

Quote:

Originally Posted by r0b0 (Post 4892095)
Is it an option for you to use the user-space vpn client?

apt-get install vpnc

Figured that much later. thanks


All times are GMT -5. The time now is 01:26 AM.