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


Click here to return to the '10.6: Add wireless networks from command line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Add wireless networks from command line
Authored by: DarthMagnus on Oct 05, '10 09:28:30AM

Convenient. I was just looking at this command because our IT department at my school uses WPA2 Enterprise authentication using an 802.1x profile and we have been having a ton of problems setting this up on the Macs. I was hoping that doing it programmatically would resolve these issues and stop people from saying silly things like they hate Macs.

Only problem is, I can't seem to get it to specify the 802.1x profile to use. Anyone have any ideas on this? Or is there a better way to go about deploying network configurations programmatically? Thanks!



[ Reply to This | # ]
10.6: Add wireless networks from command line
Authored by: tedw on Oct 05, '10 10:58:31AM
There are several options for importing/exporting 802.1x profiles listed on the networksetup man page (see here and search for 8021x). are they what you're looking for?

[ Reply to This | # ]
10.6: Add wireless networks from command line
Authored by: DarthMagnus on Oct 05, '10 06:07:39PM

Unfortunately, not quite. Those will work for getting the profiles imported into the Network preference pane, but not for telling the preferred network you set up to use the already-imported 802.1x profile. Also, I'm not sure if that even works for telling the 802.1x profile which certificates to use or not. Still testing on that part.



[ Reply to This | # ]
10.6: Add wireless networks from command line
Authored by: tom larkin on Oct 05, '10 09:48:32PM

Here is the newest man page if that helps

http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/networksetup.8.html



[ Reply to This | # ]