Subject: Re: ath monitor mode does not work with weplab?
To: None <tech-kern@NetBSD.org, current-users@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: current-users
Date: 08/01/2007 16:08:31
On Wed, Aug 01, 2007 at 09:54:24PM +0200, Vincent wrote:
> Hi there,
> I've several problems connecting to an AP at work, so I imagined using
> weplab on my laptop to see what's going on during the attachement phase.
>
> However, weplab refuses to work, because, although I put my ath card
> into monitor mode using ifconfig, the pcap open reports the link to be
> EN10 and not DLT_IEEE80211.
weplab has to set the datalink type (DLT) using pcap_set_datalink(3).
Monitor mode does not set the DLT.
> Has anybody ever managed to get raw IEEE 802.11 out of the ath driver?
Yes. All the time. The bug is in weplab.
Dave
--
David Young OJC Technologies
dyoung@ojctech.com Urbana, IL * (217) 278-3933 ext 24