Showing posts with label vpn. Show all posts
Showing posts with label vpn. Show all posts

Wednesday, November 25, 2009

Cisco VPN Client on Karmic Koala

This link worked for me to install the Cisco VPN client on Ubuntu 9.10 (64 bit btw).

http://ilapstech.blogspot.com/2009/09/cisco-vpn-client-on-karmic-koala.html

I also have a simple script I run when I need to connect to a client.  The script lists all my profiles and I just type in the name to connect.

I have a folder I place some scripts in.
Assuming you have the client installed in the recommended directories.

code:


cd ~mkdir Tools
cd Tools
gedit vpnconnect
#! /bin/bash
sudo /etc/init.d/vpnclient_init stop
sudo /etc/init.d/vpnclient_init start
ls /etc/opt/cisco-vpnclient/Profiles/
echo -n "Enter VPN Client: "
read -e VPN
sudo vpnclient connect $VPN
! save gedit and close
chmod +x vpnconnect


Create a shortcut to the file if desired.
On the desktop - Right click and create launcher.
Choose Run application in Terminal.
Browse the vpnconnect file you just created.

Should be good to go.

--
If you run updates on Ubuntu, you'll notice a message about a kernel header not loading.  You will need to reinstall the client, no big deal.

I suggest copying the install directory to the cisco-vpnclient directory so you have the files ready to go in case you accidentally delete the install folder.


mkdir /etc/opt/cisco-vpnclient/install
cp -r vpnclient /etc/opt/cisco-vpnclient/install/
cd  /etc/opt/cisco-vpnclient/install/vpnclient/
sudo ./vpn_install

Sunday, November 22, 2009

AnyConnect on 64 bit Ubuntu 9.10



Thanks to a post in the Ubuntu forum I was able to easily install the AnyConnect using the following instruction:
Let me rephrase that.  I was always able to install the client but constantly received a server certificate error.  I tried to import the certificates, but no dice.  These instructions fixed that problem.

Install, or verify installed, the following packages:
1) ia32-libs
2) lib32nss-mdns
3) libcurl3
4) libxml2

Create the directory /usr/local/firefox and create symlinks for the following files: /usr/lib32/libnss3.so, /usr/lib32/libplc4.so, /usr/lib32/libnspr4.so, /usr/lib32/libsmime3.so, and /usr/lib32/nss/libsoftokn3.so.

You may need to reboot or run ldconfig so the symlinked libraries can be found.


Code:

sudo apt-get install ia32-libs lib32nss-mdns libcurl3 libxml2
cd /usr/local
sudo mkdir firefox
cd firefox
sudo ln -s /usr/lib32/libnss3.so
sudo ln -s /usr/lib32/libplc4.so
sudo ln -s /usr/lib32/libnspr4.so
sudo ln -s /usr/lib32/libsmime3.so
sudo ln -s /usr/lib32/nss/libsoftokn3.so
sudo ldconfig

Go to the directory where you have the AnyConnect software
Untar the AnyConnect client file and run


Code:

sudo sh ./vpn_install.sh

The GUI client is automatically installed under Applications -> Internet.