LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-25-2002, 08:50 AM   #1
carlo
LQ Newbie
 
Registered: Aug 2001
Location: macgregor
Distribution: RH 7.2
Posts: 5

Rep: Reputation: 0
Angry Cisco VPN install problems


I was wondering if anyone had success with the Cisco VPN
Client 3.51 software on installing it on the new Redhat 7.3 OS. This software worked fine on Redhat 7.2 - but not the new version

[root@localhost vpnclient]# ./vpn_uninstall
Cisco Systems VPN Client Version 3.5 (Rel) Linux UnInstaller
Copyright (C) 1998-2001 Cisco Systems, Inc. All Rights Reserved.

Are you sure that you wish to uninstall the VPN Client? [no] y

Do you wish to remove all existing profiles and certificates? [no] y
- Existing Profiles and Certificates will be removed
- Binary uninstall directory set to /usr/local/bin

Cleaning up installed files and directory....
Shutting down /usr/local/bin/vpnclient: module cisco_ipsec is not running.
Stopped: /etc/init.d/vpnclient_init (VPN init script)
Removed: /usr/local/bin/vpnclient (VPN dialer)
Removed: /usr/local/bin/ipseclog (VPN log viewer)
Removed: /usr/local/bin/cvpnd (VPN daemon)
Removed: /usr/local/bin/cisco_cert_mgr (VPN certificate manager)
Removed: /lib/modules/2.4.18-3/CiscoVPN (modules directory)
Removed: /etc/init.d/vpnclient_init (VPN init script)
Removed: /etc/rc3.d/S85vpnclient (VPN rc3.d link)
Removed: /etc/rc5.d/S85vpnclient (VPN rc5.d link)
Removed: /etc/CiscoSystemsVPNClient (profiles, certificates, INI)
Done.
[root@localhost vpnclient]# ./vpn_install
Cisco Systems VPN Client Version 3.5 (Rel) Linux Installer
Copyright (C) 1998-2001 Cisco Systems, Inc. All Rights Reserved.

Please review the license agreement found in license.txt


Directory where binaries will be installed [/usr/local/bin] y

Automatically start the VPN service at boot time [yes] y

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

Directory containing linux kernel source code [/lib/modules/2.4.18-3/build] y

* Binaries will be installed in "y".
* Modules will be installed in "/lib/modules/2.4.18-3/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "y" will be used to build the module.

Is the above correct [y] y

Making module
In file included from /usr/include/linux/timex.h:152,
from /usr/include/linux/sched.h:14,
from /usr/include/linux/skbuff.h:19,
from linuxcniapi.c:25:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from linuxcniapi.c:25:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory
In file included from /usr/include/linux/vmalloc.h:8,
from linuxcniapi.c:28:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory
linuxcniapi.c:29:21: net/dst.h: No such file or directory
In file included from linuxcniapi.c:31:
linux_os.h:40:25: asm/uaccess.h: No such file or directory
In file included from interceptor.c:13:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in user
space
interceptor.c:25:25: asm/uaccess.h: No such file or directory
In file included from /usr/include/linux/timex.h:152,
from /usr/include/linux/sched.h:14,
from /usr/include/linux/skbuff.h:19,
from interceptor.c:28:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from interceptor.c:28:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory
interceptor.c:33:26: net/protocol.h: No such file or directory
interceptor.c:34:21: net/dst.h: No such file or directory
In file included from interceptor.c:36:
linux_os.h:40:25: asm/uaccess.h: No such file or directory
In file included from /usr/include/linux/vmalloc.h:8,
from interceptor.c:43:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory
In file included from /usr/include/linux/timex.h:152,
from /usr/include/linux/sched.h:14,
from /usr/include/linux/vmalloc.h:4,
from IPSecDrvOS_linux.c:23:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
In file included from /usr/include/linux/vmalloc.h:8,
from IPSecDrvOS_linux.c:23:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory
Create module directory "/lib/modules/2.4.18-3/CiscoVPN".
Copying module to directory "/lib/modules/2.4.18-3/CiscoVPN".
Creating start/stop script "/etc/init.d/vpnclient_init".
Enabling start/stop script for run level 3 and 5.
Creating VPN configuration file "/etc/CiscoSystemsVPNClient/vpnclient.ini".

Installing bundled user profiles in "/etc/CiscoSystemsVPNClient/Profiles/":
* New Profiles : sample

Copying binaries to directory "y".

Setting permissions.
y/vpnclient, y/cvpnd (setuid root)
/etc/CiscoSystemsVPNClient (world writeable)
/etc/CiscoSystemsVPNClient/Profiles (world writeable)
/etc/CiscoSystemsVPNClient/Certificates (world writeable)
* You may wish to change these permissions to restrict access to root.

* You must run "/etc/init.d/vpnclient_init start" before using the client.
* This script will be run AUTOMATICALLY every time you reboot your computer.
[root@localhost vpnclient]#
[root@localhost vpnclient]#
[root@localhost vpnclient]#
[root@localhost vpnclient]#
[root@localhost vpnclient]#
[root@localhost vpnclient]#
[root@localhost vpnclient]# /etc/init.d/vpnclient_init start
Starting y/vpnclient: /lib/modules/2.4.18-3/CiscoVPN/cisco_ipsec: unresolved sym bol get_fast_time
/lib/modules/2.4.18-3/CiscoVPN/cisco_ipsec:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.

Failed (insmod)
[root@localhost vpnclient]#

-> below is the output errors:
 
Old 06-08-2002, 02:08 PM   #2
agi_david
LQ Newbie
 
Registered: Jun 2002
Posts: 1

Rep: Reputation: 0
Cisco VPN install Problem

Hello,,

I've had the same problem, but I created some soft links of those missing files. I still can't load the module. I get unresolved symbol get_fast_time... I stuck now!!


agi@videotron.ca

Last edited by agi_david; 06-08-2002 at 02:16 PM.
 
Old 06-29-2002, 10:46 PM   #3
Jgielstra
LQ Newbie
 
Registered: Jun 2002
Distribution: Mandrake 8.2
Posts: 1

Rep: Reputation: 0
get_fast_time() removed from kernel 2.4.18

The "Kernel Guys" have removed get_tfast_time() from the 2.4.18 kernels. It was just calling do_gettimeofday()

Last edited by Jgielstra; 06-29-2002 at 10:50 PM.
 
Old 07-19-2002, 10:46 AM   #4
IcySea
LQ Newbie
 
Registered: Jul 2002
Posts: 1

Rep: Reputation: 0
get_fast_time() removed from kernel 2.4.18

As was referenced,

Replace all instances(2) of get_fast_time in the linuxcniapi.c file with do_gettimeofday.

e.g.:
Replace
get_fast_time(&skb->stamp);
with
do_gettimeofday(&skb->stamp);

Remove all .o files and re-run the vpn_install.
 
Old 07-23-2002, 12:16 PM   #5
sniemetz
LQ Newbie
 
Registered: Jul 2002
Posts: 3

Rep: Reputation: 0
RH 7.2 - 3.5.1.D-k9 - unresolved symbols

This doesn't seem to be a get_fast_time issue -- can anyone help?

Making module
Create module directory "/lib/modules/2.4.7-10smp/CiscoVPN".
Copying module to directory "/lib/modules/2.4.7-10smp/CiscoVPN".
Creating start/stop script "/etc/init.d/vpnclient_init".
Enabling start/stop script for run level 3,4 and 5.
Creating VPN configuration file "/etc/CiscoSystemsVPNClient/vpnclient.ini".

linux7# /etc/init.d/vpnclient_init start
Starting /usr/local/vpn/vpnclient: /lib/modules/2.4.7-10smp/CiscoVPN/cisco_ipsec: unresolved symbol dev_base_Rsmp_76d88385
/lib/modules/2.4.7-10smp/CiscoVPN/cisco_ipsec: unresolved symbol dev_remove_pack_Rsmp_94c35968
/lib/modules/2.4.7-10smp/CiscoVPN/cisco_ipsec: unresolved symbol skb_over_panic_Rsmp_7648ee96
/lib/modules/2.4.7-10smp/CiscoVPN/cisco_ipsec: unresolved symbol __kfree_skb_Rsmp_e21ac008
/lib/modules/2.4.7-10smp/CiscoVPN/cisco_ipsec: unresolved symbol register_netdev_Rsmp_04d57932
/lib/modules/2.4.7-10smp/CiscoVPN/cisco_ipsec: unresolved symbol dev_add_pack_Rsmp_5ce2167c
/lib/modules/2.4.7-10smp/CiscoVPN/cisco_ipsec: unresolved symbol alloc_skb_Rsmp_fdee28a1
/lib/modules/2.4.7-10smp/CiscoVPN/cisco_ipsec: unresolved symbol unregister_netdev_Rsmp_560ff557
/lib/modules/2.4.7-10smp/CiscoVPN/cisco_ipsec: unresolved symbol eth_type_trans_Rsmp_1b2721fe
/lib/modules/2.4.7-10smp/CiscoVPN/cisco_ipsec: unresolved symbol skb_under_panic_Rsmp_3bf43502
/lib/modules/2.4.7-10smp/CiscoVPN/cisco_ipsec:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.

Failed (insmod)
 
Old 07-31-2002, 10:25 AM   #6
amnesia
LQ Newbie
 
Registered: Jul 2002
Posts: 5

Rep: Reputation: 0
Read this?

http://old.lwn.net/2001/0906/kernel.php3

I am trying to fix this problem as well.
 
Old 07-31-2002, 10:57 AM   #7
sniemetz
LQ Newbie
 
Registered: Jul 2002
Posts: 3

Rep: Reputation: 0
Hey --
I figured out my problem: update agent on RH7.2 installed a newer kernel but failed to modify all symlinks to thre respective locations. So I had the machine boot off the old kernel, but the links to src pointed at the new one. Go figure. Removed all mention of newer kernel, install went without a hitch.
Sole gripe: whe running the cleint without a Cisco Concentrator, your local LAN access is temporarily suspended....
 
Old 07-31-2002, 11:19 AM   #8
amnesia
LQ Newbie
 
Registered: Jul 2002
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by sniemetz
Hey --
I figured out my problem: update agent on RH7.2 installed a newer kernel but failed to modify all symlinks to thre respective locations. So I had the machine boot off the old kernel, but the links to src pointed at the new one. Go figure. Removed all mention of newer kernel, install went without a hitch.
Sole gripe: whe running the cleint without a Cisco Concentrator, your local LAN access is temporarily suspended....
So you are saying you are using an older kernel? The client works with the older kernel but it is causing problems with 2.4.18. Did you get it working with 2.4.18? Hear from you soon.
 
Old 07-31-2002, 11:48 AM   #9
sniemetz
LQ Newbie
 
Registered: Jul 2002
Posts: 3

Rep: Reputation: 0
- amnesia

I have a 2.4.7-10smp kernel -- the RPM update installed 2.4.9-34 files/directories. Some of the generic symlinks pointed to the newer, some to the older kernel files.

Removing the newer (2.4.9) so that I am back to only 2.4.7, then recompiling the module, solved my problem. What is yours?
 
Old 07-31-2002, 12:44 PM   #10
amnesia
LQ Newbie
 
Registered: Jul 2002
Posts: 5

Rep: Reputation: 0
no problem with that kernel. Try using the _latest_ kernel. 2.4.18.
 
Old 09-05-2002, 03:11 AM   #11
rfc
LQ Newbie
 
Registered: Sep 2002
Location: London, UK
Distribution: debian sid
Posts: 4

Rep: Reputation: 0
To get it work for 2.4.18 u need to

a) apply the changes mentioned in the thread (thanks for that).

b) Recompile your kernel, the default does not have the symbols exported (see /usr/src/linux-2.4/net/netsyms.c)

To enable, make sure you have
CONFIG_NET=y inside your .config when you make your kernel.

Then boot up in the new kernel, re-install and it works.

Ricky
 
Old 09-05-2002, 05:08 AM   #12
bell
LQ Newbie
 
Registered: Sep 2002
Location: Guildford, England
Distribution: RedHat
Posts: 3

Rep: Reputation: 0
Red face Similar issue

I have a similar problem, but it is nothing to do with installing a Cisco driver. I have just updated to 2.4.18-10 and I am trying to compile a kernel driver for a memory mapped I/O card called a "Pilchard" (my variant anyway). It all should be pretty simple but I am burried under problems of types not being declared, and missing include files. I believe that most of my problems are due to not having all the right sym links in place for the 2.4.18-10 kernel. Is there any good way of getting this sort of problem fixed without going through it all file by file.

Cheers,

Douglas
 
Old 09-05-2002, 05:42 AM   #13
amnesia
LQ Newbie
 
Registered: Jul 2002
Posts: 5

Rep: Reputation: 0
Re: Similar issue

Quote:
Originally posted by bell
I have a similar problem, but it is nothing to do with installing a Cisco driver. I have just updated to 2.4.18-10 and I am trying to compile a kernel driver for a memory mapped I/O card called a "Pilchard" (my variant anyway). It all should be pretty simple but I am burried under problems of types not being declared, and missing include files. I believe that most of my problems are due to not having all the right sym links in place for the 2.4.18-10 kernel. Is there any good way of getting this sort of problem fixed without going through it all file by file.

Cheers,

Douglas
Get the latest vpn client, make depclean and recompile your kernel. You probably didnt' compile the kernel properly
 
Old 09-05-2002, 01:21 PM   #14
bell
LQ Newbie
 
Registered: Sep 2002
Location: Guildford, England
Distribution: RedHat
Posts: 3

Rep: Reputation: 0
sorted

Brain dead, that is my problem. Once I had re-booted, and put the new kernel source path in the -I option, it all compiles OK.

Cheers,

Douglas
 
Old 09-05-2002, 08:06 PM   #15
amnesia
LQ Newbie
 
Registered: Jul 2002
Posts: 5

Rep: Reputation: 0
Re: sorted

Quote:
Originally posted by bell
Brain dead, that is my problem. Once I had re-booted, and put the new kernel source path in the -I option, it all compiles OK.

Cheers,

Douglas
congrats mate.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco VPN Client problems deiussum Linux - Networking 13 05-25-2008 09:11 AM
CISCO VPN client install solution daehenoc Linux - Software 3 10-17-2005 09:55 PM
Trying to install VPN client from cisco Oxyacetylene Linux - Networking 9 08-05-2004 04:58 PM
Cisco VPN Client 3.5.2 won't install on RH9.1 PenguinPwrdBox Linux - Software 0 10-10-2003 08:40 AM
Connect to Cisco VPN w/o Cisco VPN Client gboutwel Linux - Networking 4 02-07-2003 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:22 AM.

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