posto questa semplice guida per chi utilizza il Client Cisco VPN e vuole passare alla versione del kernel maggiore della 2.6.18.
Utilizzavo regolarmente il client Cisco VPN
Codice: Seleziona tutto
vpnclient-linux-4.6.02.0030-k9.tar.gz
Codice: Seleziona tutto
bash-3.1# ./vpn_install
Cisco Systems VPN Client Version 4.0.3 (B) Linux Installer
Copyright (C) 1998-2001 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.
For RedHat 6.x users these files are installed in /usr/src/linux by default
For RedHat 7.x users these files are installed in /usr/src/linux-2.4 by default
For Suse 7.3 users these files are installed in /usr/src/linux-2.4.10.SuSE by default
Directory containing linux kernel source code [/lib/modules/2.6.21.5/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.21.5/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.21.5/build" will be used to build the module.
Is the above correct [y]
Shutting down /opt/cisco-vpnclient/bin/vpnclient: module cisco_ipsec is not running.
Stopped: /etc/init.d/vpnclient_init (VPN init script)
Making module
linuxcniapi.c:12:26: error: linux/config.h: No such file or directory
In file included from /lib/modules/2.6.21.5/build/include/asm/thread_info.h:16,
from /lib/modules/2.6.21.5/build/include/linux/thread_info.h:21,
from /lib/modules/2.6.21.5/build/include/linux/preempt.h:9,
from /lib/modules/2.6.21.5/build/include/linux/spinlock.h:49,
from /lib/modules/2.6.21.5/build/include/linux/seqlock.h:29,
from /lib/modules/2.6.21.5/build/include/linux/time.h:7,
from /lib/modules/2.6.21.5/build/include/linux/skbuff.h:19,
from /lib/modules/2.6.21.5/build/include/linux/if_ether.h:111,
from /lib/modules/2.6.21.5/build/include/linux/netdevice.h:29,
Dunque, innanzitutto non sapevo dell'esistenza delle pach per tale client. Seguendo il post ho scaricato il clien Cisco VPN pi recente
Codice: Seleziona tutto
vpnclient-linux-4.8.00.0490-k9.tar.gz
Codice: Seleziona tutto
vpnclient-linux-2.6.22.diff
Codice: Seleziona tutto
#tar -xvf ./vpnclient-linux-4.8.00.0490-k9.tar.gz
#patch <../vpnclient-linux-2.6.22.diff
patching file frag.c
patching file interceptor.c
patching file IPSecDrvOS_linux.c
patching file linuxcniapi.c
patching file linux_os.h./vpn_install
# ./vpn_install
Ciao!

