Need installing two patch:
vpnclient-linux-2.6.31-final.diff
vpnclient-linux-4.8.02-64bit.patch
After installing patches…
linux-jd1t:/home/akovalev/Загрузки/vpnclient # sed -i ‘s/const\ struct\ net_device_ops\ *netdev_ops;/struct\ net_device_ops\ *netdev_ops;/’ find /usr/src -name netdevice.h
linux-jd1t:/home/akovalev/Загрузки/vpnclient # ./vpn_install
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/opt/cisco/vpn
Automatically start the VPN service at boot time
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 /usr/src/linux-2.6.37.6-0.11-obj/x86_64/desktop
- Binaries will be installed in “/opt/cisco/vpn”.
- Modules will be installed in “/lib/modules/2.6.37.6-0.7-desktop/CiscoVPN”.
- The VPN service will be started AUTOMATICALLY at boot time.
- Kernel source from “/usr/src/linux-2.6.37.6-0.11-obj/x86_64/desktop” will be used to build the module.
Is the above correct y
Making module
make -C /usr/src/linux-2.6.37.6-0.11-obj/x86_64/desktop SUBDIRS=/home/akovalev/Загрузки/vpnclient modules
make: Entering directory /usr/src/linux-2.6.37.6-0.11-obj/x86_64/desktop' make -C ../../../linux-2.6.37.6-0.11 O=/usr/src/linux-2.6.37.6-0.11-obj/x86_64/desktop/. modules CC /home/akovalev/Загрузки/vpnclient/linuxcniapi.o CC /home/akovalev/Загрузки/vpnclient/frag.o CC /home/akovalev/Загрузки/vpnclient/interceptor.o /home/akovalev/Загрузки/vpnclient/interceptor.c: In function ‘interceptor_init’: /home/akovalev/Загрузки/vpnclient/interceptor.c:140:21: warning: assignment discards qualifiers from pointer target type CC /home/akovalev/Загрузки/vpnclient/linuxkernelapi.o LD /home/akovalev/Загрузки/vpnclient/cisco_ipsec.o Building modules, stage 2. MODPOST 1 modules WARNING: could not find /home/akovalev/Загрузки/vpnclient/.libdriver64.so.cmd for /home/akovalev/Загрузки/vpnclient/libdriver64.so CC /home/akovalev/Загрузки/vpnclient/cisco_ipsec.mod.o LD /home/akovalev/Загрузки/vpnclient/cisco_ipsec.ko make: Leaving directory
/usr/src/linux-2.6.37.6-0.11-obj/x86_64/desktop’
Create module directory “/lib/modules/2.6.37.6-0.7-desktop/CiscoVPN”.
Copying module to directory “/lib/modules/2.6.37.6-0.7-desktop/CiscoVPN”.
Already have group ‘bin’
Creating start/stop script “/etc/init.d/vpnclient_init”.
/etc/init.d/vpnclient_init
insserv: warning: script ‘vpnclient_init’ missing LSB tags and overrides
insserv: warning: script ‘vpnclient_init’ missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script vpnclient_init' vpnclient_init Enabling start/stop script for run level 3,4 and 5. insserv: warning: script 'vpnclient_init' missing LSB tags and overrides insserv: warning: script 'vpnclient_init' missing LSB tags and overrides insserv: Default-Start undefined, assuming default start runlevel(s) for script
vpnclient_init’
insserv: Service syslog is missed in the runlevels 4 to use service vboxdrv
vpnclient_init
Creating global config /etc/opt/cisco-vpnclient
Installing license.txt (VPN Client license) in “/opt/cisco-vpnclient/”:
/opt/cisco-vpnclient/license.txt
Installing bundled user profiles in “/etc/opt/cisco-vpnclient/Profiles/”:
Copying binaries to directory “/opt/cisco-vpnclient/bin”.
Adding symlinks to “/opt/cisco/vpn”.
/opt/cisco-vpnclient/bin/vpnclient
/opt/cisco-vpnclient/bin/cisco_cert_mgr
/opt/cisco-vpnclient/bin/ipseclog
Copying setuid binaries to directory “/opt/cisco-vpnclient/bin”.
/opt/cisco-vpnclient/bin/cvpnd
Copying libraries to directory “/opt/cisco-vpnclient/lib”.
/opt/cisco-vpnclient/lib/libvpnapi.so
Copying header files to directory “/opt/cisco-vpnclient/include”.
/opt/cisco-vpnclient/include/vpnapi.h
Setting permissions.
/opt/cisco-vpnclient/bin/cvpnd (setuid root)
/opt/cisco-vpnclient (group bin readable)
/etc/opt/cisco-vpnclient (group bin readable)
/etc/opt/cisco-vpnclient/Profiles (group bin readable)
/etc/opt/cisco-vpnclient/Certificates (group bin readable)
- You may wish to change these permissions to restrict access to root.
- You must run “/etc/init.d/vpnclient_init start” before using the client.
- This script will be run AUTOMATICALLY every time you reboot your computer.