wpa_supplicant is a WPA Supplicant for Linux with support for WPA and WPA2 (IEEE 802.11i / RSN) It appears to be maintained by the HostAP people at http://hostap.epitest.fi/ I think this would make a nice addition to the portage tree Reproducible: Always Steps to Reproduce: 1. 2. 3.
In order to use wpa_supplicant: a) hostap driver needs to be updated to a newer version (versions in portage are very old) b) madwifi driver in portage does not include wpa branch, there should be a madwifi-wpa ebuild in portage, or add "USE=wpa" to existing ebuild.
xsupplicant has reached version 1.0, we still have 0.8 in portage, and gentoo still lacks wpa_supplicant... when will we have wpa support in gentoo??
I've tried to read and understand the Gentoo Ebuild how-to, but I get really confused on exactly what is expected. I could spend a bit of time and hack together a new ebuild based on the old, but is that acceptable? If not, I would appreciate a little more detail as to how to create ebuilds. Sorry, but I find the howto to be a little too general (although I understand a lot of different packages require a lot of different things) Additionally, I think we need packages for the stable and dev branches. Thanks for your help
I started working on the development stuff of hostap-{driver,d,utils} and wpa_supplicant this weekend. I also got a 1.0 xsupplicant ebuild mostly working. Hopefully i will have something testable this week. i will post the ebuilds here. I'm not yet sure if i feel comfortable having the development hostap stuff in portage, but we'll see how the testing goes. Best bet for writing ebuilds is reading existing ones. Sadly there's a *lot* of different specific stuff that can come up in different realms. "man 5 ebuild" is also a useful reference (but not great for just learning how to write an ebuild).
Peter Johansson: Has you made any progress yet? If so, I would like te test the ebuilds.. Thanks, Azoff
I have made one ebuild, but as this is my first ebuild ever, I need someone to check it ;) Please feel free to edit it in anyway you like, but tell me what you changed and why so I can manage to do it right next time :) Thanks.
Created attachment 35744 [details] wpa_supplicant-0.2.4.ebuild
Torbj
Torbjörn, thanks for the ebuild! I will test it when I arrive at home and send you my feedback. another question: any sucess with madwifi's wpa branch ebuild anyone?
I finally tried the ebuild for wpa_supplicant that Torbj
I finally tried the ebuild for wpa_supplicant that Torbjörn Svensson posted here. I've had to modify it to build with madwifi support, see wpa_supplicant's README file: Please note that you will need to use the WPA branch and modify the wpa_supplicant Makefile to use correct path for madwifi driver root directory (CFLAGS += -I../madwifi/wpa line in Makefile). See bug 59739 for getting a madwifi-driver version with WPA support. The current version in portage (20040726) still doesn't have it. We still lack a hostap-driver (version 0.2.x which is now considered stable) in portage with WPA support, see bug 57708.
Created attachment 36988 [details] wpa_supplicant ebuild with madwifi-driver support This ebuild will only work if you use updated madwifi-driver from bug 59739
Okay folks, spent some time working on this tonight, including having forgotten that bug 59739 existed. Anyway, there's an overlay up with my work located at: http://dev.gentoo.org/~latexer/files/overlays/ that includes ebuilds for all the new hostap* stuff, as well as madwifi-wpa and wpa-supplicate ebuilds. Please give those all a shot, meanwhile i will try to look at all the stuff here and incorporate any changes/fixes i may find. Please report back any success/failures.
Peter- Thanks for the ebuilds, AFAIK the hostap driver, utils, and wpa_supplicant all seem to work. I can't fully test the WPA supplicant until WPA is working in the ipw2100 driver. The only complication was having to add FEATURES="-sandbox" but I forget which ebuild needed it.
New ebuild for madwifi-driver added. This snapshot is taken from the WPA branch. Could some people please test it with wpa_supplicant and confirm it is working. emerge '=net-wireless/sys-madwifi-driver-0.1_pre20040824'
net-wireless/wpa-supplicant is now in portage. Closing this bug as FIXED.
Did you test it with Madwifi?
I have included CONFIG_DRIVER_MADWIFI and it builds using madwifi-driver-0.1_pre20040906.tar.bz2 - but I did not test it since I don't have the hardware. I also didn't test wpa_supplicant with the Atmel, ndiswrapper or prism54 driver since I lack the hardware. The main point is that the wpa-supplicant ebuild compiles fine with those driver options enabled and works with the hostap-driver. The ebuild is keyword masked and I expect people to report bugs if they encounter any bugs.
Horton, did you get a chance to test it with the madwifi driver yet? Can this bug be closed?
I lack wpa to check it with. I suspect I am just gunna have to breakdown and setup wpa since we have such a long line of people waiting to test wpa with madwifi.
Created attachment 40570 [details] wpa-supplicant-0.2.4-r1.ebuild I successfully used this ebuild for WPA with a madwifi built from CVS HEAD (now WPA branch has been merged). I'm attaching /etc/conf.d/wpa_supplicant, /etc/init.d/wpa_supplicant and an updated ebuild which installs these and has an RDEPEND on wireless-tools.
Created attachment 40571 [details] files/wpa_supplicant.conf.d
Created attachment 40572 [details] files/wpa_supplicant.init.d
Please attach your changes to the ebuild as a patch.
Created attachment 40589 [details, diff] patch to wpa-supplicant-0.2.4.ebuild
net-wireless/wpa-supplicant-0.2.5 is now in portage - including init script (not the ones from this bug, though). Closing as FIXED.