LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Cisco VPN Client version for Slackware 12.1? (https://www.linuxquestions.org/questions/slackware-14/cisco-vpn-client-version-for-slackware-12-1-a-663000/)

Exeunt 08-15-2008 10:14 AM

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

tronayne 08-15-2008 10:20 AM

vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz works just fine.

Tinkster 08-15-2008 03:58 PM

Quote:

Originally Posted by Exeunt (Post 3248622)
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

tronayne 08-15-2008 04:45 PM

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.

Tinkster 08-15-2008 05:11 PM

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

Thanks for pointing this out.

skog 08-17-2008 05:25 AM

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.

Tinkster 08-17-2008 01:13 PM

Quote:

Originally Posted by skog (Post 3250462)
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?

Exeunt 08-18-2008 10:42 AM

Not so fine
 
Quote:

Originally Posted by tronayne (Post 3248634)
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

tronayne 08-18-2008 11:44 AM

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.

Exeunt 08-21-2008 11:19 AM

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

tronayne 08-21-2008 11:42 AM

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.


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