Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: A workaround for Cisco VPN issues after sleep' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: A workaround for Cisco VPN issues after sleep
Authored by: wrwebb79 on Oct 31, '06 10:21:36AM

Hey there-

So I tried all this stuff and kept getting

"you must be root to run ConsoleMessage
permission denied; you must be root to unload kets
you must be root to run ConsoleMessage
you must be running as root to load modules onto the kernel"

I guess this is pretty good since I don't want to *censored* up my kernel...but I would like to be able to make the VPN work! I downloaded it today and got the error message everyone has been mentioning here...any ideas? How do i login as root? How do i not *censored* it up?



[ Reply to This | # ]
10.4: A workaround for Cisco VPN issues after sleep
Authored by: rsnyder on Oct 31, '06 01:13:00PM

You need to add 'with administrator privileges' to the end of the first line after the end of the double quotes:

do shell script "/System/Library/StartupItems/CiscoVPN/CiscoVPN restart" with administrator privileges
tell application "VPNClient"
activate
end tell
quit

recompile and save the script.

This will throw you the administrator login panel when you run the script, and as long as your account as admin privileges, it will work just fine.



[ Reply to This | # ]