Page 1 of 2 12 LastLast
Results 1 to 10 of 13

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

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Beans
    1

    Talking 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.

    SOLUTION:

    1. Install Sun Java runtime
    2. 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.
    3. 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.

    java -version
    (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:

    about: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.

    ssh <your-private-domain>

    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:

  2. #2
    Join Date
    Oct 2009
    Beans
    8

    Question Re: HOWTO set up Juniper Network Connect VPN on Ubuntu 9.10

    Everything worked fine few days ago, but today I've got troubles: it asks password, then closes prompt window and do nothing.

    Found some error message in the log:

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

    Yes, I have root user and it's password is correct.

  3. #3
    Join Date
    Oct 2009
    Beans
    8

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

    Quote Originally Posted by sotomajor View Post
    Everything worked fine few days ago, but today I've got troubles: it asks password, then closes prompt window and do nothing.

    Found some error message in the log:

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

    Yes, I have root user and it's password is correct.
    Problem is solved for me...

    After some investigations I found that problem encapsulated in the user's firefox profile. So replacing it with the clean one fixed applet starting for me.

    Code:
    # Shutdown firefox instances
    $ mv ~/.mozilla/firefox/13gda9ez.default ~/.mozilla/firefox/old_profile
    $ cp -r /etc/firefox-3.5/profile ~/.mozilla/firefox/13gda9ez.default
    # Start firefox



  4. #4
    Join Date
    Jan 2010
    Beans
    6
    Distro
    Ubuntu 9.10 Karmic Koala

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

    I'm currently trying to get Juniper to work on my 9.10 machine as well. before finding this post I had already made all of the changes mentioned including setting the root password, but when I enter it in the window that pops up, that window closes and nothing else happens, not connected to network, just stuck. I would supply logs, but I am new to linux and don't really know where to get them, any help would be appreciated.

  5. #5
    Join Date
    Oct 2009
    Beans
    8

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

    Quote Originally Posted by WockaNation View Post
    I'm currently trying to get Juniper to work on my 9.10 machine as well. before finding this post I had already made all of the changes mentioned including setting the root password, but when I enter it in the window that pops up, that window closes and nothing else happens, not connected to network, just stuck. I would supply logs, but I am new to linux and don't really know where to get them, any help would be appreciated.
    Please, see my previous post. Clearing firefox profile helped me. One of installed extensions seems to be buggy and causes the problem, but I still can't find time to make further investigations.

  6. #6
    Join Date
    Jan 2010
    Beans
    6
    Distro
    Ubuntu 9.10 Karmic Koala

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

    I reloaded my firefox profile, but it didn't fix the problem for me. I'm still trying to get this working, so any help would be appreciated.

  7. #7
    Join Date
    Apr 2010
    Beans
    1

    Lightbulb Re: HOWTO set up Juniper Network Connect VPN on Ubuntu 9.10

    Quote Originally Posted by sotomajor View Post

    Found some error message in the log:

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


    ...

    After some investigations I found that problem encapsulated in the user's firefox profile. So replacing it with the clean one fixed applet starting for me.
    Thanks, that helped me as well.

    I did a bit of experimenting and it turned out that I didn't need to get rid of my entire profile, I merely had to get rid of all cookies from the VPN server and associated domains.

  8. #8
    Join Date
    Feb 2006
    Beans
    46

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

    @ sotomajor.


    Thanks. It solved my problem too.

  9. #9
    Join Date
    Jan 2008
    Beans
    16

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

    Just to add my 2p worth, I did the above, but I also had to delete the .juniper_networks directory from my home directory. Now it works. Cheers!

  10. #10
    Join Date
    Nov 2008
    Beans
    9

    Smile Re: HOWTO set up Juniper Network Connect VPN on Ubuntu 9.10

    Thanks for posting this. I seem to be missing a piece to this puzzle. You mention installNC. Is this part of the Juniper software release? Are you connecting to the firewall's webface on your company's public IP?

    Many thanks for any further insight you can offer.

    Peter

    [QUOTE=edsap;8351211]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:

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •