1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 06:18:17 +01:00
tldr/pages/osx/airport.md
2016-01-28 15:32:16 -05:00

496 B

airport

Wireless network configuration utility.

  • Create a symlink so you can easily run 'airport' without specifying a path:

sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport

  • Show current wireless status information:

airport -I

  • Sniff wireless traffic on channel 1:

airport sniff {{1}}

  • Scan for available wireless networks:

airport -s

  • Disassociate from current airport network:

sudo airport -z