Saturday, September 20, 2008

Installing Cisco VPN on Mandriva 2008

As you are following the standard procedure to install the Cisco VPN client you will come to an instruction which says you must run
./vpn_install
Stop

Have you tried that already and seen errors like
  • when you start the vpn service
    cisco_ipsec.ko -1 Invalid module format
  • dmesg shows errors like
    $dmesg | grep cisco
    cisco_ipsec: version magic '2.6.22.9-1mdvcustom SMP mod_unload 686 ' should be '2.6.22.9-laptop-1mdv SMP mod_unload 686 '
?

Then you should check that your kernel source version agrees with your kernel version. For example, my kernel version was
$ uname -a
Linux localhost 2.6.22.9-laptop-1mdv #1 SMP Thu Sep 27 04:17:10 CEST 2007 i686 Intel(R) Pentium(R) M processor 1600MHz GNU/Linux
And my kernel source showed:
$ grep "EXTRAVERSION =" /usr/src/linux/Makefile
EXTRAVERSION = .9-1mdvcustom
  • 2.6.22.9-laptop-1mdv
  • 2.6.22.9-1mdvcustom
This must be fixed before proceeding with vpn installation
$ cd /usr/src/linux
$ sed -i -e"s/EXTRAVERSION = .9-1mdvcustom/EXTRAVERSION = .9-laptop-1mdv/" Makefile
$ make oldconfig
$ make modules_prepare
$ make prepare
$ cd /usr/local/src/vpnclient
We now return you to the main procedure
$ ./vpn_install

Labels: , , , , , , ,

0 Comments:

Post a Comment

<< Home