How to install Juniper VPN on Ubuntu 14.04 LTS?

You could try the suggestion in this post: Juniper setup on 12.04

Update for 14.04 Trusty Tahr (64-bit)

First run with Network Connect on 14.04 resulted a failure and Network Connect just complained about missing 32-bit libraries. My NC version is 7.4R6. I did have all the libraries installed and openjdk-7-jre:i386 installed.

Digging a little bit deeper revealed that Network Connect is using update-alternatives listing to decide if 32-bit jre is installed.

/usr/sbin/alternatives command not found
Command = /bin/sh -c /usr/sbin/update-alternatives --display java 2>&1 | grep -v "/bin/sh:" | grep ^/ | cut -d " " -f 1 | tr " " " "

However it's looking update-alternatives from /usr/sbin/ and there seems to be no symlink pointing to the right directory like 13.10 had. So adding symlink to /usr/sbin/ helped.

$ sudo ln -s /usr/bin/update-alternatives /usr/sbin/

Just for completeness, as well as having to install a 32-bit JRE, I also had to follow the info here: http://itfuzz.blogspot.de/2013/11/juniper-network-connect-and-ubuntu-1310.html and run this command on 14.04:

sudo apt-get install libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0 libxext6:i386 libxrender1:i386 libxtst6:i386 libxi6:i386

I must already have done this on 13.10 as it worked then, but on 14.04 the Network Connect window just closed. This fixed the problem.


I just set up a VPN connect to juniper using MadScientist's msjnc script that wraps around a binary (ncsvc) from the juniper linux client .jar

The ncsvc binary does not require java at all, so this is somewhat the neatest solution I could find.

The script can be found here: http://mad-scientist.us/juniper.html

Tags:

64 Bit

Vpn

14.04