On Sat, Oct 12, 2002 at 11:12:21AM +0800, Evelyn Tan wrote:
> I am currently studying how ethereal do all the wireless packet capturing
> stuff. Can somebody please tell me which are the files that contain the code
> that do the wireless packet captured stuff. I believe it is not done by
> libpcap, am i right?
No, you are not right. *ALL* capturing done using Ethereal is either
done with libpcap/WinPcap or (on UNIX) by a program piping stuff to
Ethereal (but those programs probably use libpcap).
The FAQ referred to in another reply explains what you need to do in
order to capture raw 802.11 packets.
> Besides, is there any sample on wireless packet? I find it difficult to get
> even when i run ethereal and chose to use the wireless NIC, those packets
> seems like ethenet packet. I couldn't find any 802.11 packet. Is this what
> it should be?
That depends on the OS on which you're running. If that OS is neither
Linux nor FreeBSD, that's all you can get, and even on Linux or FreeBSD,
if you have older versions of the OS or drivers, or a card whose drivers
in that OS don't support raw 802.11 packet capture, that's all you can
get. See the FAQ.