
The following additional arguments must be specified with this command: -ssid= Specify SSID when creating a PSK -c -channel= Set arbitrary channel on the card -h -help Show this help P -psk= Create PSK from specified pass phrase and SSID. The following additional arguments may be specified with this command: -bssid= Specify BSSID to associate with -password= Specify a WEP key or WPA password -I -getinfo Print current wireless status, e.g. Will prompt for network name if arg is not specified and if necessary, for a password if the network is using WEP or WPA. Will perform a directed scan if the optional is provided -r -repeats= Repeat the command the specified number of times -A -associate= Associate to network. It may help you with your issue.īash-3.2# /System/Library/PrivateFrameworks/amework/Versions/Current/Resources/airport -h/System/Library/PrivateFrameworks/amework/Versions/Current/Resources/airport AirPort v.528.1 (528.1.0)Supported arguments: -z -disassociate Disassociate from any network -i -ibss= Create IBSS -x -xml Print info as XML -s -scan= Perform a wireless broadcast scan.

You may want to look at the airport framework.
