problem with hostap+ndiswrapper

Joey Richards joey at
Tue Mar 21 17:40:06 EST 2006


I have the same problem (connection dropping due to "Key Replay Counter 
did not increase") with my broadcomm chipset and a Netgear WG614 access 
point.  No solution was found -- it was suggested to try to use a 3rd 
party (i.e., another PC with a wireless card) to try to observe the 
traffic and see what's going on.  I was not able to do this as I don't 
have access to another wireless card.

In my case, I have no trouble connecting using the same hardware under 
Windows, even with the Windows version of wpa_supplicant.  I've tried 
both the -Dndiswrapper and -Dwext options to wpa_supplicant under Linux. 
  Mine is a 2.6.something kernel.


> Date: Tue, 21 Mar 2006 20:17:04 +0000
> From: "FireStorm -" <gandalf_the_gray at>
> Subject: problem with hostap+ndiswrapper
> To: hostap at
> Message-ID: <BAY107-F357A81A8AAC6E73A6A327FDCD80 at phx.gbl>
> Content-Type: text/plain; format=flowed
> Hello list,
> this is not a hostap related question, but it seems that the list is 
> appropriate anyway (I apologize in advance if it isn't).
> Here it goes:
> I am trying to make my PCMCIA card work with WPA. Wpa_supplicant seems to 
> work fine, but after a few minutes the connection hangs and I am not able to 
> transfer anything, unless restarting the card and restarting wpa_supplicant 
> again.
> Some info:
> - The card uses a Linksys INPROCOMM IPN 2220 chipset.
> - I use ndiswrapper version 2.7 to make it work with the neti2220.inf 
> driver.
> - The OS is a custom Devil-Linux with 2.4.32 kernel (with grsec).
> - Wpa_supplicant is version 0.4.8
> - The AP is a NetGear DG834GT
> Here is the wpa_supplicant.conf file:
> ctrl_interface=/var/run/wpa_supplicant
> ctrl_interface_group=root
> network={
>         ssid="xxxx"
>         key_mgmt=WPA-PSK
>         proto=WPA
>         psk="yyyy"
> }
> Looking through the wpa_supplicant log (pasted below), it seems that at 
> 17:28 the AP  starts  triggering GROUP_HANDSHAKE's. The first ones get 
> COMPLETE'd, but after a while the PC starts to complain that "Key Replay 
> Counter did not increase", dropping all subsequent packets. At that point, 
> no packet makes its way to/from the PC.
> Another clue: when starting wpa_supplicant I get:
> ioctl[SIOCSIWPMKSA]: No such device
> ioctl[SIOCSIWENCODEEXT]: No such device
> ioctl[SIOCSIWENCODEEXT]: No such device
> ioctl[SIOCSIWENCODEEXT]: No such device
> ioctl[SIOCSIWENCODEEXT]: No such device
> ...but as I said, for a few minuted the link is up and running
> So... anybody has some clue about how to solve this ?
> Thanks in advance
> Al

More information about the HostAP mailing list