a life of coding

Wednesday, May 25, 2005

Remember Your Networks?

When you connect to a wireless network on the Mac, it asks you if you want to remember this network. Unfortunately, at no point does it let you forget said network. The remembered networks are stored in a "data" value in /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist, which of course makes it hard to edit by hand. Paul Shreiber wrote a script last August to read the data value and output a new plist (in /tmp/com.apple.airport.preferences.plist) which you can then "sudo cp" over the real one.

The script is also a short example of using FoundationKit in perl.

References: http://www.paulschreiber.com/download/getAirPortNetworks-pl.txt

0 Comments:

Post a Comment



<$I18N$LinksToThisPost>:

Create a Link

<< Home