LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 11-10-2011, 06:38 PM   #1
benfloyd
LQ Newbie
 
Registered: Nov 2011
Posts: 1

Rep: Reputation: Disabled
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
 
Old 11-10-2011, 08:40 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tcpdump/ngrep sniff packet network command lines Tonyyyp Linux - Newbie 2 06-22-2011 01:53 PM
[SOLVED] How to capture the network packets including 'push' flag with Tcpdump program. windbadboy Linux - Networking 12 07-02-2009 07:09 AM
Ethereal/TCPdump/Kismet, wireless sniffing scott4957 Linux - Software 1 10-17-2005 11:22 PM
Wireless sniffing with Ethereal/tcpdump/kismet scott4957 Linux - Wireless Networking 2 10-07-2005 01:13 PM
Network Analyser based on tcpdump daveyroy Linux - Networking 4 11-29-2004 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration