Advertisement
Guest User

Airport Terminal Commands

a guest
Jul 12th, 2015
799
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. Geeky fun with the airport command. Just discovered this little thing so I thought I would share.
  2. Add a symbolic link of the Airport command to /usr/sbin which lives in /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport
  3. type this command to create the symbol link:
  4. sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport
  5. … and type your password
  6. You can run the ‘airport’ at the terminal line prompt to get a help file. Simply type airport to get a list of commands or airport -h.
  7. Typing "man airport" brings up a very vacant manual.
  8. For example if you type airport -I (that's an i) it will print the current wireless status, e.g. signal info, BSSID, port type etc.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement