You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

VPN fails to restart after sleep

I use the built-in VPN in OSX 10.6.5. Now and then, after laptop has been to sleep mode, VPN fails to restart ("Configuration error. Check settings and try to reconnect."). The only solution is to restart my laptop. Is there a fix for this? If not, can I restart the built-in VPN in a terminal window (instead of restarting my laptop)?

MacBookPro 13", Mac OS X (10.6.5)

Posted on Dec 30, 2010 5:45 AM

Reply
22 replies
Sort By: 

Feb 16, 2011 4:59 PM in response to jvdesomp

Same issue. Also happens when the VPN service randomly drops. Sometimes, after a random (long) period, I can re-connect.

In the failed state, I also cannot connect to the same VPN server with the Cisco VPN client as well. "Error -28 sending packet."

Is there a way to restart the in-built VPN client?
Reply

Feb 24, 2011 9:28 PM in response to B.S.G

I've just done some more digging, in the failed state, my wireless interface does not emit any packet when trying to setup the VPN.

I just get the scrolling "Connecting..." display in the top menu bar and then the error:

"VPN Connection
A configuration error occurred. Verify your settings and try reconnecting."

Which is very handy, since it was working just fine till the vpn dropped.
Reply

Mar 12, 2011 8:40 AM in response to jvdesomp

Same problem here. Was quite surprised that this has slipped through apple for so long.

Just picked up a macbook pro 17, had to do two things to make this work with 10.6.6...

1) Click on keychain_access -> System (keychain) -> IPSec Shared Secret
Click on "Access Control" tab button
select radio button: Allow all applications to access this item

2) sudo launchctl stop com.apple.racoon
sudo launchctl start com.apple.racoon

Reconnecting then worked.

IMPORTANT: I noticed that it is still flaky making connections.
It seems that doing a stop/start on racoon fixes the problem.

(I'm not convinced on the causality with this; would prefer apple folks to offer up a real solution.)

Yes.. I don't like the "allow all apps access" solution either.
Fwiw, I tried the "allow all apps access" first, which cleared out the blessed apps list. Ugh.
I suppose removing/adding the vpn again would get the list back, then configd (?) could be added.

jeff
Reply

Mar 17, 2011 8:15 AM in response to jvdesomp

What i'm seeing after sleep is that VPN fails to re-connect. Making it reconnect by selecting the appropriate VPN setting from the menu bar (you can enable this by selecting the Show VPN status in menu bar options in the VPN settings panel in System preferences).

Have you tried that? Does that work for you?
Reply

Mar 22, 2011 8:35 AM in response to jvdesomp

Same issue here with 10.6.6. Though it happened without even going to sleep. I just disconnected my vpn and then tried to connect to a different vpn profile.

Using these commands did help for me:

sudo launchctl stop com.apple.racoon
sudo launchctl start com.apple.racoon
Reply

VPN fails to restart after sleep

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