wlansniff setup

Bichot Guillaume Princeton BichotG
Fri Jan 17 11:40:12 PST 2003


Raghu,

Basically : iwconfig wlan0 mode "Monitor" 

And to select the type of header included in the monitored frames: 
Prism2_param wlan0 monitor_type <val> (0: 802.11 / 1: prism2 + 802.11)

If it does not work (wireless tools < v25) then

Iwpriv wlan0 monitor <val> ((0: off /2: 802.11 / 3: prism2 + 802.11)

Guillaume

> -----Original Message-----
> From: Raghu [mailto:raghu at sraamerica.com] 
> Sent: Friday, January 17, 2003 2:20 PM
> To: hostap at shmoo.com
> Subject: wlansniff setup
> 
> 
> Hi, 
>  
> I am using HostAP(STA)  & HostAP(AP). 
> Can someone please let me know how to setup in monitoring 
> mode. Basically I should be able to parse all the 802.11 
> packets that are sent over the air between STA & AP. 
>  
> I tried the following (at both AP & STA) 
> cd sniff 
> make 
> ./wlansniff -b0 wlan0 
> Unsupported arptype 0x0001 
>  
> I searched the mailing list and didnot find any matches. 
> I think I am missing some basic setup. 
> Can someone please point me in the right direction. 
>  
> -Raghu 
>  
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030117/627ae524/attachment.htm 



More information about the Hostap mailing list