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

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.

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

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.