• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Snow Leopard VPN connection - halfway there
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • [solved] Re: Snow Leopard VPN connection - halfway there
      • From: Dave Carpeneto <email@hidden>
  • Prev by Date: Re: SCNetworkServiceCreate returns kSCStatusNoKey when trying to create a PPP service
  • Next by Date: Re: SCNetworkServiceCreate returns kSCStatusNoKey when trying to create a PPP service
  • Previous by thread: Re: SCNetworkServiceCreate returns kSCStatusNoKey when trying to create a PPP service
  • Next by thread: [solved] Re: Snow Leopard VPN connection - halfway there
  • Index(es):
    • Date
    • Thread