Page 15 of 55 FirstFirst ... 5131415161725 ... LastLast
Results 141 to 150 of 541

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

  1. #141
    Join Date
    May 2007
    Beans
    6

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

    I have the same trouble as TheoGB, I think. Running madscientist's script. Trouble was that I was running it with sudo, i got some java errors.
    Code:
    baltazar@baltazar:~/.bin$ sudo sh juniper.sh
    Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
    	at NC$3.run(NC.java:1282)
    	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
    	at JavaNC.<clinit>(NC.java:443)
    	... 9 more
    running without sudo NetworkConnect starts, but alerts me with "Invalid Credentials"
    Code:
    baltazar@baltazar:~/.bin$ ./juniper.sh 
    Searching for ncsvc in current working directory
    Searching for ncsvc in /home/baltazar/.juniper_networks/network_connect done.
    ncapp> Failed to connect/authenticate with IVE. Error 104
    ncapp> Incorrect credentials. Please check the username/password/realm.
    I will have to see why with IT staff I guess....Because NetworkConnect opens, but complains about credentials..
    Last edited by Baltazar72; May 16th, 2008 at 07:40 PM. Reason: typos

  2. #142
    Join Date
    May 2008
    Beans
    4

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

    I just upgraded to 8.04 and am using madscientist's script to connect. I login and am authenticated just fine, but after about a minute the connection dies. Has anyone else seen and/or fixed this problem? Any help would be appreciated.

  3. #143
    Join Date
    Jul 2007
    Beans
    2

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

    Quote Originally Posted by elenctic View Post
    I just upgraded to 8.04 and am using madscientist's script to connect. I login and am authenticated just fine, but after about a minute the connection dies. Has anyone else seen and/or fixed this problem? Any help would be appreciated.
    I don't know if this is your problem, but we had a similar problem at our workplace -- but it was on windows systems, and it was caused by the new iTunes, which installed the Bonjour service, which interfered with the Juniper client. It displayed exactly the same symptoms -- connection began fine, but died within the first minute.

    I haven't read through this entire thread yet, but I was looking for some assistance with Juniper on AMD64 Hardy (I've installed the 32-bit Firefox and Java plug-in, and tried the script, but the installNC.sh script keeps saying the service needs to be installed, and if I can get it to go forward by supplying a root password -- after actually making one -- the client complains that it 'Can't find required libraries'. Any idea which libraries it needs, or how I can find out? I also installed libstdc++2.10-glibc2.2_2.95.4-27_i386.

  4. #144
    Join Date
    May 2008
    Beans
    8

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

    Hi, everybody. The recent openssl update to Hardy broke the client totally. All hail Juniper!

    Code:
    java.io.EOFException
    	at java.io.DataInputStream.readInt(DataInputStream.java:375)
    	at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:628)
    	at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
    	at java.security.KeyStore.load(KeyStore.java:1185)
    	at com.sun.deploy.security.DeploySSLCertStore$1.run(DeploySSLCertStore.java:153)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at com.sun.deploy.security.DeploySSLCertStore.loadCertStore(DeploySSLCertStore.java:136)
    	at com.sun.deploy.security.DeploySSLCertStore.load(DeploySSLCertStore.java:107)
    	at com.sun.deploy.security.DeploySSLCertStore.load(DeploySSLCertStore.java:92)
    	at com.sun.deploy.security.ImmutableCertStore.load(ImmutableCertStore.java:43)
    	at com.sun.deploy.security.X509ExtendedDeployTrustManager.checkServerTrusted(X509ExtendedDeployTrustManager.java:324)
    	at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:954)
    	at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)
    	at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
    	at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
    	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
    	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
    	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
    	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
    	at sun.net.http://www.protocol.https.HttpsClien...lient.java:405)
    	at sun.net.http://www.protocol.https.AbstractDe...ction.java:166)
    	at sun.net.http://www.protocol.http.HttpURLConn...ction.java:977)
    	at sun.net.http://www.protocol.https.HttpsURLCo...nImpl.java:234)
    	at com.sun.deploy.net.HttpUtils.followRedirects(HttpUtils.java:45)
    	at com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:169)
    	at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(BasicHttpRequest.java:63)
    	at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(DownloadEngine.java:709)
    	at com.sun.deploy.cache.DeployCacheHandler.get(DeployCacheHandler.java:133)
    	at sun.net.http://www.protocol.http.HttpURLConn...ction.java:681)
    	at sun.net.http://www.protocol.https.AbstractDe...ction.java:158)
    	at sun.net.http://www.protocol.http.HttpURLConn...ction.java:977)
    	at sun.net.http://www.protocol.https.HttpsURLCo...nImpl.java:234)
    	at sun.plugin.PluginURLJarFileCallBack.downloadJAR(PluginURLJarFileCallBack.java:72)
    	at sun.plugin.PluginURLJarFileCallBack.access$000(PluginURLJarFileCallBack.java:46)
    	at sun.plugin.PluginURLJarFileCallBack$1.run(PluginURLJarFileCallBack.java:106)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.plugin.PluginURLJarFileCallBack.retrieve(PluginURLJarFileCallBack.java:94)
    	at sun.net.http://www.protocol.jar.URLJarFile.r...rFile.java:186)
    	at sun.net.http://www.protocol.jar.URLJarFile.g...arFile.java:50)
    	at sun.net.http://www.protocol.jar.JarFileFacto...actory.java:68)
    	at sun.net.http://www.protocol.jar.JarURLConnec...ction.java:104)
    	at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:189)
    	at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(CachedJarURLConnection.java:144)
    	at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:90)
    	at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:647)
    	at sun.misc.URLClassPath$JarLoader.access$600(URLClassPath.java:538)
    	at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:605)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:597)
    	at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:559)
    	at sun.misc.URLClassPath$3.run(URLClassPath.java:331)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.misc.URLClassPath.getLoader(URLClassPath.java:320)
    	at sun.misc.URLClassPath.getLoader(URLClassPath.java:297)
    	at sun.misc.URLClassPath.getResource(URLClassPath.java:167)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    	at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    	at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    	at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:632)
    	at sun.applet.AppletPanel.createApplet(AppletPanel.java:786)
    	at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2108)
    	at sun.applet.AppletPanel.runLoader(AppletPanel.java:715)
    	at sun.applet.AppletPanel.run(AppletPanel.java:369)
    	at java.lang.Thread.run(Thread.java:619)

  5. #145
    Join Date
    Aug 2005
    Beans
    122

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

    Quote Originally Posted by psorcerer View Post
    Hi, everybody. The recent openssl update to Hardy broke the client totally. All hail Juniper!
    Sorry to hear of your exception, but I don't think there's necessarily anything wrong with the Juniper client. My Hardy is up to date with all the recent SSH and SSL updates and doing Network Connect it continues to work fine for me doing 32bit browser and java on 64bit Hardy.

  6. #146
    Join Date
    May 2008
    Beans
    8

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

    Quote Originally Posted by marcw View Post
    Sorry to hear of your exception, but I don't think there's necessarily anything wrong with the Juniper client. My Hardy is up to date with all the recent SSH and SSL updates and doing Network Connect it continues to work fine for me doing 32bit browser and java on 64bit Hardy.
    Hmm, it indeed works by running NC.jar but doesn't work from Firefox java 1.6 plugin. The most funny thing it was working fine before openssl update, both ways...strange.

  7. #147
    Join Date
    May 2008
    Beans
    1

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

    Hi,

    I'm trying to connect to my work's VPN from UBUNTU 8.04, Juniper NC 1.2. When i launch NC it says i'm connected, i get the internal IP but can't access any resource on the VPN. Firewall is disabled.

    Diagnostics say ping to Nameservers failed.

    I have no problem connecting from computer running windows though.

    Both computers connected to the internet the same way.

    I spent days trying to figure this out. Really need help!

    Thanks

  8. #148
    Join Date
    Jun 2006
    Location
    Lexington, MA
    Beans
    183
    Distro
    Ubuntu 12.04 Precise Pangolin

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

    What diagnostics are you talking about that say "ping to nameservers failed"?

    It might be that the DNS server configuration by your VPN provider is wrong. But it might also be that the VPN is not working, so that's why you can't access the DNS servers. Here are some debugging steps that will help us discover what's going on.

    First, find the IP address of a host on the private network you're trying to connect to and use that instead of the hostname. You can replace the hostname in a URL (http://hostname/...) or ssh with an IP address and it should work. If it does, then it's a DNS problem.

    If it doesn't, then the VPN itself is not configured properly. If that's the case it will require more careful examination.

    If using the IP address works, then use the "host" command to see if you can resolve hostnames. Open a terminal (Applications -> Accessories -> Terminal) and run "host gnu.org" for example. You should immediately get back:
    Code:
    $ host gnu.org
    gnu.org has address 199.232.41.10
    If you don't get that then you definitely can't access your DNS servers.

    If you CAN resolve gnu.org, then try the same trick with one of your internal systems. Does that resolve? If not, then somehow the VPN setup is not changing your /etc/resolv.conf file for you or else something is changing it back again. Does it work for a while but then stop working? If so then it's almost certainly your DHCP server overwriting your /etc/resolv.conf file when you renew your lease.

    Look at the contents of /etc/resolv.conf; you should see IP addresses in there for servers in your private network, rather than for your ISP. If you don't know for sure, just look at the contents before you start the VPN and after: they should be different.

    I guess that's enough for now... we can't do much more trouble-shooting-wise until we find the answers to these questions.
    "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

  9. #149
    Join Date
    Dec 2006
    Beans
    7

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

    I got a problem running the script...

    So I downloaded the script from Mad Scientist's website. I called it juniper.sh. I run the script using the following command:
    sudo sh junipernc.sh
    This brings up this error message:
    Could not unpack Juniper Network Connect!
    I left the script I downloaded from MS's site untouched. Was I supposed to change something? Also the terminal window has no error message, it thinks the script ran fine.

    I checked my location for the Juniper files and I have the JAR file and other stuff downloaded it seems in the ".juniper_networks" folder. Is there something else I am missing?

    The directions on MS's site I followed to a T but I am left with this annoying message.

    P.S. I am using the full blown version of Xubuntu 8.04 on a 32bit Intel machine.

    Thanks to anyone that can help!!
    Last edited by webs05; May 28th, 2008 at 09:48 PM. Reason: minor change to how code is shown

  10. #150
    Join Date
    Jun 2006
    Location
    Lexington, MA
    Beans
    183
    Distro
    Ubuntu 12.04 Precise Pangolin

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

    Hrm. Nowhere does it say you need to or should run the script as root (using sudo).

    You're at least the second person who's done this, though, so I've created a new version of the script that checks for this and prints a failure. Unfortunately I left it at home so I haven't uploaded it yet.

    However, you should remove the ~/.vpn.cfg file (you might have to be root to do that) then re-run the script WITHOUT the sudo.
    "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

Page 15 of 55 FirstFirst ... 5131415161725 ... 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
  •