LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-09-2009, 09:00 PM   #1
karenin
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Rep: Reputation: 0
Unhappy Madwifi is not compiling in Fedora 9


I have a Toshiba Satellite Laptop, and Fedora 9.
Mi wireless adapter recognized as Atheros Communications Inc. AR242X 802.11abg was not working fine in my new home network. Other computers with the same adapter worked well in this network so the network configuration is fine.
I upgraded to kernel 2.6.27 hoping to find a solution but I can't find how to configure my adapter and I cannot compile madwifi for this kernel.
When I type the "make" command I obtain the next error message

Code:
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.27.9-73.fc9.i686/build SUBDIRS=/home/miguel/Descargas/Madwifi/madwifi-nr-r3366+ar5007 modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.9-73.fc9.i686'
  CC [M]  /home/miguel/Descargas/Madwifi/madwifi-nr-r3366+ar5007/net80211/ieee80211_power.o
/home/miguel/Descargas/Madwifi/madwifi-nr-r3366+ar5007/net80211/ieee80211_power.c: In function 'ieee80211_pwrsave':
/home/miguel/Descargas/Madwifi/madwifi-nr-r3366+ar5007/net80211/ieee80211_power.c:246: error: implicit declaration of function '__skb_append'
make[3]: *** [/home/miguel/Descargas/Madwifi/madwifi-nr-r3366+ar5007/net80211/ieee80211_power.o] Error 1
make[2]: *** [/home/miguel/Descargas/Madwifi/madwifi-nr-r3366+ar5007/net80211] Error 2
make[1]: *** [_module_/home/miguel/Descargas/Madwifi/madwifi-nr-r3366+ar5007] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.9-73.fc9.i686'
make: *** [modules] Error 2
I have the ath5k module blacklisted (I don't know if this is a good idea).

Thanks for any idea
 
Old 01-09-2009, 10:16 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You are aware that madwifi is available via rpmfusion?
 
Old 01-10-2009, 08:56 AM   #3
karenin
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks. I installed madwifi via rpm fusion, but it still doesn't work.
As I said, other computers work just fine in this network, and my laptop work fine in other networks.
It seems to be a problem between my laptop and this network....
Any idea?
Thanks.
 
Old 01-12-2009, 10:22 AM   #4
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
Save yourself from the problems and just update to FC10, kernel-2.6.27 and it will solve all your problems, kernel-2.6.27 has the drivers for those Atheros cards.
 
Old 01-12-2009, 11:23 AM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Unfortunately MadWifi support for the AR542x series in ath5k is, to quote from the code, "a work in progress." I'd suggest that you get the madwifi-hal-0.10.5.6-r3879-20081204 tarball from the snapshot site. That's mostly the ath_pci module, but it's a more recent release (3879) than the one you're using (3366).

The 2.6.26 and 2.6.27 kernels have been changing the wireless headers and structures so the MadWifi code has to be changed to correspond, and the older release you're using does not seem to be up to date. (The error you quoted is because the library function skb_append was - I presume - changed or eliminated in the newer kernels.)

The rpm-fusion madwifi package is, if I remember correctly, is based on the 0.9... code rather than the newer 0.10... code that supports 64-bit processors, so, if your laptop uses a 64-bit Fedora release, you won't have much luck with the rpm-fusion RPM.
 
Old 02-10-2009, 05:30 AM   #6
tommyhot
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
PTrenholme: dude, i've registered here just to thank you. madwifi-hal-0.10.5.6-r3879-20081204 works perfect for me, even on newest stable kernel (2.6.28.4) and debian lenny/sid. you saved me a lot of troubles.. thx again
 
Old 02-28-2009, 09:15 AM   #7
4ng3ls
LQ Newbie
 
Registered: Sep 2008
Posts: 8

Rep: Reputation: 0
I had the atheros working seven hours ago but suddenly is not working anymore, i just take a nap and today is not working, the same problem powersave, it looks like someone need to take care of this, or make a better solution, updating is not an option.
rpm is not working, yum is not working on fedora... so...
 
  


Reply

Tags
ar242x, fedora, 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
error while compiling madwifi girish_hilage Linux - Networking 1 08-12-2008 08:40 AM
Madwifi-old + Aircrack/Trouble compiling madwifi Ashex Linux - Software 7 04-05-2006 11:39 PM
Madwifi-old + Aircrack/Trouble compiling madwifi Ashex Linux - Software 0 03-05-2006 06:55 PM
compiling madwifi Subbeh Mandriva 6 03-07-2005 08:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:26 PM.

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