Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Because my desktop computer doesn't have a wireless card, I'm tethering to my Android to connect to my Wi-Fi network.

I was wondering if Android supports promiscuous mode, so I can monitor my wireless network traffic?

share|improve this question
2  
Isn't this more about the radio chipset and drivers than Android? We probably need to know what device you have. –  Matthew Read Jul 23 '11 at 0:25

2 Answers 2

IIRC you can't put an wireless interface in promiscuous mode when it's used. But this may not be true for all interfaces/chipsets/drivers.

You can install Shark for Root, which is a cut-down wireshark for Android. It does sniff on Layer 2 and above without promiscuous mode, so the results are not the same as sniffing with e.g. kismet. On the other hand you will be able to capture traffic even when tethered. It's maybe possible to set promiscuous mode on some android interfaces. Shark for Root should then be able to capture all packets that your W-LAN antenna receives.

share|improve this answer

You can't monitor your Wi-Fi network using tethering even if Android supports promiscuous mode for the Wi-Fi chipset.

Reason:
Tethering does NAT internally and assigns you an IP in a 192.168.* private range via a DHCP daemon running on your phone. There's no way you can see pure Wi-Fi traffic this way.

What you can do:
Have a custom firmware installed (e.g. CyanogenMod) and do a tcpdump on your phone itself (if it supports both PROMISC mode and tcpdump)

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.