Regarding enabling of Promiscous mode in Wpa_supplicant.

Leonardo Maccari maccari-thisaintpartofmyaddress- at lenst.det.unifi.it
Thu Jun 16 04:33:06 EDT 2005


On Wed, Jun 15, 2005 at 11:00:01AM -0700, J I wrote:
> Hi ,
>       I am trying to enable the Promiscous mode in wpa_supplicant to capture the incoming and outgoing packets. I could see the piece of code in file "hostap_hw.c" setting the promiscous mode by calling the function prism2_setup_rids(), in which the RID for enabling the promiscous mode is being configured. But still i am not able to capture the incoming and outgoing messages. Do i need to make changes in the hostap code for enabling the promiscous mode to serve my purpose ? Is there any specific RID that infoms the driver to pass all the messages to host ? Can any one help me in this regards.
>  

if you run tcpdump on a wireless interface, you see packets entering and
exiting the interface, even not in promiscous mode (I guess you mean
monitor mode). You will miss  some layer II stuff. Otherwise if you put
the card in monitor mode wpa_supplicant wan't work, you need two cards.

ciao,
leonardo.

-- 
   Key fingerprint = 3129 C583 F03B 2E73 0115  C040 3489 0185 B592 19FE
 Obviously -thisaintpartofmyaddress- is not part of my real email address 




More information about the HostAP mailing list