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 05-08-2007, 05:50 AM   #1
rtaank
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Rep: Reputation: 0
Unhappy Capturing 802.11 Headers in Managed Mode


Hi,

I am using the latest Wireshark on my FC6 distro with an Intel ipw2200 mini-pci card. I am trying to capture all 802.11 frames received (and destined for) by only that client (i.e. non-promiscuously).

At the moment it captures everything arriving to it as expected, but there are no 802.11 header per packet - only Ethernet headers.

My ipw2200 card is in Managed mode as it is actually connected to the wlan being studied, and receiving and sending real traffic.

I know that the card must be put into Monitor mode if I want to see all the 802.11 data in my Wireshark captures, but then obviously i lose connectivity from the wlan, and thus cannot send or receive real traffic data anymore - which goes against what i am trying to do in my experiments. Thus, the card must remain in a Managed mode, and yet still pass all 802.11 information up to Wireshark. This is my dilemma.

I have searched endlessly on the Internet for ways around this, and have found only a few articles that touch briefly on the subject, without giving too much detail. From what i'm reading out there, i think there is a way around this by using a specific type of card/driver combination?

Others have mentioned making modifications to the driver for my card (ipw2200)?

I also read that the mad-wifi and hostap drivers might be able to do what I need, but from their respective project websites i couldn't find these answers. Also, would they work with my ipw2200 card?

So, if anybody out there could perhaps shed some light on this issue it would be helping me out a great deal.

Thanks in advance for your time.

Ritesh
 
Old 05-08-2007, 08:46 AM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
The MadWiFi driver will not work with your Intel card.

One of the cool features of the Atheros chipset/ MadWiFi combo is the ability to use virtual interfaces. You can run one in managed mode and carve out another one for monitor. Very slick.

Alternatively, you could add a cheap Prism card to the config for monitoring.
 
Old 05-08-2007, 09:02 AM   #3
rtaank
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks for that information, it does sound very slick!

Unfortunately I do not have access to an Atheros chipset card, or a Prism one.

I've been working on my dilemma for the past few hours and have ended up adding a second wireless pcmcia adaptor (a cisco aironet 350) (eth2) to the same notebook, which can be put into monitor mode and capture all 802.11 frames near to the notebook.

The consensus is that if the original adaptor (eth1) can see 802.11 frames, then so should (eth2) - giving high levels of accuracy as to which frames were actually received by the client.

Of course this is a crude way of doing what I need, but for now i will have to make assumptions.

If anybody has any suggestions or tips with my current setup then my ears are open...

Ritesh
 
  


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
Master mode on one NIC and Managed mode on the other ilan1 Linux - Networking 0 02-22-2006 08:02 PM
iwlist vs tethereal in capturing 802.11 wifi ESSID and data rates powah Linux - Wireless Networking 0 11-07-2005 10:21 AM
802.11 MAC headers on Ethereal violetb Linux - Wireless Networking 2 03-24-2005 03:57 AM
pcmcia wireless 802.11b card that can be put into master mode jalsk Linux - Wireless Networking 3 12-07-2004 10:07 PM
lot of problem in capturing packet in promisc mode masood_gandhi Linux - Networking 2 11-26-2004 09:53 AM

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

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