On 17 Jul 2015, at 16:05, Michael <[email protected]> wrote:
> Is there a command-line way to list all seen wireless networks?

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport
 scan

> Or, for that matter, to select one and provide a password?

networksetup -setairportnetwork enX SSID PASSWORD

enX has to be one of en0 en1 etc that designates your wifi interface.

-- 
"He has no enemies, but is intensely disliked by his friends.." Oscar
Wilde

_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to