Wifi sniffing in MacOS X Yosemite

Did you know that MacOS X 10.10 (Yosemite) now includes a packet sniffer? Useful for troubleshooting, or uh… other purposes. Just option-click on your Wi-Fi menu item and choose Open Wireless Diagnostics…

diags

Ignore the opened window and just hit Command+6 to open the sniffer. Choose your channel and spectrum width and then click Start. You can capture as long as you want (or until you run out of disk space). If you’re not sure which channel space you want to sniff, hit Command+4 to open the scanner tool (available since 10.7).

menu

spectrum

You’ll find a timestamped .wcap file on your desktop that can be opened with Wireshark. I like to just open them with Console.app to stay local.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s