LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Tcpdump for wireless network (https://www.linuxquestions.org/questions/linux-wireless-networking-41/tcpdump-for-wireless-network-912904/)

benfloyd 11-10-2011 06:38 PM

Tcpdump for wireless network
 
Am working on a project for which I need to get the dump .
What am exactly trying to do is , start a download , and initialize to capture tcpdump and stop when download is complete .
Am doing this on a wireless network . The command I used is


Sudo tcpdump –i wlan0 –w xyz.dmp

this gives me an error -tcpdump: wlan: You don't have permission to capture on that device
((no devices found) /dev/bpf0: Permission denied)

What command should I use to capture the dump ?

Thank You

jlinkels 11-10-2011 08:40 PM

Either wlan0 doesn't exist (have you checked) or the interface does not support promicuous mode (no rescue)

There is no fundamental reason why tcpdump cannot listen on wlan0.

jlinkels


All times are GMT -5. The time now is 06:25 PM.