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.

Installing the Software

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 stop

If you are upgrading from the VPN 3000 Client to the VPN Client, use the following stop command:

/etc/rc.d/init.d/vpnclient_init stop

To 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_install

The default directories for the binaries, kernel, VPN modules, and profiles are listed during the installation process.

You receive the following prompts during the installation:

Directory where binaries will be installed [/lib/modules/<kernel version>/build/]
Automatically start the VPN service at boot time [yes]
Directory containing linux kernel source code [/usr/src/linux]
Is the above correct [y]

With kernel 2.6.24 you will need a patch to install Cisco VPN Client, if you get the following;

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 start

Establishing a Connection

To 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