siu logo

SIU Wireless

Network Engineering - Information Technology

banner

Main Content Area

Linux (32-bit) Juniper VPN Installation Guide

Important Info:

• This guide is ONLY for 32-bit versions of Linux. Instructions for 64-bit Ubuntu and 64-bit Fedora are different.

• This guide has been tested and is confirmed to work on Ubuntu 9.10 (32 bit), Ubuntu 10.04 (32 bit), Fedora 12 (32 bit), and Fedora 13 (32 bit) distributions 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 Fedora, the Terminal application is located at Applications > System Tools > Terminal
     In Ubuntu, the Terminal application is located at Applications > Accessories > Terminal

To install the latest Java JRE and Plugin on Linux:

  1. Go to http://www.java.com/en/download and click on the "Free Java Download" button.
  2. Click the "Linux (self-extracting file)" option.
  3. Move the downloaded file to "/usr/java" with the command "sudo mv filename.bin /usr/java" subsituting filename for the file that was downloaded.
  4.   If this folder doesn't already exist, create it with the command "sudo mkdir /usr/java".
  5. If the file isn't already executable, run the command "sudo chmod +x filename.bin" substituting filename for the name of the downloaded file.
  6. "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.
  7. 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.
  8. 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.
  9. Change directory to the Mozilla Firefox plugins directory.
  10.   On Fedora, this directory is located at "/home/username/.mozilla/plugins/" replacing username with your username.
      On Ubuntu, this directory is located at "/usr/lib/mozilla/plugins".

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

  13. Run the command "sudo ln -s /usr/java/jre1.6.0_version/lib/i386/libnpjp2.so libnpjp2.so" substituting version for the Java version that was downloaded.

To check if the Java Plugin is installed, type "about:plugins" into the Firefox address bar. The Java Plugin and version should be listed.



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.

    If you are using Fedora and you have SELinux enabled, Firefox may close and you may get a Security Alert. Simply click the button that says "Restore Context" and then re-open Firefox and login to the VPN again; the problem should be fixed.

  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.