Error 51 from Cisco VPN client under MacOS X

Of late, I have been repeatedly getting an "Error 51" when starting up my VPN client on MacOS X Leopard. The complaint seems to be that the VPN subsystem can't bind to a network interface.

A quick Google search turned up this awesome blog entry, and from there, the workaround is pretty simple. Restart the VPN subsystem with:

sudo /System/Library/StartupItems/CiscoVPN/CiscoVPN restart


Sadly, this does seem to be an annoyance with Cisco's VPN client under Leopard when interfaces are changing -- adding/dropping an Ethernet port, say. I agree with the aforementioned blog's opinion that, being that telecommuters are mostly the ones using this client, it's pretty sad that the client can't seem to deal with changes in the system's network configuration.

In any event, the fix works -- filing this away for future reference.

Update: Found another site with a pre-compiled AppleScript application you can just run from the dock/bar. Thanks so much for this!

Comments

Anonymous said…
Could be that you're running in 64bit mode. Try starting up the Mac in 32bit. See: http://codingo.blogspot.com/2010/02/error-51-with-cisco-vpn-client-on-mac.html
Mary Shane said…
I have it up en running on 8.10, and helped a colleague the other day to sett it up, and all we used was the info above.This was really helpful! More power to you and to your site!


VPN
Mary Shane said…
This comment has been removed by the author.
Unknown said…
Glad this helped you!