Snow Leopard VPN connection - halfway there
Snow Leopard VPN connection - halfway there
- Subject: Snow Leopard VPN connection - halfway there
- From: Dave Carpeneto <email@hidden>
- Date: Tue, 03 Nov 2009 21:45:09 -0500
Hi - I'm trying to connect via script to my work's Cisco VPN via
networksetup in OS X 10.6.1, however I have the following two issues:
A) Something doesn't allow me to save the password, which means I get a
dialog pop-up when I issue "sudo networksetup -connectpppoeservice
serviceName":
# sudo networksetup -setpppoeaccountname serviceName userName
# sudo networksetup -setpppoepassword serviceName userPass
2009-11-03 21:00:41.041 networksetup[3145:e07] failed to save PPP
password in system keychain: Invalid argument
#
B) Connecting the VPN works fine, but disconnecting does nothing (No
error, return code is '0'):
# sudo networksetup -disconnectpppoeservice serviceName
# sudo networksetup -showpppoestatus serviceName
connected
# echo $?
0
... any ideas on either of the above ? If networksetup is not the road
forward is this doable via applescript ? I can find heaps of
applescripts to connect & disconnect, but none that automate the entry
of a password for this situation :-(
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden