Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
tshark'n 802.11 on macos notes and cheatsheet


Create a symlink to the AirPort command in Terminal:

ln -s /System/Library/PrivateFrameworks/Apple80211.framework/
Versions/Current/Resources/airport /Usr/bin/airport

# test utility
airport -I
airport -s

# disassociate

sudo airport -z

# set/verify channel

sudo airport --channel 36
sudo airport --channel


sudo airport -c36
sudo airport -c 


tshark -v         # show version
tshark -D         # list interfaces
tshark -Ini en1   # basic catch all


tshark -Ini en1 type mgt subtype probe-req

touch test.pcap
chmod o=rw test.pcap
sudo tshark -Ini wlan0 -w test.pcap type mgt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.