HOWTO set up Juniper Network Connect VPN on Ubuntu 9.10
I could not connect to my company's private VPN via Juniper Network Connect after I installed Ubuntu 9.10 on my laptop. It took me a lot of time to search the web for the answer. After doing some trials and errors, I found the solution, which turned out quite simple. Hopefully, this solution will work for you too. Here you go:
PROBLEM: After I click on the [start] button of the Network Connect prompt on the Juniper Network VPN screen, I got the error message saying something like "JRE is disabled or not installed" and I got stuck there.
- Install Sun Java runtime
- Create a root password and give it to the Juniper setup program when it asks for it. You only need to do this on the first connect. Then ignore such request thereafter.
- Restart the browser and start the Network Connect again. It should work.
* Here are the detail steps for the solution. First, I opened the Terninal since all the work will be done at the command line.
1. To install the Sun Java runtime, issue the following command:
sudo aptitude install sun-java6-jre sun-java6-plugin sun-java6-fonts
- Then run Java to make sure that it works.
(the output looks like the followings):
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) Server VM (build 14.1-b02, mixed mode)
- Run Firefox and make sure that it has Java plugins by issuing the "about:plugins" command at the URL box and look for java plugins:
2. Create a root password, by issuing the following command. You will be asked for your sudo password and then the new root password, as follows:
sudo passwd root
[sudo] password for <your-user-name-here>:
Enter new UNIX password: <root-password>
Retype new UNIX password: <root-password>
passwd: password updated successfully
3. Now run Firefox and open your Juniper Private Network page, locate the Network Connect section and click the [start] button. Then the followings happen:
- The Java console opens.
- The installINC.sh window opens. When this window then asks for the root/su password, give it the root password that you created earlier. It asks something like this:
Please enter root/su password: <root-password>
- Now, close the Java console. You do not need it anymore.
- Also, close the installINC.sh window, if it does not close by itself.
Now, the Network Connect windows opens. You can minimize it. But do not close it. You need to keep it open so that you can access your private network.
4. Now you can ssh to your private network and starting working.
5. After you are tired of working, log out of your private network and click on the [SignOut] button on the Network Connect window to close it.
That's it! :popcorn:
Tags for this Thread