Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- seth@seth-XPS-630i:~$ cd vpninstall/
- seth@seth-XPS-630i:~/vpninstall$ ls
- vpnclient vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz
- seth@seth-XPS-630i:~/vpninstall$ cd vpnclient/
- seth@seth-XPS-630i:~/vpninstall/vpnclient$ ls
- AMD-PATCH-README.txt driver_build.sh IPSecDrvOSFunctions.h libdriver.so linuxcniapi.h sample.pcf vpnclient.ini vpn_uninstall
- cisco_cert_mgr frag.c IPSecDrvOS_linux.c libvpnapi.so linuxkernelapi.c unixcniapi.h vpnclient_init
- Cniapi.h frag.h IPSecDrvOS_linux.h license.rtf linux_os.h unixkernelapi.h vpnclient.patch-2.6.38
- config.h GenDefs.h ipseclog license.txt Makefile vpnapi.h vpn_install
- cvpnd interceptor.c libdriver64.so linuxcniapi.c mtu.h vpnclient vpn_ioctl_linux.h
- seth@seth-XPS-630i:~/vpninstall/vpnclient$ patch
- ^C
- seth@seth-XPS-630i:~/vpninstall/vpnclient$ patch <vnpnclient.patch-2.6.38
- bash: vnpnclient.patch-2.6.38: No such file or directory
- seth@seth-XPS-630i:~/vpninstall/vpnclient$ patch <vpnclient.patch-2.6.38
- patching file frag.c
- patching file interceptor.c
- patching file IPSecDrvOS_linux.c
- patching file linuxcniapi.c
- patching file linuxcniapi.h
- patching file linuxkernelapi.c
- patching file Makefile
- seth@seth-XPS-630i:~/vpninstall/vpnclient$ sudo ./vpn_install
- [sudo] password for seth:
- 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]
- 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.
- Directory containing linux kernel source code [/lib/modules/3.0.0-12-generic-pae/build]
- * Binaries will be installed in "/usr/local/bin".
- * Modules will be installed in "/lib/modules/3.0.0-12-generic-pae/CiscoVPN".
- * The VPN service will be started AUTOMATICALLY at boot time.
- * Kernel source from "/lib/modules/3.0.0-12-generic-pae/build" will be used to build the module.
- Is the above correct [y]
- Making module
- In file included from /lib/modules/3.0.0-12-generic-pae/build/include/linux/kernel.h:13:0,
- from /lib/modules/3.0.0-12-generic-pae/build/include/linux/skbuff.h:17,
- from /lib/modules/3.0.0-12-generic-pae/build/include/linux/if_ether.h:126,
- from /lib/modules/3.0.0-12-generic-pae/build/include/linux/netdevice.h:29,
- from linuxcniapi.c:20:
- /lib/modules/3.0.0-12-generic-pae/build/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
- compilation terminated.
- In file included from /lib/modules/3.0.0-12-generic-pae/build/include/linux/kernel.h:13:0,
- from /lib/modules/3.0.0-12-generic-pae/build/include/linux/cache.h:4,
- from /lib/modules/3.0.0-12-generic-pae/build/include/linux/time.h:7,
- from /lib/modules/3.0.0-12-generic-pae/build/include/linux/stat.h:60,
- from /lib/modules/3.0.0-12-generic-pae/build/include/linux/module.h:10,
- from interceptor.c:19:
- /lib/modules/3.0.0-12-generic-pae/build/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
- compilation terminated.
- In file included from /lib/modules/3.0.0-12-generic-pae/build/include/linux/thread_info.h:52:0,
- from /lib/modules/3.0.0-12-generic-pae/build/include/linux/preempt.h:9,
- from /lib/modules/3.0.0-12-generic-pae/build/include/linux/spinlock.h:50,
- from /lib/modules/3.0.0-12-generic-pae/build/include/linux/vmalloc.h:4,
- from IPSecDrvOS_linux.c:22:
- /lib/modules/3.0.0-12-generic-pae/build/include/linux/bitops.h:22:24: fatal error: asm/bitops.h: No such file or directory
- compilation terminated.
- In file included from /lib/modules/3.0.0-12-generic-pae/build/include/linux/kernel.h:13:0,
- from /lib/modules/3.0.0-12-generic-pae/build/include/linux/skbuff.h:17,
- from /lib/modules/3.0.0-12-generic-pae/build/include/linux/if_ether.h:126,
- from /lib/modules/3.0.0-12-generic-pae/build/include/linux/netdevice.h:29,
- from frag.c:9:
- /lib/modules/3.0.0-12-generic-pae/build/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
- compilation terminated.
- In file included from linuxkernelapi.c:1:0:
- /lib/modules/3.0.0-12-generic-pae/build/include/linux/string.h:21:24: fatal error: asm/string.h: No such file or directory
- compilation terminated.
- ld: cannot find linuxkernelapi.o: No such file or directory
- ld: cannot find frag.o: No such file or directory
- ld: cannot find linuxcniapi.o: No such file or directory
- ld: cannot find IPSecDrvOS_linux.o: No such file or directory
- ld: cannot find interceptor.o: No such file or directory
- Failed to make module "cisco_ipsec".
- seth@seth-XPS-630i:~/vpninstall/vpnclient$ ls
- seth@seth-XPS-630i:~/vpninstall/vpnclient$ ls
- seth@seth-XPS-630i:~/vpninstall/vpnclient$ cd ..
- seth@seth-XPS-630i:~/vpninstall$ ls
- vpnclient vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz
- seth@seth-XPS-630i:~/vpninstall$ cd vpnclient/
- seth@seth-XPS-630i:~/vpninstall/vpnclient$ ls
- AMD-PATCH-README.txt driver_build.sh IPSecDrvOSFunctions.h libdriver.so linuxcniapi.h sample.pcf vpnclient.ini vpn_uninstall
- cisco_cert_mgr frag.c IPSecDrvOS_linux.c libvpnapi.so linuxkernelapi.c unixcniapi.h vpnclient_init
- Cniapi.h frag.h IPSecDrvOS_linux.h license.rtf linux_os.h unixkernelapi.h vpnclient_linux3.0.diff
- config.h GenDefs.h ipseclog license.txt Makefile vpnapi.h vpn_install
- cvpnd interceptor.c libdriver64.so linuxcniapi.c mtu.h vpnclient vpn_ioctl_linux.h
- seth@seth-XPS-630i:~/vpninstall/vpnclient$ patch <vpnclient_linux3.0.diff
- patching file driver_build.sh
- patching file vpnclient_init
- patching file vpn_install
- seth@seth-XPS-630i:~/vpninstall/vpnclient$ sudo ./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]
- 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.
- Directory containing linux kernel source code [/lib/modules/3.0.0-12-generic-pae/build]
- * Binaries will be installed in "/usr/local/bin".
- * Modules will be installed in "/lib/modules/3.0.0-12-generic-pae/CiscoVPN".
- * The VPN service will be started AUTOMATICALLY at boot time.
- * Kernel source from "/lib/modules/3.0.0-12-generic-pae/build" will be used to build the module.
- Is the above correct [y]
- Making module
- make -C /lib/modules/3.0.0-12-generic-pae/build SUBDIRS=/home/seth/vpninstall/vpnclient modules
- make[1]: Entering directory `/usr/src/linux-headers-3.0.0-12-generic-pae'
- CC [M] /home/seth/vpninstall/vpnclient/linuxcniapi.o
- /home/seth/vpninstall/vpnclient/linuxcniapi.c:14:28: fatal error: linux/autoconf.h: No such file or directory
- compilation terminated.
- make[2]: *** [/home/seth/vpninstall/vpnclient/linuxcniapi.o] Error 1
- make[1]: *** [_module_/home/seth/vpninstall/vpnclient] Error 2
- make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-12-generic-pae'
- make: *** [default] Error 2
- Failed to make module "cisco_ipsec.ko".
- seth@seth-XPS-630i:~/vpninstall/vpnclient$ patch <vpnclient.patch-2.6.38
- patching file frag.c
- patching file interceptor.c
- patching file IPSecDrvOS_linux.c
- patching file linuxcniapi.c
- patching file linuxcniapi.h
- patching file linuxkernelapi.c
- patching file Makefile
- seth@seth-XPS-630i:~/vpninstall/vpnclient$ sudo ./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]
- 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.
- Directory containing linux kernel source code [/lib/modules/3.0.0-12-generic-pae/build]
- * Binaries will be installed in "/usr/local/bin".
- * Modules will be installed in "/lib/modules/3.0.0-12-generic-pae/CiscoVPN".
- * The VPN service will be started AUTOMATICALLY at boot time.
- * Kernel source from "/lib/modules/3.0.0-12-generic-pae/build" will be used to build the module.
- Is the above correct [y]
- Making module
- make -C /lib/modules/3.0.0-12-generic-pae/build SUBDIRS=/home/seth/vpninstall/vpnclient modules
- make[1]: Entering directory `/usr/src/linux-headers-3.0.0-12-generic-pae'
- CC [M] /home/seth/vpninstall/vpnclient/linuxcniapi.o
- CC [M] /home/seth/vpninstall/vpnclient/frag.o
- CC [M] /home/seth/vpninstall/vpnclient/IPSecDrvOS_linux.o
- CC [M] /home/seth/vpninstall/vpnclient/interceptor.o
- CC [M] /home/seth/vpninstall/vpnclient/linuxkernelapi.o
- LD [M] /home/seth/vpninstall/vpnclient/cisco_ipsec.o
- Building modules, stage 2.
- MODPOST 1 modules
- WARNING: could not find /home/seth/vpninstall/vpnclient/.libdriver.so.cmd for /home/seth/vpninstall/vpnclient/libdriver.so
- CC /home/seth/vpninstall/vpnclient/cisco_ipsec.mod.o
- LD [M] /home/seth/vpninstall/vpnclient/cisco_ipsec.ko
- make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-12-generic-pae'
- Create module directory "/lib/modules/3.0.0-12-generic-pae/CiscoVPN".
- Copying module to directory "/lib/modules/3.0.0-12-generic-pae/CiscoVPN".
- Already have group 'bin'
- Creating start/stop script "/etc/init.d/vpnclient_init".
- /etc/init.d/vpnclient_init
- Enabling start/stop script for run level 3,4 and 5.
- 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/":
- * New Profiles : sample
- Copying binaries to directory "/opt/cisco-vpnclient/bin".
- Adding symlinks to "/usr/local/bin".
- /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.
- seth@seth-XPS-630i:~/vpninstall/vpnclient$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement