Command Line Airport commands on MacOSX
by bram
$ /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport
Supported arguments:
-c[
-z –disassociate Disassociate from any network
-I –getinfo Print current wireless status, e.g. signal info, BSSID, port type etc.
-s[
Will perform a directed scan if the optional
-x –xml Print info as XML
-P –psk Create PSK from specified pass phrase and SSID.
The following additional arguments must be specified with this command:
–password=
–ssid=
-h –help Show this help