Jump to content

Cisco VPN Connection Problem [solved]


rohitsz
 Share

Recommended Posts

Greetings there,

I am trying to get the cisco VPN client to work on mandriva 2008(free).

When i try to install it, i get the following error:

 

[root@localhost 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.


Directory containing linux kernel source code [/lib/modules/2.6.22.9-desktop-1mdv/build]

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

Is the above correct [y]

Making module
make -C /lib/modules/2.6.22.9-desktop-1mdv/build SUBDIRS=/home/rkumar/Desktop/VPN/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.22.9-1mdv'

 WARNING: Symbol version dump /usr/src/linux-2.6.22.9-1mdv/Module.symvers
	   is missing; modules will have no dependencies and modversions.

 CC [M]  /home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.o
/home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: No such file or directory
/home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:297: warning: implicit declaration of function ‘skb_set_timestamp’
/home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:331: error: ‘struct sk_buff’ has no member named ‘nh’
/home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:332: error: ‘struct sk_buff’ has no member named ‘mac’
/home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:454: error: ‘struct sk_buff’ has no member named ‘mac’
/home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:455: error: ‘struct sk_buff’ has no member named ‘nh’
/home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘h’
/home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘nh’
make[2]: *** [/home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/rkumar/Desktop/VPN/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.9-1mdv'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
[root@localhost vpnclient]#

 

My kernel sources are as follows:

 

[root@localhost vpnclient]# rpm -qa|grep kernel
kernel-source-latest-2.6.22.9-1mdv2008.0
kernel-desktop-latest-2.6.22.9-1mdv2008.0
kernel-source-2.6.22.9-1mdv-1-1mdv2008.0
kernel-desktop-2.6.22.9-1mdv-1-1mdv2008.0
[root@localhost vpnclient]#

 

Please tell me what next to do, to compile the Cisco VPN driver.

 

It worked fine on 2007 earlier.

Also i have run

[root@localhost linux-2.6.22.9-1mdv]# make scripts/
 CHK	 include/linux/version.h
 CHK	 include/linux/utsrelease.h
 CC	  arch/i386/kernel/asm-offsets.s
 GEN	 include/asm-i386/asm-offsets.h
 CALL	scripts/checksyscalls.sh
[root@localhost linux-2.6.22.9-1mdv]#

 

As suggested on a forum to make things work.. but still bad luck with me :mellow:

 

Please help.

 

thanks,

rohit.

Edited by rohitsz
Link to comment
Share on other sites

* Kernel source from "/lib/modules/2.6.22.9-desktop-1mdv/build" will be used to build the module.

 

I don't understand, why kernel source used from that location? Check /usr/src/linux link to /usr/src/linux-*

 

And, maybe, for new kernel that ship with Mandriva 2008 your need new version of your cisco VPN client?

Edited by TwoFace
Link to comment
Share on other sites

Hi,

 

I don't understand, why kernel source used from that location? Check /usr/src/linux link to /usr/src/linux-*

 

And, maybe, for new kernel that ship with Mandriva 2008 your need new version of your cisco VPN client?

 

I have checked that path, it points correctly to /usr/src/linux which points to /usr/src/linux-* .

I think the older version of the VPN client could be the problem. I'll try this out and get back.

 

But it worked fine on Mandriva 2007. :-)

 

Thanks,

rohit.

Link to comment
Share on other sites

Hi,

 

Hi,

I have checked that path, it points correctly to /usr/src/linux which points to /usr/src/linux-* .

I think the older version of the VPN client could be the problem. I'll try this out and get back.

 

But it worked fine on Mandriva 2007. :-)

 

Still no luck. :unsure:

 

IMO the problem is here:

  WARNING: Symbol version dump /usr/src/linux-2.6.22.9-1mdv/Module.symvers
	   is missing; modules will have no dependencies and modversions.

 

or

 

/home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: No such file or directory

 

any other suggestions?

 

Thanks,

rohit.

Link to comment
Share on other sites

Hi,

 

My problem got resolved :D

Did a bit of google and found that there is patch that needs to be applied to the kernel 2.6.22 .

 

The patch is here This one is specifically for kernel 2.6.22

 

Now the patch has allowed the cisco client to compile ok.

 

Thanks,

rohit.

 

Edit:

Find the newest and updated cisco client here

Edited by rohitsz
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...