cancel
Showing results for 
Search instead for 
Did you mean: 

Mac OS and Network Connect: running Session start script

mikek_
Occasional Contributor

Mac OS and Network Connect: running Session start script

Hi, I'm running 6.5R3.1 on our test unit. I'm trying to do Network Connect from a Mac, and to run a Session start script, and potentially, a Session end script. I can't figure out how to do it. Should the script reside on the remote Mac? When I do that, and it is a valid script, Network Connect starts normally, but the script doesn't run. But in addition, another window pops up asking for a Network Connect location, and this process runs on the Mac, in addition to the initial Network connect process:

/Applications/Network Connect.app/Contents/MacOS/Network Connect -DSCrashRecovery 1 -DSCrashSignalNumber 5 -DSCrashAddress 0x947434e4

If I put in a bogus path on the Mac for Session start script, Network connect only starts once, ie normally.

thanks


3 REPLIES 3
Jickfoo_
Super Contributor

Re: Mac OS and Network Connect: running Session start script

I've run scripts but they are always on a server somewhere, not local on the machine. So in the session start field, I put something like:

\\servername\sharename\runme.exe

mikek_
Occasional Contributor

Re: Mac OS and Network Connect: running Session start script

Thanks to Juniper tech support, I figured it out. I wanted to run a unix shell script, but the network connect client was starting twice. Putting a 'sleep 1' in the script fixed it, and now my session start script is running.

marcovr1980_
Not applicable

Re: Mac OS and Network Connect: running Session start script

Hi, I'm also trying to run a session start script on MacOS X clients. It works if the script is available on the computer but what I want is to run it from the network. Do you know how the path should look like?