On Apr 26, 2013, at 11:50 AM, Luis Correia wrote:
> I check for link type this way:
> (pcap_datalink(dev_handler) ==DLT_IEEE802_11) ,
> So i'm pretty sure its the right data link.
DLT_IEEE802_11 is the *wrong* data link if you're getting a radiotap header in
your packets, as you seem to indica
Hi Michael, thnks for replying.
I check for link type this way:
(pcap_datalink(dev_handler) == DLT_IEEE802_11) ,
So i'm pretty sure its the right data link. Unless pcap_datalink() is broken..
Meanwhile I've media some progress by looking at iwcap
(https://dev.openwrt.org/browser/trunk/package/iw
It sounds like you are not taking into account the link type.
EN10B and LINUX encapsulations are different. "tcpdump" without any
arguments listens on "any" interface, which is a cooked "LINUX"
encapsulation. I' doubt that the one on openwrt does the same thing.
--
] Never tell me
Hi all!
I'm doing a project of mine. It's about guiding a robot in my living room using
wifi.
At first I tried to use two raspberry pi with a wifi dongle (ath9k-htc) and
libpcap to capture wifi packets and read the rssi from my robot mac address.
It works fine. But then I thought in using OpenWRT