Friday, March 25, 2011

Cisco VPN 4.8.01 on Fedora 14 64-bit (x86_64) Linux

Thanks to http://www.lamnk.com/blog/vpn/how-to-install-cisco-vpn-client-on-ubuntu-jaunty-jackalope-and-karmic-koala-64-bit/ and http://www.lamnk.com/blog/vpn/with-kernel-2624-you-will-need-a-patch-to-install-cisco-vpn-client/ and http://www.lamnk.com/blog/vpn/how-to-install-cisco-vpn-client-on-ubuntu-hardy-heron-804/ and http://www.lamnk.com/blog/vpn/with-kernel-2624-you-will-need-a-patch-to-install-cisco-vpn-client/

  1. Untar the vpnclient-linux-x86_64-4.8.01.*.tar.gz file
  2. cd vpnclient
  3. sudo ./vpn_install
  4. You will probably get failures.  If you get failures:
  5. wget http://projects.tuxx-home.at/ciscovpn/patches/vpnclient-linux-2.6.24-final.diff
  6. patch < ./vpnclient-linux-2.6.24-final.diff
  7. wget http://lamnk.com/download/vpnclient-linux-4.8.02-64bit.patch
  8. patch < ./vpnclient-linux-4.8.02-64bit.patch
  9. sed -i 's/^CFLAGS/EXTRA_CFLAGS/' Makefile
  10. wget http://lamnk.com/download/vpnclient-linux-2.6.31-final.diff
  11. patch < ./vpnclient-linux-2.6.31-final.diff
  12. sudo sed -i 's/const\ struct\ net_device_ops\ \*netdev_ops;/struct\ net_device_ops\ \*netdev_ops;/' `find /usr/src -name netdevice.h`
  13. sudo ./vpn_install
  14. sudo /sbin/service vpnclient_init start
  15. sudo yum install glibc glibc-devel glibc.i686 glibc-devel.i686
  16. copy *.pcf files to /etc/opt/cisco-vpnclient/Profiles directory
  17. vpnclient connect site-name (site-name is the same as site-name.pcf)