| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| This is crazy odd. I just opened up the email to search on this very topic. I've been playing around with this, and have a little info, although its not too positive. The network preferences panel allows you to export your VPN settings, but I can't find a way to import from the CL. What you get is a XML file with a .networkConnect extension. It looks about like what ends up in /Library/Preferences/SystemConfiguration/preferences.plist under a unique ID in the NetworkServices dictionary, except its in a standalone file that can be double clicked by the user to create the service. You might be able to add the info by hacking the SystemConfiguration plists, but I don't know how the dynamic store will react. Digging into scutil (cl interface to the dynamic store) you can see that the dynamic store isn't having any of this IPSec hardware port thing. Thats some kind of virtual mapping that networksetup (And Network control panel) must be doing. Looking at the interface dictionary for the service, you only get the Type tag (IPSec), as opposed to the Ethernet service dictionary which displays Hardware, UserDefinedName, DeviceName, and Type. Whatever magic is going on there is not exposed via networksetup. I was hoping to find an easy way to import the networkConnection file, but so far no dice. Google laughs at me. Its possible that scutil (or digging further the framework <SystemConfiguration/SystemConfiguration.h>) can give you enough raw control to create your own setup, but that will take more research. --DH On Nov 2, 2009, at 12:02 PM, email@hidden wrote:
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Client-management mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/client-management/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.