LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-08-2012, 05:25 AM   #1
omega341991
Member
 
Registered: May 2012
Posts: 39

Rep: Reputation: Disabled
How to get Linksys WUSB600N v1 [Ralink RT2870] capture packets in 11n network?


Why is it that tcpdump cannot monitor the 802.11n packets.
I am able to monitor packets in the 11b and 11g networks
Only 11n network is not possible. What could be the reason?

The wireless adapter supports 11n standards (checked packet capture using the tool OmniPeek in Windows platform )

I want to know why tcpdump cant capture 11n packets in Linux
Am currently using Ubuntu 12.04

Awaiting reply

I have a Linksys WUSB600N v1 [Ralink RT2870] adapter.
I am able to capture packets from 11b and 11g networks but not able to capture packets from 11n networks.(capturing using the Linux command tcpdump ). Should i configure the adapter or change some settings so that i can capture packets in the 11n network also? Or is the capture not possible due to some driver related issues?


Please reply

Last edited by colucix; 06-09-2012 at 08:46 AM. Reason: Moderator note: threads merged because both were asking an almost identical question
 
Old 06-11-2012, 02:18 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,854

Rep: Reputation: 161Reputation: 161
Some wifi driver requist to add monitor interface to capture packet.
 
Old 06-11-2012, 10:44 PM   #3
omega341991
Member
 
Registered: May 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
how do i do that? do u know?
 
Old 06-12-2012, 02:23 PM   #4
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,854

Rep: Reputation: 161Reputation: 161
iw phy phy0 interface add moni0 type monitor
ifconfig moni0 up
ifconfig moni0 10.0.0.1 netmask 255.255.255.0
tcpdump -i moni0
 
Old 06-12-2012, 11:26 PM   #5
omega341991
Member
 
Registered: May 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
Thank you very much

Btw i hav one more doubt

how will i GET the correct channel has been set using command
iw phy phy0 set channel 11 HT20 ?

and what is the use of the command

iw dev wlan0 set channel 11 HT20 when there is another command
iwconfig wlan0 channel 11

Last edited by omega341991; 06-13-2012 at 05:36 AM.
 
Old 06-13-2012, 02:13 PM   #6
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,854

Rep: Reputation: 161Reputation: 161
Should use iw dev wlan0 set channel 1 [HT20|HT40+|HT40-] to set channel or iw dev wlan0 set freq 2412 [HT20|HT40+|HT40-] to set frequency.
 
Old 06-13-2012, 11:03 PM   #7
omega341991
Member
 
Registered: May 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
thank you

Btw could you also tell me on how to set the source MAC addr also using iw command
The problem is that iw only accept broadcast signals (am using my adapter in monitor mode )
Hence to use as a sniffer i need to set the MAC address (i tried setting the source MAC address from tcpdump but no capture occurs when i use iw
But capturing is possible when i set the modes using iwconfig

Awaiting reply

Last edited by omega341991; 06-14-2012 at 03:44 AM.
 
Old 06-14-2012, 02:21 PM   #8
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,854

Rep: Reputation: 161Reputation: 161
ifconfig wlan0 down hw ether 00:00:00:00:00:01
ifconfig wlan0 up
 
Old 06-15-2012, 04:52 AM   #9
omega341991
Member
 
Registered: May 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
Thank you very much
 
  


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
D-Link System DWA-140 802.11n Adapter [ralink rt2870] - Not recognized dlinux Slackware 11 12-27-2009 11:19 PM
Network Driver Installation WUSB600n rt2870 cynicalpsycho Linux - Hardware 1 04-13-2009 01:24 AM
Looking for Linksys WUSB600N (Ralink rt2870 chipset) support. brenlae Linux - Newbie 3 04-12-2009 04:36 PM
D-Link DWA-140 802.11n USB (with Ralink RT2870 chispet) driver probs andywest Linux - Hardware 2 06-12-2008 12:40 PM

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

All times are GMT -5. The time now is 01:12 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