The Cisco VPN client has been repacked with the UQ-VPN profile. The following is a quick install guide, for more detailed install view the userguide in PDF or visit Cisco website for VPN userguide for Linux
Please note the ITS HelpDesk cannot give detailed phone support for this guide. If you're having issues with the installation and running you can email the ITS HelpDesk help@its.uq.edu.au
The UQ VPN Client is shipped as a compressed tar file.
Download and extract the UQ VPN Client to a directory of your choice. For example
zcat UQVPN-linux.4.6.01.0030.tar.gz | tar xvf -
This command creates the vpnclient directory in the current directory.
Before you install a new version of the UQ VPN Client, or before you reinstall your current version, you must use the stop command to disable VPN service.
If you are upgrading from the VPN 5000 Client to the VPN Client, use the following stop command:
/etc/rc.d/init.d/vpn stopIf you are upgrading from the VPN 3000 Client to the VPN Client, use the following stop command:
/etc/rc.d/init.d/vpnclient_init stopTo install the VPN Client for Linux
Step 1 Obtain superuser privileges to run the install script.
Step 2 Enter the following commands:
cd vpnclient ./vpn_installThe default directories for the binaries, kernel, VPN modules, and profiles are listed during the installation process.
You receive the following prompts during the installation:
make -C /lib/modules/2.6.24-ARCH/build SUBDIRS=/usr/src/vpnclient modules make[1]: Entering directory ‘/usr/src/linux-2.6.24-ARCH’ CC [M] /usr/src/vpnclient/linuxcniapi.o In file included from /usr/src/vpnclient/Cniapi.h:15, from /usr/src/vpnclient/linuxcniapi.c:31: /usr/src/vpnclient/GenDefs.h:113: error: conflicting types for ‘uintptr_t’ include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here make[2]: *** [/usr/src/vpnclient/linuxcniapi.o] Error 1 make[1]: *** [_module_/usr/src/vpnclient] Error 2 make[1]: Leaving directory ‘/usr/src/linux-2.6.24-ARCH’ make: *** [default] Error 2
You'll need to run the patch
cd /path/to/the/vpnclientfolder wget http://uqconnect.net/helpdesk/guides/vpn/linux/vpnclient-linux-2.6.24-final.diff patch < ./vpnclient-linux-2.6.24-final.diff
This is due to a change in 2.6.24 kernel that the “init_net” symbol is now again exported using EXPORT_SYMBOL() instead of EXPORT_SYMBOL_GPL()
[source]
Step 3 Press Enter to choose the default response. At the directory prompts, if you do not choose the default, you must enter another directory in your user's path.
Step 4 If the installer cannot auto detect these settings, you might receive the following prompts:
Directory containing init scripts:
The directory where scripts that are run at boot time are kept. Typically this is /etc/init.d or /etc/rc.d/init.d
Directory containing run level directories (rcX.d):
The directory that contains init's run level directories. Typically this is /etc or /etc/rc.d
Step 5 Enable the VPN service by using one of the following methods:
Restart your computer.
Enable the service without restarting. Enter the following command:
etc/rc.d/init.d/vpnclient_init startTo establish a connection, enter the following command:
vpnclient connect UQ-VPN [user <username>] [pwd <password>]
Examples
vpnclient connect UQ-VPN you will be prompted for username and password
vpnclient connect UQ-VPN user uqjcitiz you will be prompted just for the password