blog advertising is good for you


blog advertising is good for you
User login

Changing Airport Settings En Masse

I needed to change many iBooks from having a Preferred Network (and wanting to keep looking for that network) to automatically joining any open network and not giving a preference to that certain network.

I found that the two preference files involved were:

  • /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
  • /Library/Preferences/SystemConfiguration/preferences.plist

I also found that the computer name is kept in preferences.plist, so copying these two files out to all the iBooks would have resulted in a same-name-game fiasco. Soooo, my solution was to:

  1. Copy /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist out to all the iBooks using Apple Remote Desktop.
  2. Issue the following UNIX command as root also using Apple Remote Desktop: sed -i.backup -e ‘s/Ranked/Automatic/’ /Library/Preferences/SystemConfiguration/preferences.plist

This command will search through the preferences.plist file for the word Ranked and replace it with the word Automatic.

Average rating
(1 vote)
About schwankl

Author Biography

Since 2000, Schwankl has worked as a computer technician for a school system in NC (80% mac).

Post new comment
The content of this field is kept private and will not be shown publicly.
4 + 9 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.