Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I run Wireshark on a MacBook Air and I also have a Android phone on the same WiFi-network. If I visit a website with the Android phone I can't see that DNS-traffic (or other traffic) in Wireshark on my MacBook Air. Is there any way I can capture all traffic on the WiFi-network in Wireshark?

share|improve this question

2 Answers 2

You need a network card that can be set in 'promiscuous mode' which I don't believe the MBA allows.

You may have better luck using ADB to get logs via usb debugging in this specific case but in general you're going to need different network hardware.

share|improve this answer

You'd need to capture in promiscuous or monitor mode; not all Wi-Fi adapters and their drivers handle promiscuous mode, but many of them handle monitor mode, including the adapters in various flavors of MacBook and the OS X drivers for them.

If the network is encrypted (WEP/WPA), monitor mode traffic will be encrypted, and you will have to arrange that Wireshark can decrypt it.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.