Failed to set encryption with wpa_supplicant v0.2.1

Jouni Malinen jkmaline at
Fri May 7 09:20:15 EDT 2004

On Fri, May 07, 2004 at 04:57:13PM +0800, Daniel Liu wrote:

> I got some error messages during running wpa_supplicant.
> Ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
> Failed to set encryption.
> Unknown algorithm 'TKIP'.
> You may need to load kernel module to register that algorithm.
> E.g., 'modprobe hostap_crypt_wep' for WEP.
> Failed to set PTK to the driver.

Did you try the command that was recommended in a reply to your previous
(identical) question?

modprobe hostap_crypt_tkip

Please report the output of that command and output of 'dmesg' after
wpa_supplicant has reported that error.

Jouni Malinen                                            PGP id EFC895FA

More information about the HostAP mailing list