Install Shrew Soft VPN client on Ubuntu 12.10
Step 0: If you already have a working Shrew Soft VPN client, use the 'export' feature to export the configuration settings. This file can easily be imported when the new version is up and running.
Step 1: download shrew soft package here: http://www.shrew.net/download/ike At the time of writing (01/29/2013) the file is: ike-2.2.0-rc-2.tgz It's not the stable release but works fine as far as I can tell.
Step 2: untar package into a directory and navigate to the folder created called: ike
Step 3: try to prepare for install. Run this command:
cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -DETCDIR=/etc -DNATT=YES
Step 4: install dependencies. The initial cmake command failed for me the first two times because I needed to install these dependencies: libedit and qt4
sudo apt-get install libedit-dev sudo apt-get install libqt4-core libqt4-dev libqt4-gui
Step 5: prepare for installation: Run this command again:
cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -DETCDIR=/etc -DNATT=YES cmake .
Step 6: install the application using this command
sudo make install
Step 7: launch the shrew soft daemon
Step 8: launch the graphical interface
sudo qikea or sudo qikea &
Step 9: use the import feature or set up a new connection.
Step 10: done
Put the startup script (in ../ike/script/linux/iked) in /etc/init.d and install the script:
cp iked /etc/init.d cd /etc/init.d update-rc.d iked defaults
Ignore the warning, "this script has no LSB information". iked will now start at reboot. It is also possible to add the GUI frontend (qikea) to the main menu. It has to run as root. Change /etc/sudoers accordingly. On my own laptop I just added a NOPASSWD: to the admin group. I'm the only user.