Monday, March 8, 2010

Command line wifi

This is the command line interface for the wifi card (Airport).
A couple of useful commands: For scanning the available networks
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s
And, to query the status of the current connection
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I


Source: http://osxdaily.com/2007/01/18/airport-the-little-known-command-line-wireless-utility/

No comments:

Post a Comment