siu logo

SIU Wireless

Network Engineering - Information Technology

banner

Main Content Area

Ubuntu (64-bit) Linux Juniper VPN Installation Guide

Important Info:

• This guide is ONLY for 64-bit versions of the Ubuntu distribution of Linux. For Fedora (64-bit) directions see here. For 32-bit Linux see here.

• This guide has been tested and is confirmed to work on Ubuntu 10.04 (64 bit) using Firefox 3.6+ browser.
     If you use another distribution of Linux, or another web browser, the setup may vary.

• Before installing the Juniper VPN client, you must have Java Runtime Environment installed as well as the Java Plugin for your web browser.

• All commands should be run in a Linux terminal.
     In Ubuntu, the Terminal application is located at Applications > Accessories > Terminal

To install the latest Java JRE and Plugin on Linux:

  1. Run the command "sudo apt-get install -y ia32-libs" to install 32-bit support.
  2. Go to http://www.java.com/en/download and click on the "Free Java Download" button.
  3. Click the "Linux x64" option.
  4. Move the downloaded file to "/usr/java" with the command "sudo mv filename.bin /usr/java" subsituting filename for the file that was downloaded.
  5.   If this folder doesn't already exist, create it with the command "sudo mkdir /usr/java".
  6. If the file isn't already executable, run the command "sudo chmod +x filename.bin" substituting filename for the name of the downloaded file.
  7. "cd /usr/java/" then run the command "sudo ./filename.bin" substituting filename for the name of the downloaded file to extract the Java files to the current directory.
    •   Press the space bar several times to scroll through the license agreement, then when asked if you agree to the license terms, type "yes" and press Enter.
    •   There should now be a folder in "/usr/java" with the name jre1.6.0_version where version is the Java version that was downloaded.
    •   The file that you downloaded can now be deleted using the command "sudo rm filename.bin" substituting filename for the name of the downloaded file.
  8. Run the command "sudo update-alternatives --install "/usr/bin/java" "java" "/usr/java/jre1.6.0_version/bin/java" 1" substituting version for the Java version that was downloaded.
  9. Run the command "sudo update-alternatives --set java /usr/java/jre1.6.0_version/bin/java" substituting version for the Java version that was downloaded.
  10. Change directory to the Mozilla Firefox plugins directory.
  11.   On Ubuntu, this directory is located at "/usr/lib/mozilla/plugins".

  12. If the file "libnpjp2.so" already exists in this directory, remove it with the command "sudo rm libnpjp2.so"
  13.   Also, if the file "libjavaplugin.so" or "libjavaplugin_oji.so" exists, remove it as well. This is the old version of the Java Plugin.

  14. Run the command "sudo ln -s /usr/java/jre1.6.0_version/lib/amd64/libnpjp2.so libnpjp2.so" substituting version for the Java version that was downloaded.
  15. To check if the Java Plugin is installed, type "about:plugins" into the Firefox address bar. The Java Plugin and version should be listed.

  16. Go back to http://www.java.com/en/download and click on the "Free Java Download" button.
  17. This time, click the "Linux (self-extracting file)" option to download the 32-bit version of Java
  18. Move the downloaded file to "/usr/java" with the command "sudo mv filename.bin /usr/java" subsituting filename for the file that was downloaded.
  19. If the file isn't already executable, run the command "sudo chmod +x filename.bin" substituting filename for the name of the downloaded file.
  20. "cd /usr/java/" then run the command "sudo ./filename.bin" substituting filename for the name of the downloaded file to extract the Java files to the current directory.
    •   Press the space bar several times to scroll through the license agreement, then when asked if you agree to the license terms, type "yes" and press Enter.
    •   You will then be asked "replace jre1.6.0_20/bin/java? [y]es, [n]o, [A]ll, [N]one, [r]ename:". Type "A" to overwrite all the 64-bit files with the 32-bit ones.
    •   The file that you downloaded can now be deleted using the command "sudo rm filename.bin" substituting filename for the name of the downloaded file.


To install the Juniper VPN client:

  1. Make sure that you have a password set for the root user. If not, run the command "sudo passwd" to set one.
  2. If you are using Fedora, run the command "sudo yum install xterm" to install a necessary dependency. If you are using Ubuntu, this step is unnecessary.
  3. Open Firefox and type "vpn.siu.edu" in the address bar to go to the VPN Login page.
  4. A Security Warning box may pop up and ask if you want to run the application. Make sure the "Always trust content from this publisher." is checked and then click on "Run".
  5. A Setup Control Warning box may pop up and ask if you want to download, install, and execute software with the product name "Host Checker". Click the "Always" button NOT the "Yes" button.
  6. You should now be at the VPN login screen. Login with your SIU username (siu85XXXXXXX) and password.
  7. Once the page loads, click "Start" by Network Connect.
  8. Since this is the first time Network Connect is running, it will install.
  9. A window should pop up and ask for your root password. Make sure to wait for the "Password:" prompt to appear before typing in your password.
  10. Network Connect should now install and start. Unlike the Windows Network Connect Client, it will not disappear as a Taskbar icon, but remain in a window that you can minimize. Do not close the window, as this will cause Network Connect to disconnect.
  11. If you are using Ubuntu 10.04, you may see a warning pop up. Just click "OK" and the Client will start. This warning doesn't affect the function of the VPN at all.

  12. When you are finished, click the "Sign Out" button at the bottom of the window.

For more information or help please contact the Computer Support Center at (618) 453-5155.