Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112420 - Ebuilds for madwifi-driver, madwifi-tools for 20051111 snapshot, with associated wpa_supplicant ebuild
Summary: Ebuilds for madwifi-driver, madwifi-tools for 20051111 snapshot, with associa...
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-13 07:45 UTC by Mike Auty (RETIRED)
Modified: 2006-01-08 05:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
madwifi-driver-0.1_pre20051111 ebuild (madwifi-driver-0.1_pre20051111.ebuild,2.18 KB, text/plain)
2005-11-13 07:46 UTC, Mike Auty (RETIRED)
Details
madwifi-tools-0.1_pre20051111.ebuild (madwifi-tools-0.1_pre20051111.ebuild,927 bytes, text/plain)
2005-11-13 07:47 UTC, Mike Auty (RETIRED)
Details
wpa_supplicant-0.4.7_pre1.ebuild (wpa_supplicant-0.4.7_pre1.ebuild,3.25 KB, text/plain)
2005-11-13 07:48 UTC, Mike Auty (RETIRED)
Details
wpa_supplicant-0.4.7_pre1-makefile.patch (wpa_supplicant-0.4.7_pre1-makefile.patch,426 bytes, patch)
2005-11-13 07:50 UTC, Mike Auty (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2005-11-13 07:45:09 UTC
This is just a bug because currently the masked madwifi-driver packages are
working off an old snapshot that seemed to crash alot, and the madwifi-tools
package doesn't install the now vital wlanconfig program.

These ebuilds are for the 1325 svn snapshot of 2005-11-11.  There are no unusual
patches for them, but when a card is insert only a wifi0 device is automatically
created and this is not a normal wireless device.  The new madwifi-ng drivers
now allow the creation of different actual devices based off this underlying
wifi0 device.  So for instance, to create a standard adaptor/station, you must
issue the command:

wlanconfig ath0 create wlandev wifi0 wlanmode sta

(This should mean that you can create an access point, and a standard adaptor
and have them both run from the same card simultaneously, but I haven't tried this).

Unfortunately wpa_supplicant-0.4.6 doesn't work with this correctly, because the
scan initiated by the supplicant never terminates.  This has been fixed in the
CVS version and will be included in 0.4.7.  I have also attached an ebuild for a
CVS snapshot that I created from:

http://hostap.epitest.fi/cgi-bin/viewcvs.cgi/hostap/hostap.tar.gz?tarball=1

To create it, examine the Makefile in the wpa_supplicant directory and move all
required files from the hostap directory to the wpa_supplicant directory, then
modify the Makefile to remove all references to ../hostapd (and due to a type
../hosapd as well).  There is a final patch which the ebuild applies (also
attached), which modifies the makefile to include /usr/include/madwifi as an
include location.  If anyone doesn't want to go through the effort of creating
their own wpa_supplicant-0.4.7-pre1.tar.gz, mail me and I can send you mine.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2005-11-13 07:46:18 UTC
Created attachment 72823 [details]
madwifi-driver-0.1_pre20051111 ebuild

This is the main driver ebuild, there are no associated patches
Comment 2 Mike Auty (RETIRED) gentoo-dev 2005-11-13 07:47:10 UTC
Created attachment 72824 [details]
madwifi-tools-0.1_pre20051111.ebuild

The madwifi-tools, which also builds and installs the wlanconfig tool.	There
are no associated patches.
Comment 3 Mike Auty (RETIRED) gentoo-dev 2005-11-13 07:48:51 UTC
Created attachment 72825 [details]
wpa_supplicant-0.4.7_pre1.ebuild

This is an experimental wpa_supplicant with madwifi-ng enabled.  Note that the
tar.gz referenced in the sources must be MANUALLY created from the hostap CVS
snapshot, and has only one associated patch to ensure that the madwifi include
files are correctly used.
Comment 4 Mike Auty (RETIRED) gentoo-dev 2005-11-13 07:50:16 UTC
Created attachment 72826 [details, diff]
wpa_supplicant-0.4.7_pre1-makefile.patch

Patches what a normal wpa_supplicant build's makefile would look like, to
ensure the use of gentoo installed madwifi include files.  For use with
attachment 72825 [details] posted above.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2005-11-13 11:10:24 UTC
I added the new madwifi-driver and -tools version to portage.

brix, can you please take care of wpa_supplicant?
Comment 6 Henrik Brix Andersen 2005-11-13 14:27:27 UTC
(In reply to comment #5)
> brix, can you please take care of wpa_supplicant?

No, I will not add an unofficial pre-release of a development version of a
package to portage in order to maybe fix something as fragile as madwifi support
at this point.

Upstream is aware of the problem with madwifi and madwifi-ng and has promised to
release a new development snapshot as soon as it has been tested that it doesn't
break more than it fixes. I will add the official 0.4.7 developement snapshot
once it is released.
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2005-11-13 14:32:10 UTC
This will be fixed when a wpa_supplicant development-snapshot is available.
makring LATER for the meantime.
Comment 8 Mike Auty (RETIRED) gentoo-dev 2005-11-13 14:34:55 UTC
That's fine, not a problem what-so-ever.  I've posted the instructions and
ebuilds here for anyone who really wants to try out the cutting edge stuff, and
I've also covered the problems I found, so getting an ebuild out when the
wpa_supplicant people do release 0.4.7 should be very easy.  Thanks for your
help everybody, you've all been very speedy.

In case anyone's interested I've also tried to update kismet to work with
madwifi-ng (again the developers have recently added support to the stable
version), but whilst it compiles fine, it doesn't seem to see anything from the
madwifi card (the other cards seem unaffected).
Comment 9 Henrik Brix Andersen 2005-11-13 14:44:51 UTC
Mike,

I appreciate your work on this, I'm just afraid to add to the confusion by
adding an unofficial pre-release of wpa_supplicant at this point due to all the
problems we've had with madwifi support for the last couple of weeks.

Hopefully an official snapshot is not far away.
Comment 10 Patrizio Bassi 2006-01-02 15:14:09 UTC
0.50 is out and in portage, but without madwifi flag.

can it be readded?
Comment 11 Mike Auty (RETIRED) gentoo-dev 2006-01-08 05:37:12 UTC
I've asked the same question in bug 113432, which deals only with that issue, rather than with the madwifi ebuilds as well.  Hopefully the owner of the bug will reopen it and wpa_supplicant will get madwifi support again.