Fedora Linux Support Community & Resources Center
  #1  
Old 17th October 2006, 08:52 PM
semperfi2004 Offline
Registered User
 
Join Date: Oct 2006
Posts: 3
Cisco VPN 4.8

I've seen many topics on the same follwoing problem, I still seem to have an issue. I am new to linux.
I just installed Fedora 5.
Updated the kernel to 2.6.17-1.2187_FC5-i686.
installed yum install kernel-devel
then Installed Cisco Client 4.8
Below is my output. I'm not sure why it won't work. Also, I am trying to use a windows PCF file. Will this file have to be modified ? One other question, once I have established a connection, will this connection beable to be shared by others.


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

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
For Suse 7.3 users these files are installed in /usr/src/linux-2.4.10.SuSE by default

Directory containing linux kernel source code []/usr/src/kernels/2.6.17-1.2187_FC5-i686

* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.17-1.2157_FC5/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/usr/src/kernels/2.6.17-1.2187_FC5-i686" will be used to build the module.

Is the above correct [y]

Shutting down /opt/cisco-vpnclient/bin/vpnclient: module cisco_ipsec is not running.
Stopped: /etc/init.d/vpnclient_init (VPN init script)
Making module
make -C /usr/src/kernels/2.6.17-1.2187_FC5-i686 SUBDIRS=/opt/vpnclient modules
make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2187_FC5-i686'
CC [M] /opt/vpnclient/linuxcniapi.o
CC [M] /opt/vpnclient/frag.o
CC [M] /opt/vpnclient/interceptor.o
LD [M] /opt/vpnclient/cisco_ipsec.o
Building modules, stage 2.
MODPOST
WARNING: /opt/vpnclient/cisco_ipsec.o - Section mismatch: reference to .init.text: from .data between 'interceptor_dev' (at offset 0x54) and 'interceptor_notifier'
WARNING: could not find /opt/vpnclient/.libdriver.so.cmd for /opt/vpnclient/libdriver.so
LD [M] /opt/vpnclient/cisco_ipsec.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2187_FC5-i686'
Copying module to directory "/lib/modules/2.6.17-1.2157_FC5/CiscoVPN".
Already have group 'bin'

Creating start/stop script "/etc/init.d/vpnclient_init".
/etc/init.d/vpnclient_init
Enabling start/stop script for run level 3,4 and 5.

Installing license.txt (VPN Client license) in "/opt/cisco-vpnclient/":

Installing bundled user profiles in "/etc/opt/cisco-vpnclient/Profiles/":
* Replaced Profiles: sample

Copying binaries to directory "/opt/cisco-vpnclient/bin".
Adding symlinks to "/usr/local/bin".
/opt/cisco-vpnclient/bin/vpnclient
/opt/cisco-vpnclient/bin/cisco_cert_mgr
/opt/cisco-vpnclient/bin/ipseclog
Copying setuid binaries to directory "/opt/cisco-vpnclient/bin".
/opt/cisco-vpnclient/bin/cvpnd
Copying libraries to directory "/opt/cisco-vpnclient/lib".
/opt/cisco-vpnclient/lib/libvpnapi.so
Copying header files to directory "/opt/cisco-vpnclient/include".
/opt/cisco-vpnclient/include/vpnapi.h

Setting permissions.
/opt/cisco-vpnclient/bin/cvpnd (setuid root)
/opt/cisco-vpnclient (group bin readable)
/etc/opt/cisco-vpnclient (permissions not changed)
* 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@BrianLinuxFedora vpnclient]# cd /etc/init.d/vpnclient_init start
bash: cd: /etc/init.d/vpnclient_init: Not a directory
[root@BrianLinuxFedora vpnclient]# cd /etc/init.d
[root@BrianLinuxFedora init.d]# vpnclient_init start
bash: vpnclient_init: command not found
Reply With Quote
  #2  
Old 17th October 2006, 09:04 PM
nt4cats Offline
Registered User
 
Join Date: Aug 2005
Location: Philadelphia, PA
Posts: 99
You tried "cd /etc/init.d/vpnclient_init" -- and the shell told you (correctly) that "vpnclient_init" is not a directory under the "/etc/init.d" directory.

You then did a cd to "/etc/init.d" (this is okay), and then typed "vpnclient_init start" -- which seems okay, but you have to remember that your current directory is not in your path by default (this is a huge security hole if it is in your path).

You can either:

A) Just type (no quotes) "/etc/init.d/vpnclient_init start" and press enter.
B) After changing to the "/etc/init.d" type (no quotes) "./vpnclient_init start" and press enter.

Either should work for you. Good luck.
Reply With Quote
  #3  
Old 17th October 2006, 09:05 PM
landoncz Offline
Registered User
 
Join Date: Dec 2005
Location: Florida, USA
Age: 35
Posts: 338
With FC5 you don't need to complie the CISCO client from source for each kernel anymore, you only need to install vpnc and NetworkManager-vpnc via yum (in the extras I think), and then connect to your CISCO vpns via the Network Manager...
__________________
Fedora Core 6 on Asus Z63A 14" Laptop
2.0 Ghz Pentium M
1 Gig RAM
100 Gig 7200 RPM

Code:
# rm -rf /dev/brain
Reply With Quote
  #4  
Old 18th October 2006, 01:50 PM
semperfi2004 Offline
Registered User
 
Join Date: Oct 2006
Posts: 3
This is what I got when I ran: /etc/init.d/vpnclient_init start

root@BrianLinuxFedora ~]# /etc/init.d/vpnclient_init start
Starting /opt/cisco-vpnclient/bin/vpnclient: insmod: error inserting '/lib/modules/2.6.17-1.2157_FC5/CiscoVPN/cisco_ipsec.ko': -1 Unknown symbol in module
Failed (insmod)
Reply With Quote
  #5  
Old 18th October 2006, 06:37 PM
nt4cats Offline
Registered User
 
Join Date: Aug 2005
Location: Philadelphia, PA
Posts: 99
Okay, then you should probably follow landoncz's advice and use the pre-built functionality.
Reply With Quote
  #6  
Old 18th October 2006, 08:00 PM
semperfi2004 Offline
Registered User
 
Join Date: Oct 2006
Posts: 3
I tried both Nt4cats solution and Landoncz solution, I still get the same error. However, when I ran yum install for NetworkManager-vpnc vpnc it did install. but, still got the same errors when installing the cisco client, and running /etc/init.d/vpnclient_init start
Reply With Quote
  #7  
Old 3rd November 2006, 03:02 PM
stohn Offline
Registered User
 
Join Date: Jul 2005
Posts: 9
A related thread is running on this forum at:
http://www.fedoraforum.org/forum/sho...d.php?t=106929
Reply With Quote
Reply

Tags
cisco, vpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco Pix 501 jim Servers & Networking 0 28th December 2007 04:41 PM
cisco vpn pabloguevara Using Fedora 3 22nd September 2006 12:49 AM
Anyone know Cisco? carlwill Wibble 6 13th September 2004 11:06 PM


Current GMT-time: 18:20 (Thursday, 27-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Brazil