Login network drive mount conditional to VPN connection.

Posted on 2009-12-18
Last Modified: 2013-11-08

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?

Question by:jiiins2
    LVL 34

    Expert Comment

    by:Istvan Kalmar

    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,

    Author Comment


    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.


    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
    In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now