Posted on 09-07-2012 07:33 AM
I need to create for our Mac laptop users 3 distinctive "Location" settings. Two of them are unique Ethernet based settings with Wifi turned off. The other is a Wifi setting with Ethernet turned off.
Any suggestions on how to create this?
Posted on 09-07-2012 09:06 AM
For Starters, you will want to create a grouping for these computers either using a smart computer group or a static group, whichever makes most since in your environment.
I'm not sure about the script for turning off Ethernet, but there is a script in the resource kit to turn off the airport. It is called "disableAirPort.sh" I'm not sure which OS this will run on, so testing will be needed.
Of course, getting a script to turn off ethernet is the next portion. Of course, you will probably need a way to reverse these and that may get more interesting. The airport script is easily reversible from what i have read in the scripts own documentation
Posted on 09-07-2012 02:06 PM
start by checking out the man page for networksetup
http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/networksetup.8....