Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 02-24-2008, 11:03 PM   #1
Registered: Jan 2007
Location: Maryland
Distribution: Arch and Red Hat
Posts: 34

Rep: Reputation: 17
Madwifi on a Gentoo Laptop

Hi guys, I'm back again.

I have gentoo installed on my Acer Aspire 5050-3785, which has an Atheros AR5007EG in it. In Debian, I was able to successfully install the madwifi driver, patch it, and run wifi off of that. However, I then bricked my install by adding both a "testing" and an "unstable" repository and intelligently running apt-get dist-upgrade. But I deviate.

I ran emerge emerge madwifi-ng madwifi-ng-tools per this guide:

(I tried both the way it specified and simply running the emerge command.) The result is this:

* madwifi-ng- requires Cryptographic API support (CONFIG_CRYPTO).
* madwifi-ng- requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions
* requires CONFIG_KMOD to be set to y or m
* The die message:
* Incorrect kernel configuration options

So far I've been unable to figure out where these options need to be set/how to set them (and I don't think it's just a good idea to echo configuration options into random system files).

Any advice would be appreciated. Thank you!
Old 02-24-2008, 11:17 PM   #2
Registered: Jan 2007
Location: Maryland
Distribution: Arch and Red Hat
Posts: 34

Original Poster
Rep: Reputation: 17
Update, right after making this post I finally found something here:
This post says:

"You need to recompile your kernel.
First, run "make menuconfig"
Then, look under "Cryptographic options" in the root level and enable "Cryptographic API"
Then do the usual make and copy arch/i386/boot/bzImage.
After a reboot, the emerge should work (It's not compiling anything into the kernel, but needs some pre-compiled options)."

I am trying to do all of this, I got to the second step and I see "Cryptographic API." However, I can neither modularize it nor select it to be compiled with the kernel.
Old 02-25-2008, 01:06 AM   #3
Registered: Sep 2005
Posts: 181

Rep: Reputation: 16
Hmmm... it sounds that the selection is blocked by
another option in kernel I'd say. Did you grep your .config for
I bet they are not set with one switch - so possibly you need to look
for wireless part first activate something and then go to crypto...
Can't say it offhand but I think you need to activate another option before
the crypto can be activated...
Old 03-04-2008, 06:33 PM   #4
Registered: Jun 2005
Location: Georgia, USA
Distribution: Arch, Gentoo, Ubuntu
Posts: 91

Rep: Reputation: 15
See my post here for kernel auto module loading (problem with ath_pci) (I thought it was a problem with the button)

Also, you need to compile the patch set for the AR5007EG given to madwifi at ticket #1679 - download the patched driver and compile it to your kernel.

If your problem really is the driver for the card, and it is the AR5007EG card, then this should get you working!


ar5007eg, atheros, gentoo, madwifi

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to load madwifi driver madwifi-0.9.4-38_r2512.el5 louisb Linux - Wireless Networking 3 07-21-2007 08:15 PM
problem installing madwifi drivers on IBM laptop w. mandriva 2007 sisyfos Linux - Networking 1 10-18-2006 08:56 AM
Madwifi with atheros in laptop not working in debian with linux 2.6 annacoder Linux - Wireless Networking 4 04-28-2006 02:48 AM
MADwifi/cryptoAPI in kernel 2.6.13-gentoo-r3 kougar Linux - Newbie 1 10-19-2005 05:31 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 02:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration