VPN drop after lid close but not lid open sleep

Discussion in 'MacBook Air' started by dp.ucsd, Aug 23, 2011.

  1. dp.ucsd macrumors newbie

    Joined:
    Jul 11, 2011
    #1
    Hi all,

    Is a lid-open sleep not equal to a lid-close sleep ? If I initiate a "lid-open" sleep with inactivity exceeding the computer sleep time set in Prefs, Energy Saver, Battery, my VPN connection is still there after waking. If, however, I initiate a sleep by closing the lid, the VPN is no longer connected after waking.

    Any suggestions ?

    VPN client: Cisco AnyConnect 2.4.1012
    machine: MBA w/SSD running 10.6.8

    Thanks,
    Dave
     
  2. SDub90 macrumors 6502a

    Joined:
    Nov 9, 2009
    Location:
    Long Island
    #2
    Do you have the "put hard disks to sleep when possible" option checked or unchecked?
     
  3. dp.ucsd thread starter macrumors newbie

    Joined:
    Jul 11, 2011
    #3
    tried with it checked and with it unchecked. same behavior.
     
  4. brand macrumors 601

    brand

    Joined:
    Oct 3, 2006
    Location:
    127.0.0.1
    #4
    Have you tried using the VPN capabilities that are built into Mac OS instead of the Cisco third party software?
     
  5. ZipZap macrumors 601

    Joined:
    Dec 14, 2007
    #5
    Which type of sleep and how long is the lid closed?

    Once the WIFI connection is closed you will loose VPN.

    So when your screen goes black...thats one type of sleep (screen saver/power saver mode)
    Another is hybernation when almost everything is shut down.
     
  6. dp.ucsd thread starter macrumors newbie

    Joined:
    Jul 11, 2011
    #6
    When I tried the built-in VPN, I get the error message:

    "No VPN shared secret was provided. Verify your settings and try reconnecting."

    I assume this has something to do with the VPN configuration's Authentication settings? In any case, our institutional IT people said that they only support the Cisco VPN client.

    ----------

    Yes, I'm familiar with the different levels of sleep at a conceptual level. Not sure of the details of which one is implemented by which trigger. The implication in my original post is that these two ways of instigating some form of "sleep" are different. The comparison was prompted by a suggestion from our IT staff to test it. Of course if the Wifi is dropped I expect to lose the VPN connection.

    My *original* goal was to have VPN *reconnect automatically* after, for example, closing the lid, walking around within same WIFI network (i.e. lid closed for 1-10 minutes), then opening lid. I've searched forums, etc. ad nauseum and haven't found a simple solution. The reviews of Caffeine, Insomniax, and Sleepless look quite varied, and I remain unclear which would be the best for my need.
     
  7. brand macrumors 601

    brand

    Joined:
    Oct 3, 2006
    Location:
    127.0.0.1
    #7
    That is because you didn't provide the VPN shared secret when setting it up.
     
  8. dp.ucsd thread starter macrumors newbie

    Joined:
    Jul 11, 2011
    #8
    So would I need to ask our IT staff if they could configure a VPN client with a shared secret wrapped into it somehow, or would I ask them for values for the parameters for the Authentication settings (e.g. shared secret or certificate) ?

    Relatedly, is there reason to believe that the Mac OS X built in VPN client would automatically reconnect after lid close/open when the Cisco client does not?
     

Share This Page