You are not logged in.

#1 2008-08-17 23:29:10

redefine
Member
Registered: 2008-07-17
Posts: 35

cisco vpn module

so i've given up on trying to make the iwlwifi drivers work with wpa (i have an intel 3945), cause apparently alot of people are having trouble with it.

the uni also lets us connect through a cisco vpn. i've downloaded a profile for it and installed the cisco-vpn package from AUR. it says it cant find the driver, so i tried modprobe cisco-ipsec (i think thats the right one) and it couldnt be found. so then i went to the modules directory and it wasnt there. i assumed the module would be installed with the cisco-vpnclient package.

so, can anyone tell me where to find the right module for it?

Offline

#2 2008-08-18 00:34:40

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: cisco vpn module

personally, I found out that if you will not rely on AUR in the case of few drivers then you should not have any problems.

I am using cisco vpnclient from Unofficial Cisco VPN client updates for Linux which compiles and works.
Also my intel 3945 never failed to work under linux. The latter may be related simply to better hardware implementation by HP than by other laptop manufacturers.

Offline

#3 2008-08-18 02:42:58

redefine
Member
Registered: 2008-07-17
Posts: 35

Re: cisco vpn module

i have a hp laptop too. and the iwlwifi works fantastic with my home network (wep and mac filtering) but i had heaps of trouble with getting it to work with wpa (it'll associate but not authenticate, even with the right certificate). that might be a problem with the uni network itself, but that dosent really solve my problem.

i'll try that source, is it a repo, or just a site you can get the source from?

Offline

#4 2008-08-18 16:53:19

derelict
Member
Registered: 2006-07-25
Posts: 81

Re: cisco vpn module

As for VPN, I would suggest trying the vpnc package in core. Easy to configure and even easier to use.

Offline

#5 2008-08-19 11:13:14

redefine
Member
Registered: 2008-07-17
Posts: 35

Re: cisco vpn module

i would use another client, but the uni has provided a profile specifically for use with the cisco client, which dosent really translate to the parameters in the vpnc.

so i tried downloading the latest vpnclient and patch it for the 2.6.24 kernel, which apparently works for the *.26 kernel aswell, and i got this (probably the reason is wasnt working before

[nathan@theMachine vpnclient]$ patch <../vpnclient-linux-2.6.24-final.diff
patching file GenDefs.h
Hunk #1 succeeded at 105 with fuzz 2.
Hunk #2 succeeded at 122 (offset 2 lines).
patching file interceptor.c
Hunk #3 FAILED at 111.
Hunk #4 succeeded at 151 (offset 5 lines).
Hunk #5 FAILED at 378.
Hunk #6 FAILED at 940.
Hunk #7 FAILED at 982.
4 out of 7 hunks FAILED -- saving rejects to file interceptor.c.rej
[nathan@theMachine vpnclient]$ sudo ./vpn_install
Password: 
Cisco Systems VPN Client Version 4.8.02 (0030) Linux Installer
Copyright (C) 1998-2006 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]/usr/bin

Automatically start the VPN service at boot time [no]n

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.26-ARCH/build]

* Binaries will be installed in "/usr/bin".
* Modules will be installed in "/lib/modules/2.6.26-ARCH/CiscoVPN".
* The VPN service will *NOT* be started automatically at boot time.
* Kernel source from "/lib/modules/2.6.26-ARCH/build" will be used to build the module.

Is the above correct [y]y

Making module
make -C /lib/modules/2.6.26-ARCH/build SUBDIRS=/home/nathan/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.26-ARCH'
  CC [M]  /home/nathan/vpnclient/linuxcniapi.o
In file included from /home/nathan/vpnclient/Cniapi.h:15,
                 from /home/nathan/vpnclient/linuxcniapi.c:31:
/home/nathan/vpnclient/GenDefs.h:223:2: error: #endif without #if
make[2]: *** [/home/nathan/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/nathan/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.26-ARCH'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".

Offline

#6 2008-08-19 13:49:24

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: cisco vpn module

I never had any problems with wpa/wpa2 on hp with ipw3945 so I can't comment.
Also vpnc has a lot of problems with encrypted pcf files, so I stick to the cisco vpn

I did not have any issues with
vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz

this is still working well with 2.6.26.2
however the latest one is
vpnclient-linux-x86-and-x86_64-4.8.01.0640-k9.tar.gz

which, I assume also should work as a more up to date version (I did not test it yet)
I patched
vpnclient-linux-x86-and-x86_64-4.8.01.0640-k9.tar.gz

which looked as follows:
broch[~/net/wireless/VPNCLIENT_for_2.6.24/test/vpnclient]$ patch < ~/downloads/wireless/VPNCLIENT_for_2.6.24/vpnclient-linux-2.6.24-final.diff
patching file GenDefs.h
patching file interceptor.c
broch[~/net/wireless/VPNCLIENT_for_2.6.24/test/vpnclient]$

My understanding is that you are trying to patch earlier version?

Offline

#7 2008-08-19 23:46:02

redefine
Member
Registered: 2008-07-17
Posts: 35

Re: cisco vpn module

i thought i got the latest one, but i'll try it again, making sure i get the latest one.

so i did it with vpnclient-linux-x86_64-4.8.02.0030.tar.gz uncompressed to ~/vpnclient
so i changed to ~/vpnclient and patched it with: patch < ../vpnclient-linux-2.6.24-final.diff (the patch file was one directory up from the vpnclient file)
it patches GenDefs.h fine, but 4 hunks fail in interceptor.c, same as above, so its not the version. i dont know how to fix it.

Offline

Board footer

Powered by FluxBB