The current madwifi-driver-0.1_pre20050420-r1 based on the madwifi cvs drivers dated 20050420 does not connect properly with windows clients when used in master (AP) mode with hostapd and WPA. Patches are incoming which allow windows clients to connect properly with WPA enabled. The patches to the madwifi-driver stop the constant EAPOL-Key timeouts when a windows client attempts to connect. Windows clients can connect properly and use the wireless network normally. Some older versions of Windows do not like EAPOL version 2 in hostapd, so hostapd must use EAPOL version 1. However, I have successfully connected a Windows XP SP2 box using EAPOL version 2 so maybe this is fixed in the latest Windows 2000 SP? Either way, I have included a patch to hostapd to make it use EAPOL version 1 and be more compatible should you want to include it. Unrelated issue (I have no solution for) but I thought I'd mention it: If you use an Atheros adapter supporting 108Mbps Super-G mode for your Linux-based AP and use an Atheros-based adapter supporting 108Mbps Super-G mode on the Windows box, they appear to connect properly but no data can be sent. I noticed every time a packet is transmitted from the Windows box it tries to send at 108Mbps (regardless of the rate set on the Linux-based AP) which is not supported by the Linux madwifi driver. The solution so far has been to use a non-Super G mode (54Mbps only) wireless adapter in the client machine. I apologize if my bug report is not sufficient. I am not very experienced in reporting bugs. Please let me know if I can be of further help. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 72554 [details] madwifi-driver-0.1_pre20050420-r1.ebuild
Comment on attachment 72554 [details] madwifi-driver-0.1_pre20050420-r1.ebuild New madwifi-driver ebuild in full, just needs -r2 bump
Created attachment 72555 [details, diff] madwifi-driver-0.1_pre20050420-r1.ebuild.patch Patch to existing ebuild
Created attachment 72556 [details, diff] madwifi-hostapd-groupkey.patch actual patch to madwifi-driver
Created attachment 72557 [details] hostapd-0.3.9-r1.ebuild New hostapd ebuild in full, just needs -r2 bump
Created attachment 72558 [details, diff] hostapd-0.3.9-r1.ebuild.patch Patch to existing ebuild
Created attachment 72559 [details, diff] use-eapol-v1-winxp-compat.patch
(In reply to comment #7) > Created an attachment (id=72559) [edit] > use-eapol-v1-winxp-compat.patch > sorry for the lame naming of this patch.
Please submit these patches upstream. When a new release is available, it will appear in Gentoo Portage.
(In reply to comment #9) > Please submit these patches upstream. > > When a new release is available, it will appear in Gentoo Portage. I don't think they are interested in patches on old 2005-04-20 drivers. All the latest drivers seem to be broken. I am happy to just have an improvement on the existing driver. So I'll stick with my overlays. With these patches I've got one pci madwifi doing hostapd wpa-psk and two clients both connecting successfully using 802.11g+WPA-PSK. One Windows XP workstation and one gentoo laptop (airlink madwifi pcmcia card). Without these patches, it doesn't work and all the latest drivers don't work at all.