Using Cisco AnyConnect VPN Client in Ubuntu Jaunty 64-bit
Using Cisco AnyConnect VPN Client in Ubuntu Jaunty 64-bit
PROBLEM
Cisco does not provide a 64-bit version of Cisco AnyConnect VPN Client. You can use the 32-bit linux version. However, under Ubuntu Jaunty, I got the following error “Warning: The following Certificate received from the Server could not be verified:” and, even if I accepted, the message appeared again and again and the connection could not be established.
SOLUTION
1) If you have not done so, install the VPN Client (the version number might have changed):
# wget -c https://www.tu-chemnitz.de/urz/netz/vpn/rsrc/anyconnect-linux-2.3.0254-k9.tar.gz
# tar zxvf anyconnect-linux-2.3.0254-k9.tar.gz
# cd ciscovpn
# sudo sh ./vpn_install.sh
The program should now be accessible through the “Applications -> Internet” submenu.
2) # sudo apt-get install ia32-libs lib32nss-mdns
3) Install the 32-bit version of Mozilla Firefox:
Download it from http://www.mozilla.com/en-US/products/download.html
# tar jxvf firefox-3.0.10.tar.bz2
# sudo cp -R firefox /usr/local/
4) Copy or create symbolic links of some Firefox libraries required by the VPN client:
# cd /usr/local/firefox
# sudo cp libnssutil3.so /opt/cisco/vpn/lib/
# sudo cp libplc4.so /opt/cisco/vpn/lib/
# sudo cp libplds4.so /opt/cisco/vpn/lib/
# sudo cp libnspr4.so /opt/cisco/vpn/lib/
# sudo cp libsqlite3.so /opt/cisco/vpn/lib/
# sudo cp libnssdbm3.so /opt/cisco/vpn/lib/
# sudo cp libfreebl3.so /opt/cisco/vpn/lib/
Now you should be able to use the 32-bit client in your 64-bit system.
NOTE: If you have a 32-bit system, but you have troubles with the Cisco AnyConnect VPN Client (I did not experience any issue in my 32-bit system), you can try:
http://ubuntuforums.org/showpost.php?p=5408606&postcount=3
Pingback: Using Cisco AnyConnect VPN Client in Ubuntu Jaunty 64-bit … by Cisco Information Technology
Pingback: Using Cisco AnyConnect VPN Client in Ubuntu Jaunty 64-bit | Ubuntu-News - Your one stop for news about Ubuntu
Thank you. This worked fine. I had installed/uninstalled several times so after doing your steps here I ran the vpnsetup.sh script one more time and it worked!
Thank you! Worked great.
worked for me with latest packages 11/6/09
This was usefull. Thank you. I precise it is mandatory to put firefox archive in /usr/local. Some of the libs are not find in /opt/cisco/vpn/lib.
Thanks for this guide! Worked perfectly on Ubuntu 9.10 64bit using the libs from Firefox 3.5.5.
Actually, there is an easier way which doesn’t involve installing the 32 bit version of firefox.
See my blog for more info:
http://www.wolfewebservices.com/blog/cisco-anyconnect-ubuntu-910-x64
You simply install the 32 bit libs as you mentioned, then create a directory /usr/local/firefox
then do the following:
cd /usr/local/firefox
sudo ln s /usr/lib32/libnspr4.so
sudo ln s /usr/lib32/libnss3.so
sudo ln s /usr/lib32/libplc4.so
sudo ln s /usr/lib32/libsmime3.so
sudo ln s /usr/lib32/nss/libsoftokn3.so
wget returns a 404 using that link. Does anyone have an updated download link for the anyconnect client?
Try this one:
http://www.rz.uni-saarland.de/services/netz/vpn/anyconnect-all-packages/anyconnect-linux-2.4.0202-k9.tar.gz
or
http://www.asc.edu/downloads/CiscoVPN/anyconnect-linux-2.4.0202-k9.tar.gz
works for Gentoo replacing line 2 `sudo apt-get install ia32-libs lib32nss-mdns` with `emerge -av emul-linux-x86-baselibs`
Pingback: Ubuntu 10.10 64bit and Cisco VPN AnyConnect « Coffee’s Gone Already?
Totally works. Thanks!
Pingback: ubuntu and apt-get « The Ring
you can use VPNC app inested of Cisco VPN Client. to do so:
[root@mostafa-redhat ~]# yum install vpnc (Redhat)
[root@mostafa-ubuntu-vm~]# apt-get install vpnc (Ubuntu)
once installed, type vpnc on your terminal:
[root@mostafa-redhat ~]# vpnc
Enter IPSec gateway address: yourhost.org.jo
Enter IPSec ID for 80.90.171.66: Group-Name (ask your system administrator to give you this ID)
Enter IPSec secret for Group-Name@yourhost.org.jo: (ask your system administrator to give you this passphrase. if you’ve got encrypted group password, use this decoder to decrypted it: http://www.unix-ag.uni-kl.de/~massar/bin/cisco-decode
Enter username for yourhost.org.jo: mostafa.zoubi
Enter password for mostafa.zoubi@yourhost.org.jo: XXXXXXX
VPNC started in background (pid: 11791)…
to disconnect type vpnc-disconnect on your terminal:
[root@mostafa-redhat ~]# vpnc-disconnect
Terminating vpnc daemon (pid: 11791)
Indeed, but, unfortunately, it does not work with all servers. Some require the Cisco VPN Client…
yes you’re right koroshitchy, but you can say it’s working 95% with all environments.