Page 11 of 55 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 542

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

  1. #101
    Join Date
    Aug 2006
    Beans
    26

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

    Hello
    I have the 1.1 version of netconnect the directory have some different files here
    and the getx509certificate.sh is not part of the ncLinuxApp.jar
    I anyone have the script please share it

    as for content in my jar file I have this
    stzi@SEMALWS049:~/.juniper_networks/test$ jar -xf ../ncLinuxApp.jar
    stzi@SEMALWS049:~/.juniper_networks/test$ ls -la
    totalt 660
    drwxr-xr-x 3 stzi stzi 4096 2007-10-28 11:23 .
    drwxr-xr-x 4 stzi stzi 4096 2007-10-28 11:22 ..
    -rw-r--r-- 1 stzi stzi 735 2006-02-10 22:06 installNC.sh
    drwxr-xr-x 2 stzi stzi 4096 2006-02-10 22:06 META-INF
    -rw-r--r-- 1 stzi stzi 29096 2006-02-10 22:06 ncdiag
    -rw-r--r-- 1 stzi stzi 285344 2006-02-10 22:06 ncsvc
    -rw-r--r-- 1 stzi stzi 320140 2006-02-10 22:06 ncui
    -rw-r--r-- 1 stzi stzi 14 2006-02-10 22:06 version.txt
    -rw-r--r-- 1 stzi stzi 969 2006-02-10 22:06 xlaunchNC.sh
    stzi@SEMALWS049:~/.juniper_networks/test$
    pileofdirth: I assume you have version 1.2 here is version 1.1 layout

    stzi@SEMALWS049:~/.juniper_networks$ ls -laR *
    -rw-r--r-- 1 stzi stzi 269639 2006-02-11 06:06 ncLinuxApp.jar

    network_connect:
    totalt 660
    drwxr-xr-x 2 stzi stzi 4096 2007-10-28 10:57 .
    drwxr-xr-x 3 stzi stzi 4096 2007-10-28 10:57 ..
    -rw-r--r-- 1 stzi stzi 380 2007-10-28 10:57 installnc.log
    -rwxr--r-- 1 stzi stzi 735 2007-10-28 10:57 installNC.sh
    -rw-r--r-- 1 stzi stzi 0 2007-10-28 10:57 missing_libs
    -rwxr--r-- 1 stzi stzi 29096 2007-10-28 10:57 ncdiag
    -rws--s--x 1 root root 285344 2007-10-28 10:57 ncsvc
    -rw-r--r-- 1 stzi stzi 0 2007-10-28 10:57 ncsvc.log
    -rwxr--r-- 1 stzi stzi 320140 2007-10-28 10:57 ncui
    -rw-r--r-- 1 stzi stzi 0 2007-10-28 10:57 ncui.log
    -rw-r--r-- 1 stzi stzi 14 2007-10-28 10:57 version.txt
    -rwxr--r-- 1 stzi stzi 969 2007-10-28 10:57 xlaunchNC.sh
    stzi@SEMALWS049:~/.juniper_networks$ cat network_connect/version.txt
    Version: 1.1

    stzi@SEMALWS049:~/.juniper_networks$
    Last edited by zingo; October 28th, 2007 at 10:40 AM. Reason: quote mark shell output

  2. #102
    Join Date
    May 2007
    Beans
    31

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

    Quote Originally Posted by bence8810 View Post
    The problem is that on our Juniper solution, if I authenticate on the website with the token, I will not see the Network Connect, nor the Windows Application Manager unless I am on the AD domain. I guess its the host checker which checks it? Any way to overcome that limitation?

    I have the exact same problem! It's frustrating, because I can't even get past Step 0 to attempt the instructions described in this thread.

    Has anyone found a solution to this, or at least a satisfactory explanation?


    Thanks,
    Adam

  3. #103
    Join Date
    Oct 2007
    Location
    Antwerp
    Beans
    4
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    Based on the information in this page, I,
    I wrote a script to instaal on 7.04 and 7.1.10.

    Enjoy!

    http://ubuntuforums.org/attachment.php?attachmentid=48315&d=1193675395

  4. #104
    Join Date
    Aug 2006
    Beans
    26

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

    casuarina:
    Really Nice, this will help a lot of people.
    Someday you/we might make a .deb package of this and have in a repository maybe.

    Here are some improvement ideas...

    There is a sun-java6-plugin package If you add it I don't think you need the java plugin stuff (I never needed it at least)

    There is also an rpm package if this is installed you have a rpm tool and probably dont need the

    sudo ln -s /bin/true /usr/bin/rpm

    you get a few small packages that in this case is not needed but cleaner then a fake rpm.

    It would be nice if someone made a nice gnome/KDE front end to the ncscv tool. Is there a shell-calling-gui-toolkit that one could use, like ncurses but for gnome?

  5. #105
    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

    Quote Originally Posted by zingo View Post
    There is also an rpm package if this is installed you have a rpm tool and probably dont need the

    sudo ln -s /bin/true /usr/bin/rpm
    I think you'll still need this, because the package name that the netconnect script looks for is the Red Hat package name and isn't the same as the Debian/Ubuntu package name. So, even if you have rpm installed that lookup will still fail (IIRC).
    "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

  6. #106
    Join Date
    Aug 2006
    Beans
    26

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

    That is probably correct the RPM stuff seems to not be used in Version 1.1 of the scripts that I have... that why it worked for me

  7. #107
    Join Date
    Oct 2007
    Location
    Brighton, England.
    Beans
    3
    Distro
    Ubuntu 11.04 Natty Narwhal

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

    I've been reading this thread for some time now, thanks to the original information supplied by madscientist & more recently the script posted casuarina (it was useful to validate the manual steps) I now have Juniper VPN working on my Gutsy 7.10 installation.

    I do have one final question. In the information supplied by madscientist it suggests that i can reset (disable) my root password *but* every time i log into Juniper (which runs network connect) I am challenged for the root/su password (therefore i cannot disable root password - without compromising Juniper).

    I'm worried that by having su/root enabled is a security risk. Is there anything i can do to work around (and remove) the su/root challenge response from the Juniper network connect, so i can disable the root account?

    Gavin.

    Here's some information that may help diagnose my problem.

    The terminal style message i receive when starting network connect is:

    Code:
    /home/{username}/.uniper_networks/network_connect/installNC.sh: 9: cannot open 1: No such file
    /home/{username}/.uniper_networks/network_connect/installNC.sh: 9: 1: not found
    Service needs to be reinstalled.
    Please enter the root/su password.
    Password:
    I can confirm the file (installNC.sh) reported as missing (above) does exist prior to connecting to Juniper. A simple ls -l in the ./network_connect/ directory returns:

    Code:
    -rw-r--r-- 1 fowler fowler   1421 2007-11-10 08:05 installnc.log
    -rwxr--r-- 1 fowler fowler    716 2007-11-10 07:58 installNC.sh
    -rw-r--r-- 1 fowler fowler 493328 2007-11-10 07:58 libncui.so
    -rw-r--r-- 1 fowler fowler      0 2007-11-10 08:05 missing.info
    -rwxr--r-- 1 fowler fowler  24888 2007-11-10 07:58 ncdiag
    -rw-r--r-- 1 fowler fowler   4523 2007-11-10 07:19 ncdiag.log
    -rw-r--r-- 1 fowler fowler  45470 2007-11-10 07:58 NC.jar
    -rws--s--x 1 root   root   330988 2007-11-10 07:57 ncsvc
    -rw-r--r-- 1 fowler fowler      0 2007-11-10 07:05 ncsvc.log
    -rw-r--r-- 1 fowler fowler      0 2007-11-10 07:05 ncui.log
    -rw-r--r-- 1 fowler fowler     14 2007-11-10 07:46 version.txt
    -rwxr--r-- 1 fowler fowler   1637 2007-11-10 07:28 xlaunchNC.sh
    -rwxr--r-- 1 root   root     1632 2007-11-10 07:25 xlaunchNC.sh.back
    I thought perhaps the symbolic links were cause of the issue. I re ran the script supplied by casuarina, which reported:

    Code:
    ln: creating symbolic link `./libjavaplugin_oji.so' to `/usr/lib/jvm/java-6-sun-1.6.0.03/jre/plugin/i386/ns7/libjavaplugin_oji.so': File exists
    ln: creating symbolic link `/usr/bin/rpm' to `/bin/true': File exists
    ln: creating symbolic link `/usr/lib/i686/cmov/libssl.so' to `libssl.so.0.9.8': File exists

  8. #108
    Join Date
    Oct 2007
    Location
    Brighton, England.
    Beans
    3
    Distro
    Ubuntu 11.04 Natty Narwhal

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

    As an after thought, I've been looking at the ls -l listing from the /network_connect/ directory (see previous post). Is there any issue with 'ncsvc' being owned by root? Could this be the reason why the 'installNC.sh' script logic reports 'the service doesn't exist' and forces me through a reinstall and therefore the su/root password challenge persists on every use of Juniper?

    These thoughts/ideas were realised after looking at the contents/logic of 'installNC.sh'. Apologies if this is newbe thought process

  9. #109
    Join Date
    Nov 2007
    Beans
    3

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

    Hi Gavin Fowler,

    I got the same problem with root login prompt. I got rid of it by redefining the default shell (changed in Ubuntu 6.06 from /bin/bash to /bin/dash for performance).

    root@ubuntu-desktop:/# ls -l /bin/sh
    lrwxrwxrwx 1 root root 9 2007-11-11 07:37 /bin/sh -> /bin/dash

    root@ubuntu-desktop:/# rm /bin/sh && ln -s /bin/bash /bin/sh

    I haven't made up my mind if I will keep it, or just live with the prompt, because if you hit ctrl-c, ENTER (or ENTER, n, ENTER) it will work anyhow.

  10. #110
    Join Date
    Feb 2007
    Beans
    19

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

    Thanks Guys


    It work, the script works as I wanted

    many thanks!!

Page 11 of 55 FirstFirst ... 91011121321 ... 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
  •