David Young | 1 Aug 2007 23:08
Picon
Favicon

Re: ath monitor mode does not work with weplab?

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 <at> ojctech.com      Urbana, IL * (217) 278-3933 ext 24


Gmane