LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-18-2008, 09:22 AM   #1
Exeunt
LQ Newbie
 
Registered: Feb 2007
Location: Horsham, PA
Distribution: Slackware 12.2, 14, Current
Posts: 18

Rep: Reputation: 1
Cisco VPN Client


Hi All,

Somebody told me that vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz worked fine with Slack 12.1.

I tried to do vpn_install and got:

Directory containing linux kernel source code [/lib/modules/2.6.24.5-smp/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.24.5-smp/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.24.5-smp/build" will be used to build the module.

Is the above correct [y]
Making module
make -C /lib/modules/2.6.24.5-smp/build SUBDIRS=/usr/src/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.24.5'
CC [M] /usr/src/vpnclient/linuxcniapi.o
In file included from /usr/src/vpnclient/Cniapi.h:15,
from /usr/src/vpnclient/linuxcniapi.c:31:
/usr/src/vpnclient/GenDefs.h:113: error: conflicting types for 'uintptr_t'
include/linux/types.h:40: error: previous declaration of 'uintptr_t' was here
make[2]: *** [/usr/src/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/usr/src/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".


So I went and fixed the GenDefs.h file to fix this and tried again:

Directory containing linux kernel source code [/lib/modules/2.6.24.5-smp/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.24.5-smp/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.24.5-smp/build" will be used to build the module.

Is the above correct [y]
Making module
make -C /lib/modules/2.6.24.5-smp/build SUBDIRS=/usr/src/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.24.5'
CC [M] /usr/src/vpnclient/linuxcniapi.o
CC [M] /usr/src/vpnclient/frag.o
CC [M] /usr/src/vpnclient/IPSecDrvOS_linux.o
CC [M] /usr/src/vpnclient/interceptor.o
/usr/src/vpnclient/interceptor.c:366:23: error: macro "for_each_netdev" requires 2 arguments, but only 1 given
/usr/src/vpnclient/interceptor.c: In function 'handle_vpnup':
/usr/src/vpnclient/interceptor.c:366: error: 'for_each_netdev' undeclared (first use in this function)
/usr/src/vpnclient/interceptor.c:366: error: (Each undeclared identifier is reported only once
/usr/src/vpnclient/interceptor.c:366: error: for each function it appears in.)
/usr/src/vpnclient/interceptor.c:370: error: expected ';' before '{' token
make[2]: *** [/usr/src/vpnclient/interceptor.o] Error 1
make[1]: *** [_module_/usr/src/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".

So this version doesn't seem to work fine for me.

Ed
 
Old 08-18-2008, 01:04 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,397

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
at the risk of not answering your question, vpnc is a *much* simpler and nicer replacement for the Cisco own client. there are no kernel modules or services involved, so it's really hard to get wrong.
 
Old 08-19-2008, 05:32 AM   #3
Exeunt
LQ Newbie
 
Registered: Feb 2007
Location: Horsham, PA
Distribution: Slackware 12.2, 14, Current
Posts: 18

Original Poster
Rep: Reputation: 1
Chris,

I need to be compatible with the Cisco VPN run by my company. Will vpnc do that?

Ed
 
Old 08-19-2008, 02:17 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,397

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
yes, that's why i recommended it.
 
Old 08-22-2008, 03:08 AM   #5
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
There's a SlackBuild available for it at SlackBuilds.org as well. My university uses Cisco VPN and it runs perfectly.
 
Old 09-13-2008, 06:35 PM   #6
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Is this the same thing as the kvpnc package in gslapt? I tried installing the same Cisco VPN version as OP and got module compile errors, but I used the install script and the init script and somehow it worked. The problem I ran into was it required a profile, yet I've found no documentation regarding how one creates one. I'll check out vpnc.
ta0kira

edit:
I now see that it's just a KDE front-end, so I'm downloading vpnc "proper." Thanks for posting the suggestion.

Last edited by ta0kira; 09-13-2008 at 06:40 PM.
 
Old 09-14-2008, 01:10 AM   #7
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
I never tried kvpnc, but for regular vpnc, the instructions on how to configure the connections are in the manpage.
 
Old 09-14-2008, 07:22 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,397

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
afaik kvpnc has expanded to become a wrapper for *multiple* vpn backends, not just vpnc, so you'll need to ensure it's configured right for vpnc itself. I assume options aren't in menus and things like that if the right backend isn't there.
 
Old 09-14-2008, 02:44 PM   #9
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
vpnclient doesn't have a manpage, and I don't even think it has a readme.

Yes, kvpnc is a front-end for quite a few programs, to include both Cisco VPN and vpnc.
ta0kira
 
Old 10-22-2008, 09:34 PM   #10
eschwarz
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
I'm new to linux and need a vpn client.

I read these and installed the software as directed. However, I get this error when I execute "nm-vpn-properties" file (the only executable I saw" and click "add":
"No suitable VPN software was found on your system. Contact your system administrator."

I thought this vpnc WAS VPN software. These threads suggest that vpnc is a replacement for VPN Client. What don't I get?

I run RHEL 5 and have a few months using it.
 
Old 10-23-2008, 02:28 AM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,397

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
vpnc is not nm-vpn-properties, vpnc is only one binary, vpnc, which IS a *cisco* vpn client implementation. You're just looking at a third party gui to manage multiple vpn backends. ditch the gui stuff and use the vpnc command itself from a terminal to clear the air.
 
  


Reply

Tags
network, vpn


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco VPN Client rgbeard Linux - Software 12 04-02-2008 11:44 PM
cisco vpn 4.6 client mnauta Linux - General 6 12-04-2005 06:03 PM
Cisco VPN-Client nodream Linux - Networking 3 12-23-2003 04:36 PM
Connect to Cisco VPN w/o Cisco VPN Client gboutwel Linux - Networking 4 02-07-2003 12:46 PM
cisco vpn client aqoliveira Linux - Networking 4 07-19-2002 08:09 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration