Page 49 of 56 FirstFirst ... 394748495051 ... LastLast
Results 481 to 490 of 554

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

  1. #481
    Join Date
    May 2012
    Beans
    2

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

    Quote Originally Posted by madscientist View Post
    Hm. I don't know what "Error 98" means.

    Maybe that port is used by something else? Run:
    Code:
    sudo netstat -lntp | grep 4242
    and see if some other program is bound to/listening on that port already.
    Thank you for the kick in the head. That should have occurred to me. Crashplan was also listening on that port (probably a java default).
    Now it works - at least for a brief test.
    Thanks again.

  2. #482
    Join Date
    May 2012
    Beans
    1

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

    First of all THANK You very much for your effort.

    I managed to get it working on Ubuntu 12.04 32.

    But there is one catch...

    Is it possible to use your script from behind proxy ?

    If the connection in direct, no problem at all...
    But my network must be routed through proxy and I can't get the script to work...

    Thanks for your attention.

  3. #483
    Join Date
    Dec 2011
    Beans
    3

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

    I try to set up juniper vpn following Mad scientist's instruction in Ubuntu 12.04 64-bit but running into problem. I got an error message "Invalid Credentials" when connecting. The ncui.log gives the following error message:

    20120601162348.464931 ncui[p6632.t6655] dsclient.info state: kStateSignin (dscli
    ent.cpp:248)
    20120601162348.465032 ncui[p6632.t6655] dsclient.info --> GET /dana-na/auth/%28p
    ublic%29url_default/welcome.cgi (authenticate.cpp:162)
    20120601162348.480670 ncui[p6632.t6655] dsclient.info <-- 302 https://vpn.unh.ed
    u/dana-na/auth/welcome.cgi (authenticate.cpp:194)
    20120601162348.480771 ncui[p6632.t6655] dsclient.info state: kStateWelcome (dscl
    ient.cpp:256)
    20120601162348.480836 ncui[p6632.t6655] dsclient.info --> GET /dana-na/auth/welc
    ome.cgi (authenticate.cpp:162)
    20120601162348.565937 ncui[p6632.t6655] dsclient.info <-- 302 https://vpn.unh.ed
    u/ (authenticate.cpp:194)
    20120601162348.566078 ncui[p6632.t6655] dsclient.info state: kStateLogin (dsclie
    nt.cpp:288)
    20120601162348.566150 ncui[p6632.t6655] dsclient.info --> POST /dana-na/auth/log
    in.cgi (authenticate.cpp:162)
    20120601162348.656109 ncui[p6632.t6655] dsclient.info <-- 302 https://vpn.unh.ed
    u/dana-na/auth/url_default/welcome.cgi?p=failed (authenticate.cpp:194)
    20120601162348.656265 ncui[p6632.t6655] dsclient.error state login failed, error
    104 (dsclient.cpp:290)
    20120601162348.656717 ncui[p6632.t6655] ncapp.error Failed to connect/authentica
    te with IVE. Error 104 (ncapp.cpp:179)

    I am a newbie in Ubuntu, and any help will be greatly appreciated.

  4. #484
    Join Date
    Dec 2010
    Beans
    5

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

    thanks a lot mad scientist...I was becoming mad too.

    And my co-worker is still not able to use juniper on his mac. Loving this

    For those who have a 64bit like me. Follow this instruction for java i386 installation (I am not sure that someone have already post it....I was too nervous in reading the post):

    http://askubuntu.com/questions/12668...t-ubuntu-12-04

    cheers

  5. #485
    Join Date
    Dec 2011
    Beans
    3

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

    Thanks for the input. I actually have the 32-bit java installed, both OpenJDK and Oracle give the same error.

  6. #486
    Join Date
    Dec 2011
    Beans
    3

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

    After googling around, the method in this post works:

    http://ubuntuforums.org/showthread.p...ost11189826%22

  7. #487
    Join Date
    Jan 2011
    Beans
    8
    Distro
    Ubuntu 10.04 Lucid Lynx

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

    Hi all,

    I have successfully used Network Connect based on DVO's script in Ubuntu 12.04 Precise Pangolin 64 bit.

    First of all one needs Sun Java 1.6 32 and 64 bit versions. These versions are no longer supported ny Ubuntu but one can find them through oracle.

    http://www.oracle.com/technetwork/ja...s-1594644.html

    The files to download are:
    jdk-6u32-linux-i586.bin
    jdk-6u32-linux-x64.bin

    Now place them in /usr/lib/jvm
    sudo cp jdk-6u32-linux-i586.bin /usr/lib/jvm
    sudo cp jdk-6u32-linux-x64.bin /usr/lib/jvm


    Now one must install the 32 bit version and change the name of the directory:
    cd /usr/lib/jvm
    sudo chmod a+x jdk-6u32-linux-i586.bin
    sudo ./jdk-6u32-linux-i586.bin
    sudo mv jdk1.6.0_32/ i32jdk1.6.0_32
    sudo chmod a+x jdk-6u32-linux-x64.bin
    sudo ./jdk-6u32-linux-x64.bin


    Now both java versions are installed. Now based on DVO go to:
    cd jdk1.6.0_32/jre/bin/
    sudo mv java java.orig


    Now add the java file with:
    sudo vi java

    Code:
    #!/bin/bash
    if [ $3x = "NCx" ]
    then
        /usr/lib/jvm/i32jdk1.6.0_32/jre/bin/java "$@"
    else
        /usr/lib/jvm/jdk1.6.0_32/jre/bin/java.orig "$@"
    fi
    The last thing is to set the firefox plugin:

    rm ~/.mozilla/plugins/libnpjp2.so
    ln -s /usr/lib/jvm/jdk1.6.0_32/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/


    This should get NC to work on your Ubuntu 12.04 64 bit!

    Great job DVO!

    Thanks,

    Tony

  8. #488
    Join Date
    Feb 2009
    Beans
    11

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

    Dear All,

    I have tried to get this working on 10.04, 64-bit. The config looks as follows:

    Code:
    $ java -version
    java version "1.6.0_33"
    Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
    Code:
    $ /home/juzer/.juniper_networks/network_connect/ncdiag -A
    NC Diagnostics for Linux. 
    Version 1.0.
    Release Date/Time: Sep  7 2011 22:16:41
    +==============================================================================+
    |   Tests:			|    	 Results:		               |
    +==============================================================================+
    
           o  NC Installation Check 	 Failed
           o  NC Diagnostics 			
                 NC Service 		 Not Running
                 NC Driver Test 		 Passed
                 NC Tunnel Test 		 Not established
    
           o  Host Details  			
                 Hostname 			 inox
                 Domainname 		 (none)
                 IP Routing Enabled 	 No
                 IP Loopback test 		 Error 2: Address already in use
    Passed
                 Nameserver Details 	
                   192.168.100.1 		 Ping Passed
                 Gateway Ping Test 			 
                   192.168.100.1 		 Ping Passed
    
           o  Network Connection Diagnostics  			
    
    	     Interface:   		 lo
    	     IP Address:  		 127.0.0.1
    	     Netmask:     		 255.0.0.0
    	     MTU:         		 16436
    
    	     Interface:   		 eth0
    	     IP Address:  		 192.168.100.100
    	     Netmask:     		 255.255.255.0
    	     Broadcast:   		 192.168.100.255
    	     MTU:         		 1500
          o  Route Info 
    
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.100.0   0.0.0.0         255.255.255.0   U     1      0        0 eth0
    169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
    0.0.0.0         192.168.100.1   0.0.0.0         UG    0      0        0 eth0
    
           Finished running tests 
    +==============================================================================+
    I have NC Version: 7.1R4 in ~/.juniper_networks/network_connect/ and an NCLinuxApp.jar in ~/.juniper_networks/

    When I start ~/junpiernc (after --deconfig), it asks for the necessary entries and then shows the following information: "The Network Connect GUI needs a 32-bit Java - Ignoring 64-bit Java from $PATH (usr/bin/java)."

    As I have tried to get this working for hours (partially becuase not reading some instructions carefully, I have to admit), I have no ideas anymore.

    I see that NC seems to be not installed, but I have no idea what I should do in order to correct that. When I start junipernc I get a java window, and the first error I see in the GUI log viewer is like:

    "ncp.error ncpEstablish ive xxxxxx with context 0x8a125b0"

    I am not sure if I have the right java, or if the NC is installed but honestly I am very confused by the many information I gathered so far. I would very much appreciate if someone could point me to the right direction from this point, if possible based on the information I provided above.

    Many thanks.

  9. #489
    Join Date
    Jan 2011
    Beans
    8
    Distro
    Ubuntu 10.04 Lucid Lynx

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

    You are missing 32 bit java.

    You need to have both (64 and 32).

    The instructions on my previous post should work for 10.04 as well.

  10. #490
    Join Date
    Jun 2012
    Beans
    3

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

    Did you follow the directions in the very first post on this thread? If you had you wouldn't be getting this error

Page 49 of 56 FirstFirst ... 394748495051 ... LastLast

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
  •