Juniper networks VPN

Hi just upgraded to 10.6, looks really great, but cant find away to install Junper networks VPN, anyone got this working?
Thanks
Steve

Macbook Pro, Mac OS X (10.6)

Posted on Aug 28, 2009 5:14 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 29, 2009 4:39 PM

Same issue that smithg13 had in that first try. You are missing the single-quote from the mkdir line.

You said:


mkdir /Applications/Network Connect.app/Contents/Frameworks


The command should include the single-quotes (or apstrophe's) like this:


mkdir '/Applications/Network Connect.app/Contents/Frameworks'



The problem is that there is a space in "Network Connect", so the mkdir command thinks you're trying to give it two paths, the one before the space, and the one after the space: "/Applications/Network" and "Connect.app/Contents/Frameworks"
57 replies
Question marked as Top-ranking reply

Aug 29, 2009 4:39 PM in response to Jim Allen

Same issue that smithg13 had in that first try. You are missing the single-quote from the mkdir line.

You said:


mkdir /Applications/Network Connect.app/Contents/Frameworks


The command should include the single-quotes (or apstrophe's) like this:


mkdir '/Applications/Network Connect.app/Contents/Frameworks'



The problem is that there is a space in "Network Connect", so the mkdir command thinks you're trying to give it two paths, the one before the space, and the one after the space: "/Applications/Network" and "Connect.app/Contents/Frameworks"

Sep 5, 2009 1:48 PM in response to mikerei

The steps I followed for a clean install of Network Connect and the many threads from here to Juniper.

1st make sure if you have a host checker script running, that you turn that off first, if you are not sure what its called (might different name based on your company) you may need to get with your company. also note that it could be setup to autostart.
2nd make all of the Network Connect application is off
3rd. make sure you Quit Safari
4th. you could also do a backup of your computer, I had done one before i upgraded to Snow Leopard
you could just reboot to do the above steps, but you will still need to confirm the hostchecker is not autostarting, but you could do a reboot after removing all files/folders listed below.

Assumptions i am making: You know how to use the Terminal application, know some basic UNIX, and familiar with sudo.

Now lets do the clean up from the Terminal app, using the sudo command. *be very careful that only remove the following and not at a higher level.
Remove the following Host Checker and Network Connect files/folders
Note: the single quotes between folders with spaces, they are required, otherwise you will get an error.
Note: the first time you use the sudo command you will be prompted for a password, this will be any account with admin privileges.

sudo -l
sudo rm '~/Library/Application Support/Juniper Networks'
sudo rm '~/Library/Logs/Juniper Networks'
sudo rm '/Applications/Network Connect.app'
sudo rm /usr/local/juniper

Once you have removed the above, recommend that you reboot

Now search on google for NetworkConnect.dmg, you must have the standalone installer which is provided by a DMG file. Current location as of this posting was found at http://www.tcnj.edu/~nts/downloads/NetworkConnect/. it will install an older version that will be upgraded by your company's SSLVPN web login.

Once you have download the NetworkConnect.dmg file, it installs just like any other Mac OS X application. Follow the onscreen steps. After the install then from the Terminal app type the following after confirming the version you currently have under /usr/local/juniper/nc
sudo chmod 755 /usr/local/juniper/nc/{version number]
sudo mkdir '/Applications/Network Connect.app/Contents/Frameworks'

access your SSLVPN site, login… it should then upgrade you /usr/local/juniper/nc with a newer version than the one installed by the .dmg. it should have also transferred the chmod permissions you did above, it not then redo that step only. of course confirm the new version number ( this is only if your still getting the same browser warning)
sudo chmod 755 /usr/local/juniper/nc/{version number]

hope this works for you and others

Aug 28, 2009 3:37 PM in response to wislon

I just had a chat with Juniper, and I need to get some versions of software and hardware device that my company is using first. We are currently running 6.0 of Network Connect, and she said you need 6.5 for Snow Leopard, as mentioned above. Problem is only certain hardware devices/software versions on the server side will support a client higher than 6.0. So I'm praying IT comes back to me with a version that is supported. Otherwise my main reason for upgrading (Exchange integration) goes up in flames.

Aug 29, 2009 8:31 AM in response to joebella

This fix works perfectly. I didn't have to the chmod (the permissions were already ok), but creating the Frameworks directory did the trick. Can't believe it. The directory isn't even used for temp or cached files when connected. Bizarre.

Anyway, for everyone's convenience, I created a .pkg you can download and run that will create the directory for you. Here's the link:

<Edited by Host for Direct Download Link>

I can assure you the package is perfectly safe, however if you'd like to run the UNIX commands, I can assure you they are accurate and easy to do as well.

Cheers,
Sapridyne

Aug 28, 2009 10:07 PM in response to Jim Allen

Hi Jim,

certainly. Let me break it down a little bit for you. First you need to run the Terminal application. You will find this under Applications -> Utilities
Once you run this program, you will get a window with a command line prompt. The first thin you want to type is:

sudo -i

After you type this command and hit return, you will be prompted for a password. This is your regular system password. By typing this command it, you are giving yourself super-user access which will be required to run the rest of the commands.

Next type this:

ls /usr/local/juniper/nc/

This command will list the contents of the directory /usr/local/juniper/nc. You are looking for a directory that is named the same as the version number of your Network Connect. In my case, the version number is 6.0.0. Remember this, because you will need it in the next step. Type:

chmod 755 /usr/local/juniper/nc/6.0.0/

This command changes the permissions on the directory called /usr/local/juniper/nc/6.0.0. If you are running a different version than 6.0.0, then please substitute the name of your directory.

Finally, you need to create a new directory. Type:

mkdir /Applications/Network Connect.app/Contents/Frameworks

Your done. It should work now.

Sep 20, 2009 2:25 PM in response to joebella

joebella wrote:
Hi all..

I have been having this problem and I am using version 6.0 of the client. The following fix seems to have worked for me:

Open terminal and type:

sudo chmod 755 /usr/local/juniper/nc/[version number]/
sudo mkdir '/Applications/Network Connect.app/Contents/Frameworks'

I found this here:
http://www.thevagary.net/archives/2009/08/makenetwork_connect_work_ins.html


I am running NC 6.1.0. This solution fixed my problem! Thank you joebella!

Sep 23, 2009 6:40 AM in response to joebella

joebella wrote:
Hi all..

I have been having this problem and I am using version 6.0 of the client. The following fix seems to have worked for me:

Open terminal and type:

sudo chmod 755 /usr/local/juniper/nc/[version number]/
sudo mkdir '/Applications/Network Connect.app/Contents/Frameworks'

I found this here:
http://www.thevagary.net/archives/2009/08/makenetwork_connect_work_ins.html

Thank you, that worked for me.

Aug 28, 2009 10:40 AM in response to MuddyBulldog

Same here, managed to install it manually, launch Network Connect, authenticate but it fails at some point when establishing the VPN session, before launching ncproxyd. (Using 6.0.0 client, that worked fine with 10.5). btw, ncproxyd runs fine when started manually, but without the right parameters its useless, it needs to be started by Network Connect.app.

Juniper official answer was to upgrade to next IVE OS (6.5 I think) when available, which is not an option for us since it requires upgraded hardware AFAIK.

If anyone manage to make it work with some hacks, let me know. Thanks

Aug 31, 2009 4:28 AM in response to alanwill

Hi, I have the same problem. Since I clean-installed Snow Leopard to my MBPro, even downloading network connect at Safari fails. The Safari browswer shows error like "restart browswer and try again...".

At that time, directories like /usr/local/juniper do not exist. The error above occurs before Network Connect gets installed under /usr/local/juniper.

And when the Safari shows the error above, /var/log/system.log says
=====
Aug 31 18:04:36 user077 [0x0-0xf40f4].com.apple.Safari[4676]: Certificate is valid
Aug 31 18:04:37 user077 [0x0-0xf40f4].com.apple.Safari[4676]: NeoterisLibLoader: java.lang.UnsatisfiedLinkError: /Users/sampleuser/Libra
ry/Java/Extensions/libJNPRAuthKit.jnilib: no suitable image found. Did find: /Users/sampleuser/Library/Java/Extensions/libJNPRAuthKit
.jnilib: no matching architecture in universal wrapper
=====

and when I do "file /Users/sampleuser/Library/Java/Extensions/libJNPRAuthKit", it says

=====
/Users/sampleuser/Library/Java/Extensions/libJNPRAuthKit.jnilib: Mach-O universal binary with 2 architectures
/Users/sampleuser/Library/Java/Extensions/libJNPRAuthKit.jnilib (for architecture ppc): Mach-O dynamically linked shared library ppc
/Users/sampleuser/Library/Java/Extensions/libJNPRAuthKit.jnilib (for architecture i386): Mach-O dynamically linked shared library i386
=====

I confirmed that my Snow Leopard is running with kernel 32 bit mode.
So, "Mach-O dynamically linked shared library i386" should work though...

Message was edited by: slash5234

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Juniper networks VPN

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.