Networking Forums

Networking Forums > Computer Networking > Linux Networking > help compiling madwifi drivers

Reply
Thread Tools Display Modes

help compiling madwifi drivers

 
 
AA
Guest
Posts: n/a

 
      09-18-2004, 06:10 PM
I've been trying to compile the madwifi drivers for the atheros chipset
wireless cards. I've tried unsuccessfully under three different scenarios:
(1) RH9 with 2.6.8.1 kernel
(2) RH FC2
(3) Knoppix bootable CD ROM (usually my "sure thing")

Each of these gives different errors during the "make." Here is where
my RH9 belches:

----------------begin paste--------------------
for i in ./ath_hal ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
done
make[1]: Entering directory `/home/aa/download/wifi/ath_hal'
make -C /lib/modules/2.6.8.1/build
SUBDIRS=/home/aa/download/wifi/ath_hal modules
make[2]: Entering directory `/usr/src/linux-2.6.8.1'
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/linux-2.6.8.1'
make[1]: Leaving directory `/home/aa/download/wifi/ath_hal'
make[1]: Entering directory `/home/aa/download/wifi/net80211'
make -C /lib/modules/2.6.8.1/build
SUBDIRS=/home/aa/download/wifi/net80211 modules
make[2]: Entering directory `/usr/src/linux-2.6.8.1'
CC [M] /home/aa/download/wifi/net80211/ieee80211_linux.o
/home/aa/download/wifi/net80211/ieee80211_linux.c: In function
`ieee80211_sysctl_debug':
/home/aa/download/wifi/net80211/ieee80211_linux.c:369: too few arguments
to function `proc_dointvec'
/home/aa/download/wifi/net80211/ieee80211_linux.c:374: too few arguments
to function `proc_dointvec'
/home/aa/download/wifi/net80211/ieee80211_linux.c: At top level:
/home/aa/download/wifi/net80211/ieee80211_linux.c:386: warning:
initialization from incompatible pointer type
/home/aa/download/wifi/net80211/ieee80211_linux.c:391: warning:
initialization from incompatible pointer type
make[3]: *** [/home/aa/download/wifi/net80211/ieee80211_linux.o] Error 1
make[2]: *** [_module_/home/aa/download/wifi/net80211] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.8.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/aa/download/wifi/net80211'
make: *** [all] Error 1
----------------end paste--------------------

Can anyone offer any suggestions as to what could be wrong?

Thanks.
 
Reply With Quote
 
 
 
 
bgeer
Guest
Posts: n/a

 
      09-19-2004, 08:22 PM
AA <(E-Mail Removed)> writes:

>I've been trying to compile the madwifi drivers for the atheros chipset
>wireless cards. I've tried unsuccessfully under three different scenarios:
>(1) RH9 with 2.6.8.1 kernel
>(2) RH FC2
>(3) Knoppix bootable CD ROM (usually my "sure thing")


>Each of these gives different errors during the "make." Here is where
>my RH9 belches:



From http://www.mattfoster.clara.co.uk/madwifi-faq.htm:

3.9. I have problems building Madwifi under linux 2.6.8.*

A couple of people have made patches which fix problems with calling
proc_dointvec.

So far, no patches have been made which are backwards compatible with
2.4 series kernels, so as yet nothing has been applied to CVS.

You can find Volker Gropp's patch on his site..

N.B The patch should work for 2.6.8.1 as well as 2.6.8-mm4.

For help on applying patches, see my miniHowto

The web page has URLs to "site" & "miniHowto".

I upgraded my box to 2.4.27 & madwifi works great...almost "too easy"...:-)

--
<> Robert Geer & Donna Tomky | |||| We sure |||| <>
<> (E-Mail Removed) | == == find it == == <>
<> (E-Mail Removed) | == == enchanting == == <>
<> Albuquerque, NM USA | |||| here! |||| <>
 
Reply With Quote
 
AA
Guest
Posts: n/a

 
      09-19-2004, 11:46 PM
bgeer wrote:
> AA <(E-Mail Removed)> writes:
>
> >I've been trying to compile the madwifi drivers for the atheros chipset
> >wireless cards. I've tried unsuccessfully under three different scenarios:
> >(1) RH9 with 2.6.8.1 kernel
> >(2) RH FC2
> >(3) Knoppix bootable CD ROM (usually my "sure thing")

>
> >Each of these gives different errors during the "make." Here is where
> >my RH9 belches:

>
>
> From http://www.mattfoster.clara.co.uk/madwifi-faq.htm:
>
> 3.9. I have problems building Madwifi under linux 2.6.8.*
>
> A couple of people have made patches which fix problems with calling
> proc_dointvec.
>
> So far, no patches have been made which are backwards compatible with
> 2.4 series kernels, so as yet nothing has been applied to CVS.
>
> You can find Volker Gropp's patch on his site..
>
> N.B The patch should work for 2.6.8.1 as well as 2.6.8-mm4.
>
> For help on applying patches, see my miniHowto
>
> The web page has URLs to "site" & "miniHowto".
>
> I upgraded my box to 2.4.27 & madwifi works great...almost "too easy"...:-)
>

Excellent, thank you, this did allow my drivers to compile, and my card
did briefly connect to a neighbor's AP upon insertion, but I can't seem
to get it to talk to my own AP, which uses WEP. iwconfig suggests that
it has associated with it. I'm using a Netgear WAG511. Any idea what
could be wrong?

Also, I'm trying to get this card working with Kismet, but kismet just
crashes with
/usr/local/bin/kismet: line 63: 6434 Floating point
exception${BIN}/kismet_server --silent $server

Thanks again!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubiquiti SRC & MadWifi Filo_Flame Wireless Internet 1 11-30-2007 12:01 PM
Some progress with wpa_supplicant/madwifi Ignoramus25943 Linux Networking 6 09-25-2007 01:58 PM
madwifi drivers on arm linux 2.6.18 tricky Linux Networking 0 01-15-2007 07:08 AM
Did anyone use setmlme in madwifi drivers tricky Wireless Internet 0 08-23-2006 11:12 AM
madwifi, atheros, htb tricky Linux Networking 0 06-07-2006 01:09 PM



1 2 3 4 5 6 7 8 9 10 11