

You will be prompted to enter in your account password for verification.“sudo /usr/libexec/airportd en1 sniff 11” Once you have a terminal window open, you can run the follow command to capture a Wireless sniffer trace on RF channel 11 (802.11b/g):.Use the “command” + “Space bar” key combo to bring up the search diaglog box in the upper right top of the screen and type in the word “terminal”, this will search for the terminal application, select this application to run it.If you are running OS X 10.6 (Snow Leopard) or above, then you can easily use the command line utility “ airportd”.

This document covers OS X 10.6 through 10.8. However, depending on what versions of OS X you are running, the commands may vary. Wireless sniffing on the Mac works well, as Mac OS X has built in tools to capture a wireless trace.
