Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to log the MAC address of wifi devices around that try to connect to a free wifi.

I.e. on an iPhone you will often see that screen proposing free wifis around you. In order to display this information the iPhone needs to communicate with the AP before an connection has been established. Hence, it should -generally speaking- be possible to log this, right?

I had a look at Kismet and airodump-ng (on my Mac) and I was able to capture all network traffic, but couldn't extract what I am looking for.

Has someone any links, ideas, .... that might help?

Thanks everyone reading this, Nico

share|improve this question
So I finally found a solution. You can use various tool, most build upon libpcap. Some are tcpdump or tshark, that can directly output on the command line, write to as csv and/or save pcap files. Your wifi device needs to support monitor mode, which is true for most platforms. To get started use wireshark and apply a capture filter "wlan.fc.type_subtype eq 4". – Nico Apr 11 '13 at 10:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.