Skip to main content

Thread: HOWTO set up Juniper Network Connect VPN on Ubuntu 9.10


i not connect company's private vpn via juniper network connect after installed ubuntu 9.10 on laptop. took me lot of time search web answer. after doing trials , errors, found solution, turned out quite simple. hopefully, solution work too. here go:

problem: after click on [start] button of network connect prompt on juniper network vpn screen, got error message saying "jre disabled or not installed" , got stuck there.

solution:

  1. install sun java runtime
  2. create root password , give juniper setup program when asks it. need on first connect. ignore such request thereafter.
  3. restart browser , start network connect again. should work.


* here detail steps solution. first, opened terninal since work done @ command line.

1. install sun java runtime, issue following command:

sudo aptitude install sun-java6-jre sun-java6-plugin sun-java6-fonts

- run java make sure works.

java -version
(the output looks 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 , make sure has java plugins issuing "about:plugins" command @ url box , java plugins:

about:plugins

2. create root password, issuing following command. asked sudo password , new root password, follows:

sudo passwd root
[sudo] password <your-user-name-here>:
enter new unix password: <root-password>
retype new unix password: <root-password>
passwd: password updated successfully

3. run firefox , open juniper private network page, locate network connect section , click [start] button. followings happen:

- java console opens.
- installinc.sh window opens. when window asks root/su password, give root password created earlier. asks this:

please enter root/su password: <root-password>

- now, close java console. not need anymore.

- also, close installinc.sh window, if not close itself.

now, network connect windows opens. can minimize it. not close it. need keep open can access private network.

4. can ssh private network , starting working.

ssh <your-private-domain>

5. after tired of working, log out of private network , click on [signout] button on network connect window close it.

that's it! :popcorn:

everything worked fine few days ago, today i've got troubles: asks password, closes prompt window , nothing.

found error message in log:

mkotsur@n-fox:~/.juniper_networks/network_connect$ cat ncui.log
20091123220532.217961 ncui[p2274.t2298] ncapp.info new ncapp log level set 3 (nccommon.cpp:75)
20091123220532.218032 ncui[p2274.t2298] ncui.info read params... (nccommon.cpp:121)
20091123220532.218175 ncui[p2274.t2298] ncapp.panic failed read password prompt (nccommon.cpp:614)

yes, have root user , it's password correct.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] HOWTO set up Juniper Network Connect VPN on Ubuntu 9.10


Ubuntu

Comments