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 01-08-2005, 12:37 PM   #1
Erik Thorsson
Registered: Jun 2004
Location: NYC
Distribution: Fedora Core 1
Posts: 64

Rep: Reputation: 15
madwifi drivers on debian (compile errors)

I'm trying to build the madwifi drivers from source, since there doesn't seem to be any way to apt-get them. I installed and unpacked the kernel source, and kernel headers, then I copied /boot/config-2.6.8-1-386 to /usr/src/kernel-source-2.6.8/.config like it says to do in the madwifiwiki ath0 on debian page ( This is a Debian Sarge machine. Here is my sad output...


yew:/home/jlucas/madnoworkie/madwifi-20041023.orig/madwifi# make
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
make[1]: Entering directory `/home/jlucas/madnoworkie/madwifi-20041023.orig/madwifi/ath_hal'
make -C /lib/modules/2.6.8-1-386/build SUBDIRS=/home/jlucas/madnoworkie/madwifi-20041023.orig/madwifi/ath_hal modules
make[2]: Entering directory `/lib/modules/2.6.8-1-386/build'
make[2]: *** No rule to make target `modules'. Stop.
make[2]: Leaving directory `/lib/modules/2.6.8-1-386/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jlucas/madnoworkie/madwifi-20041023.orig/madwifi/ath_hal'
make: *** [all] Error 1


What am I missing here? I'm sure it's a simple fix.


Old 01-08-2005, 02:09 PM   #2
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Did you actually follow all the steps on the page you link to? The reason I'm asking is this:

now before re-building the kernel, I modified /etc/kernel-pkg.conf to include the line:

do_clean := No

this can be necessary because the madwifi driver wants some built executables for compiling. Newer versions of the driver (from mid-March, 2004) will build without this step.
Some wireless drivers have actually requried the user to have compiled their own kernel first, and it looks to me like this is a way around having to do that.
Old 01-08-2005, 09:21 PM   #3
Erik Thorsson
Registered: Jun 2004
Location: NYC
Distribution: Fedora Core 1
Posts: 64

Original Poster
Rep: Reputation: 15
Yes, I added that line to /etc/kernel-pkg.conf. Still getting the same error.
Old 01-08-2005, 10:50 PM   #4
Erik Thorsson
Registered: Jun 2004
Location: NYC
Distribution: Fedora Core 1
Posts: 64

Original Poster
Rep: Reputation: 15
Okay. Got it working. Don't know what the problem was with compiling, but I started all over and followed the instructions here... the letter and everything worked smoothly. You'll have to apt-get kernel-source-whateverversionyourkernelis, and a few other packages, before you get to the point where you can start following the instructions, but if you have some experience with Linux it should be do-able.

Good luck.



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
MadWiFi make errors PhilHalf Linux - Newbie 1 07-07-2005 03:24 AM
madwifi errors Murph00009 Linux - Wireless Networking 7 01-10-2005 05:58 AM
Madwifi compile problems Hockeyfan Linux - Wireless Networking 5 11-19-2004 06:06 PM
MADWifi compile problems MysteriousRevC Linux - Newbie 2 08-28-2004 02:35 PM
MADWifi compile problems MysteriousRevC Linux - Networking 1 08-28-2004 02:18 PM

All times are GMT -5. The time now is 10:11 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