Login network drive mount conditional to VPN connection.


I'm setting up a Mac OS X for my wife and I have no experience (still more then her). The problem I'm facing is that I need an outside network drive to be mapped at login, but the VPN connection to that network must succeed first. Unfortunately the VPN login can't happen automatically since it requires the user to input the password (Cisco AnyConnect).
How can I accomplish this?

Who is Participating?
jiiins2Connect With a Mentor Author Commented:
I found the solution myself. I wrote a little AppleScript that launches the VPN client, sends the password, waits for the remote network to be available and finally maps the drive.

Thanks anyway.
Istvan KalmarHead of IT Security Division Commented:

It sees the the network operator not installed the mac os to cisco firewall, please adk him for update te firewall local fileas, and it will be working...

Best regards,
jiiins2Author Commented:

not sure what you mean. I can connect to the remote network any time. The problem is that I can't do it automatically as the VPN client doesn't allow to save the password.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.