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

Click here to return to the 'Generate list of wi-fi networks a Mac has used' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Generate list of wi-fi networks a Mac has used
Authored by: slvrstn on Jan 01, '13 11:34:54AM
For 10.6.8, use "KnownNetworks" instead of "RememberedNetworks"

As to the use of networksetup for this, it's not really the same thing.
listpreferredwirelessnetworks is just that, the list of Preferred Networks that you have configured.

What the original hint is showing is the last time you've connected to any wireless SSID, regardless if you've marked it preferred or not.
Might help to narrow down a location if you pick up something nasty while mobile.

I've condensed all the grep/sed's down to one (equally incomprehensible) call to perl:

defaults read /Library/Preferences/SystemConfiguration/ KnownNetworks  | perl -lane 'print $1 if /SSID_STR.*= "?(.*?)"?;/ || /_timeStamp.*= "(\d{4}-\d\d-\d\d)/'

[ Reply to This | # ]