Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i m trying to setup vpnclient software on rhel 5.1.
Code:
[admin@shadow vpnclient]$ sudo ./vpn_install
Password:
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.18-53.el5/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.18-53.el5/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.18-53.el5/build" will be used
to build the module.
Is the above correct [y]y
Making module
make -C /lib/modules/2.6.18-53.el5/build
SUBDIRS=/home/imadmin/VPN/vpnclient modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-53.el5-x86_64'
CC [M] /home/imadmin/VPN/vpnclient/linuxcniapi.o
In file included from /home/imadmin/VPN/vpnclient/linuxcniapi.c:12:
include/linux/config.h:6:2: warning: #warning Including config.h is
deprecated.
In file included from /home/imadmin/VPN/vpnclient/Cniapi.h:15,
from /home/imadmin/VPN/vpnclient/linuxcniapi.c:27:
/home/imadmin/VPN/vpnclient/GenDefs.h:110:2: warning: #warning 64
bit
CC [M] /home/imadmin/VPN/vpnclient/frag.o
In file included from /home/imadmin/VPN/vpnclient/frag.c:1:
include/linux/config.h:6:2: warning: #warning Including config.h is
deprecated.
In file included from /home/imadmin/VPN/vpnclient/Cniapi.h:15,
from /home/imadmin/VPN/vpnclient/frag.c:16:
/home/imadmin/VPN/vpnclient/GenDefs.h:110:2: warning: #warning 64
bit
CC [M] /home/admin/VPN/vpnclient/IPSecDrvOS_linux.o
In file included from
/home/admin/VPN/vpnclient/IPSecDrvOS_linux.c:14:
include/linux/config.h:6:2: warning: #warning Including config.h is
deprecated.
In file included from
/home/imadmin/VPN/vpnclient/IPSecDrvOS_linux.c:20:
/home/imadmin/VPN/vpnclient/GenDefs.h:110:2: warning: #warning 64
bit
CC [M] /home/imadmin/VPN/vpnclient/interceptor.o
In file included from /home/imadmin/VPN/vpnclient/interceptor.c:11:
include/linux/config.h:6:2: warning: #warning Including config.h is
deprecated.
In file included from /home/imadmin/VPN/vpnclient/Cniapi.h:15,
from /home/imadmin/VPN/vpnclient/interceptor.c:30:
/home/imadmin/VPN/vpnclient/GenDefs.h:110:2: warning: #warning 64
bit
/home/imadmin/VPN/vpnclient/interceptor.c: In function
âhandle_vpnupâ:
/home/imadmin/VPN/vpnclient/interceptor.c:310: warning: assignment
from incompatible pointer type
/home/imadmin/VPN/vpnclient/interceptor.c:334: warning: assignment
from incompatible pointer type
/home/imadmin/VPN/vpnclient/interceptor.c:335: warning: assignment
from incompatible pointer type
/home/imadmin/VPN/vpnclient/interceptor.c: In function âdo_cleanupâ:
/home/imadmin/VPN/vpnclient/interceptor.c:378: warning: assignment
from incompatible pointer type
CC [M] /home/imadmin/VPN/vpnclient/linuxkernelapi.o
/home/imadmin/VPN/vpnclient/linuxkernelapi.c: In function
âkernel_allocâ:
/home/imadmin/VPN/vpnclient/linuxkernelapi.c:12: warning: format
â%dâ expects type âintâ, but argument 2 has type âsize_tâ
LD [M] /home/imadmin/VPN/vpnclient/cisco_ipsec.o
Building modules, stage 2.
MODPOST
WARNING: /home/imadmin/VPN/vpnclient/cisco_ipsec.o - Section
mismatch: reference to .init.text: from .data between
'interceptor_dev' (at offset 0xd0) and 'interceptor_notifier'
WARNING: could not find
/home/imadmin/VPN/vpnclient/.libdriver64.so.cmd for
/home/imadmin/VPN/vpnclient/libdriver64.so
CC /home/imadmin/VPN/vpnclient/cisco_ipsec.mod.o
LD [M] /home/imadmin/VPN/vpnclient/cisco_ipsec.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-53.el5-x86_64'
Create module directory "/lib/modules/2.6.18-53.el5/CiscoVPN".
Copying module to directory "/lib/modules/2.6.18-53.el5/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.
Creating global config /etc/opt/cisco-vpnclient
Installing license.txt (VPN Client license) in
"/opt/cisco-vpnclient/":
Installing bundled user profiles in
"/etc/opt/cisco-vpnclient/Profiles/":
* New Profiles : Rickspace 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 (group bin readable)
/etc/opt/cisco-vpnclient/Profiles (group bin readable)
/etc/opt/cisco-vpnclient/Certificates (group bin readable)
* 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.
[imadmin@shadow vpnclient]$
[/code]
but when i try with:
vpnclient connect <profilename> user <user> pw <passwd>
it says:
bash: /usr/local/bin/vpnclient: Accessing a corrupted shared library
I have vpnc working in my RHEL 5.1 tikanga but there is frequent disconnecivity.I explore and googled and got the link: http://linux.derkeiler.com/Mailing-L.../msg02624.html
It suggest to add a line in vpnc.config:
Do you think he could be right?
I can see that vpnclient under /opt/cisco-vpnclient/bin is owned by root.
Running it with sudo user could create an issue? What yu say?
Last edited by your_shadow03; 02-08-2010 at 10:03 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.