Re: prism2ethereal: Is monitor mode available?


From: Yann Klis (yannski_at_www-aius.u-strasbg.fr)
Date: 2002-03-26 22:34:01 UTC



In fact, in the docs provided with the driver, there's a sample program called inject designed for packet injection. In the inject's README it is written that the device need to be in monitor mode. So can the card inject packet and monitor together ? Or packet injection is different from sending data ?

yk

En r�ponse � Masanori Nakahara <masa_at_cs.washington.edu>:

> Thank you for Peter,
>
> I didn't recognize that the machine which is enable to
> monitor mode can't send data packet.
> I thought monitoring mode can show the statistics
> of receiving and transmitting packets on the device
> with normal usage, like the cisco's aironet client utility
> which is binary distribution from cisco.
> Anyway, I succeeded to use wlansniff and ethereal.
> Thank you.
>
> masa
>
> ----- Original Message -----
> From: "Peter K. Lee" <pkl_at_duke.edu>
> To: "Masanori Nakahara" <masa_at_cs.washington.edu>
> Cc: <hostap_at_lists.ssh.com>
> Sent: Monday, March 25, 2002 6:40 PM
> Subject: Re: prism2ethereal: Is monitor mode available?
>
>
> > I'm not certain that your testing method to see if monitor mode is
> > working is correct...
> >
> > once you change one of the laptop to monitor mode, that laptop is no
> > longer capable of transmitting packets, meaning that your ping from
> the
> > other laptop will tell you that destination is unreachable.
> >
> > However, that laptop should be able to 'see' the ping request sent
> from
> > the other laptop to itself anyways, and properly print out that fact
> > when it is in monitor mode '1' and running 'wlansniff'. (but I'm not
> > really familiar with what wlansniff captures and doesn't capture...
> you
> > might need to use tcpdump?) But it won't be able to reply back to
> the
> > other laptop... as you seem to have observed.
> >
> > So, capturing raw frames definitely works properly. I'm just not
> sure
> > what you're trying to capture, and what you want to do with it...
> >
> > And I have the same prism driver, with same network card, with same
> > wireless extension, although not the same kernel (but that shouldn't
> > really matter), so I could tell you that monitor mode works perfectly
> > fine.
> >
> > -Peter
> >
> >
> > On Mon, 2002-03-25 at 17:27, Masanori Nakahara wrote:
> > > Hi,
> > >
> > > I continue to debug above issues:-)
> > > Does anyone succeed to use "iwpriv wlan0 monitor 1"
> > > to capture raw frames?
> > > I found that when I set monitor mode to 1 or 2, packet
> > > can't be received correctly.
> > > Precisely speaking, two laptop are set to ad-hoc mode
> > > and ping from one laptop to another on monitor mode 0
> > > without any trouble. After changing to mode 1 or 2,
> > > ping doesn't reach.
> > > Again, reset to monitor mode 0, ping reaches again.
> > > Could you test if you've already have environment to use
> > > hostap and let me know your environment if you succeed
> > > to capture raw frames by running wlansniff on mode 1 etc.
> > >
> > > My environment:
> > > Hardware: Linksys WPC 11
> > > Driver : Prism2-2002-2-13.tar.gz
> > > Kernel : 2.4.18
> > > Wireless Extension: version 12
> > > Wireless tools: version23 ( iwconfig/iwpriv...)
> > >
> > > masa
> > >
> > >
> >
> >
> >
>
>



This archive was generated by hypermail 2.1.4.