LinuxQuestions.org
Register a domain and help support LQ
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-15-2008, 10:14 AM   #1
Exeunt
LQ Newbie
 
Registered: Feb 2007
Location: Horsham, PA
Distribution: Slackware 12.2, 14, Current
Posts: 18

Rep: Reputation: 1
Question Cisco VPN Client version for Slackware 12.1?


Hi All,

Can someone tell me which version of the Cisco VPN Client works with Slackware 12.1?

I tried vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz and got compile errors.

Thanks,

Ed
 
Old 08-15-2008, 10:20 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,042

Rep: Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761
vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz works just fine.
 
Old 08-15-2008, 03:58 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Quote:
Originally Posted by Exeunt View Post
Hi All,

Can someone tell me which version of the Cisco VPN Client works with Slackware 12.1?

I tried vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz and got compile errors.

Thanks,

Ed
How about you post the compile errors?
Maybe along with a 'uname -a'? And, of course, Slackware
doesn't come as 64-bit. Unless you're using bluewhite or
slamd you'll want to find a client w/o _64 in the name ;}



Cheers,
Tink
 
Old 08-15-2008, 04:45 PM   #4
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,042

Rep: Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761
I will reiterate: vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz works just fine with Slackware 12.1; it is a combined 32/64 bit package. A Google search of that file name turns up multiple sites detailing the version, many feature download. If I remember correctly, I got it from http://tuxx-home.at/archives/2007/09/24/T15_26_49.
 
Old 08-15-2008, 05:11 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Nice "feature" then, to choose a name like that :}

Thanks for pointing this out.
 
Old 08-17-2008, 05:25 AM   #6
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
Tinkster RTFM!

Isn't there a cisco client in the kernel source? Is this part of it? You missing the module or does the gz file build the module?

I have needed the crisco client before but couldn't find it, and it is discontinued on crisco's web page. Then later I saw something about it in the kernel source but I didn't need it then, oh well.

Haha me too, RTFM.
 
Old 08-17-2008, 01:13 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Quote:
Originally Posted by skog View Post
Tinkster RTFM!
Which one? The one of the client software I haven't used
in almost three years? The part of the kernel documentation
that I do not need to build? Why would I?
 
Old 08-18-2008, 10:42 AM   #8
Exeunt
LQ Newbie
 
Registered: Feb 2007
Location: Horsham, PA
Distribution: Slackware 12.2, 14, Current
Posts: 18

Original Poster
Rep: Reputation: 1
Thumbs down Not so fine

Quote:
Originally Posted by tronayne View Post
vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz works just fine.
Well Tromayne,

I tried to compile it 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".

Then I edited GenDefs.h to fix this problem 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".

This doesn't seem so fine to me!

Ed
 
Old 08-18-2008, 11:44 AM   #9
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,042

Rep: Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761
Don't know what to tell you; I'm running (un-screwed-around-with)
Code:
uname -a
Linux fubar 2.6.24.5-smp #2 SMP Wed Apr 30 13:41:38 CDT 2008 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
and
Code:
vpnclient --version
4.8.01 (0640)
and, as we speak, vpnclient is running connected to a remote Cisco box connected to a Sun farm. And cisco_ipsec.ko is sitting in /lib/modules/2.6.24.5-smp/CiscoVPN.

You are logged in as root to build it, right.

EDIT: Did you run vpn_uninstall (to remove the previous try that failed) first? You may have some junk laying around from that.

Last edited by tronayne; 08-18-2008 at 02:01 PM.
 
Old 08-21-2008, 11:19 AM   #10
Exeunt
LQ Newbie
 
Registered: Feb 2007
Location: Horsham, PA
Distribution: Slackware 12.2, 14, Current
Posts: 18

Original Poster
Rep: Reputation: 1
Tronayne,

Yes, I did the ./vpn-uninstall first.

Here is the md5sum of the file I used. Maybe you can check it against yours. My installation is also plain vanilla, I haven't modified anything from the time I installed 12.1.

34e134bc95c926854f40a02012e47eb6 vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz


Ed
 
Old 08-21-2008, 11:42 AM   #11
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,042

Rep: Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761
Well, looks pretty similar:
Code:
md5sum /usr/local/src/vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz
34e134bc95c926854f40a02012e47eb6  /usr/local/src/vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz
About the only thing I can remember from long, long ago is when there was a diff file for a Slackware installation and I had to uninstall and reinstall with the patch a couple of times -- but that was long ago and a different version and not relevant to this problem.

What I do to install this (and most things that aren't GUI) logged in as root on the console (not sudo, actual login) without starting X or anything and run vpn_install. This time out, that went clean as a whistle and worked just fine first time and every time since; it's sitting there mumbling to itself right now, yakking away with the router at the other end.

So, I dunno from there.
 
  


Reply

Tags
networking, 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 version for Slackware 12.1? Exeunt Slackware 1 08-15-2008 02:15 PM
Cisco VPN Client for Slackware 12.1 Exeunt Slackware 1 08-15-2008 02:14 PM
Slackware 12 and Cisco VPN Client 4.8.x tronayne Slackware 3 08-30-2007 08:17 PM
Slackware * Cisco VPN client issue mmoser63 Linux - Networking 1 12-28-2004 03:17 PM
Cisco VPN Client Version 4.0 Problem wth LM9.1 limck Linux - Networking 2 09-06-2003 01:36 AM


All times are GMT -5. The time now is 09:27 PM.

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