Fedora Linux Support Community & Resources Center
  #16  
Old 24th August 2009, 08:30 PM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,799
linuxfedorafirefox
The 'struct net_device' has no member named 'priv' seems to indicate that your source code needs to be updated to work with kernels above 2.6.27. See if you can find an updated madwifi source that is more recent.
Reply With Quote
  #17  
Old 24th August 2009, 09:15 PM
Gödel's Avatar
Gödel Offline
Registered User
 
Join Date: Jul 2009
Location: London,England
Posts: 1,103
linuxfedorafirefox
get the latest snapshot from http://snapshots.madwifi-project.org/madwifi-trunk/

eg http://snapshots.madwifi-project.org...0090822.tar.gz builds in F11

Code:
$ tar xvf Download/madwifi-trunk-r4087-20090822.tar.gz
$ cd madwifi-trunk-r4087-20090822/
$ make
Reply With Quote
  #18  
Old 25th August 2009, 03:01 PM
Non-Serviam Offline
Registered User
 
Join Date: Aug 2009
Posts: 12
linuxfedorafirefox
I have done it and I get this:
Code:
[root@localhost madwifi-trunk-r4088-20090825]# make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.29.4-167.fc11.i586/build SUBDIRS=/home/neo/Download/madwifi-trunk-r4088-20090825 modules
make[1]: Entering directory `/usr/src/kernels/2.6.29.4-167.fc11.i586'
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath/if_ath.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath/if_ath_radar.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath/if_ath_hal_extensions.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath/if_ath_pci.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath/ath_pci.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ah.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ah_eeprom_v1.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ah_eeprom_v14.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ah_eeprom_v3.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ah_os.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ah_regdomain.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5210/ar5210_attach.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5210/ar5210_beacon.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5210/ar5210_interrupts.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5210/ar5210_keycache.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5210/ar5210_misc.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5210/ar5210_phy.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5210/ar5210_power.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5210/ar5210_recv.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5210/ar5210_reset.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5210/ar5210_xmit.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5211/ar5211_attach.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5211/ar5211_beacon.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5211/ar5211_interrupts.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5211/ar5211_keycache.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5211/ar5211_misc.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5211/ar5211_phy.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5211/ar5211_power.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5211/ar5211_recv.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5211/ar5211_reset.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5211/ar5211_xmit.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar2316.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar2317.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar2413.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar2425.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5111.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5112.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_ani.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_attach.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_beacon.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_eeprom.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_gpio.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_interrupts.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_keycache.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_misc.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_phy.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_power.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_recv.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_reset.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_rfgain.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5212_xmit.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5212/ar5413.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar2133.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_ani.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_attach.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_beacon.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_cal.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_cal_adcdc.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_cal_adcgain.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_cal_iq.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_eeprom.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_gpio.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_interrupts.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_keycache.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_misc.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_phy.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_power.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_recv.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_reset.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar5416_xmit.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ar5416/ar9160_attach.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ath_hal.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/amrr/amrr.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/amrr/ath_rate_amrr.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/minstrel/minstrel.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/minstrel/ath_rate_minstrel.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/onoe/onoe.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/onoe/ath_rate_onoe.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/sample/sample.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/sample/ath_rate_sample.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/if_media.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_skb.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_beacon.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_crypto.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_crypto_none.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_input.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_node.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_output.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_power.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_proto.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_scan.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_wireless.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_linux.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_monitor.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_rate.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_acl.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_crypto_ccmp.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_scan_ap.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_scan_sta.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_crypto_tkip.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_crypto_wep.o
  CC [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/ieee80211_xauth.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_wep.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_tkip.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_ccmp.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_acl.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_xauth.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_scan_sta.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_scan_ap.o
Reply With Quote
  #19  
Old 25th August 2009, 03:02 PM
Non-Serviam Offline
Registered User
 
Join Date: Aug 2009
Posts: 12
linuxfedorafirefox
Code:
Building modules, stage 2.
  MODPOST 14 modules
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/ath/ath_pci.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath/ath_pci.ko
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ath_hal.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal/ath_hal.ko
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/amrr/ath_rate_amrr.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/amrr/ath_rate_amrr.ko
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/minstrel/ath_rate_minstrel.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/minstrel/ath_rate_minstrel.ko
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/onoe/ath_rate_onoe.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/onoe/ath_rate_onoe.ko
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/sample/ath_rate_sample.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/sample/ath_rate_sample.ko
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan.ko
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_acl.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_acl.ko
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_ccmp.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_ccmp.ko
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_scan_ap.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_scan_ap.ko
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_scan_sta.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_scan_sta.ko
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_tkip.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_tkip.ko
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_wep.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_wep.ko
  CC      /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_xauth.mod.o
  LD [M]  /home/neo/Download/madwifi-trunk-r4088-20090825/net80211/wlan_xauth.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.29.4-167.fc11.i586'
make -C ./tools all || exit 1
make[1]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools'
for d in ath_info; do \
		make -C $d || exit 1; \
	done
make[2]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools/ath_info'
gcc -g -O2 -W -Wall -c ath_info.c
ath_info.c: In function 'ath5k_eeprom_read_turbo_modes':
ath_info.c:750: warning: 'val' may be used uninitialized in this function
gcc -g -O2 -W -Wall  -o ath_info ath_info.o
make[2]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools/ath_info'
gcc -o athstats -g -O2 -Wall -I. -I../ath_hal -I.. -I../ath  athstats.c
gcc -o 80211stats -g -O2 -Wall -I. -I../ath_hal -I..  80211stats.c
gcc -o athkey -g -O2 -Wall -I. -I../ath_hal -I..  athkey.c
gcc -o athchans -g -O2 -Wall -I. -I../ath_hal -I..  athchans.c
gcc -o athctrl -g -O2 -Wall -I. -I../ath_hal -I..  athctrl.c
gcc -o athdebug -g -O2 -Wall -I. -I../ath_hal -I..  athdebug.c
gcc -o 80211debug -g -O2 -Wall -I. -I../ath_hal -I..  80211debug.c
gcc -o wlanconfig -g -O2 -Wall -I. -I../ath_hal -I..  wlanconfig.c
gcc -o wpakey -g -O2 -Wall -I. -I../ath_hal -I..  wpakey.c
make[1]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools'
And this:
Code:
[root@localhost madwifi-trunk-r4088-20090825]# make install
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.29.4-167.fc11.i586/build SUBDIRS=/home/neo/Download/madwifi-trunk-r4088-20090825 modules
make[1]: Entering directory `/usr/src/kernels/2.6.29.4-167.fc11.i586'
  Building modules, stage 2.
  MODPOST 14 modules
make[1]: Leaving directory `/usr/src/kernels/2.6.29.4-167.fc11.i586'
sh scripts/find-madwifi-modules.sh -r 2.6.29.4-167.fc11.i586 
for i in ath/ ath_hal/ ath_rate/ net80211/; do \
		make -C $i install || exit 1; \
	done
make[1]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath'
test -d //lib/modules/2.6.29.4-167.fc11.i586/net || mkdir -p //lib/modules/2.6.29.4-167.fc11.i586/net
install -m 0644 ath_pci.ko //lib/modules/2.6.29.4-167.fc11.i586/net
make[1]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath'
make[1]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal'
test -d //lib/modules/2.6.29.4-167.fc11.i586/net || mkdir -p //lib/modules/2.6.29.4-167.fc11.i586/net
install -m 0644 ath_hal.ko //lib/modules/2.6.29.4-167.fc11.i586/net
make[1]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath_hal'
make[1]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate'
for i in amrr/ onoe/ sample/ minstrel/; do \
		make -C $i install || exit 1; \
	done
make[2]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/amrr'
test -d //lib/modules/2.6.29.4-167.fc11.i586/net || mkdir -p //lib/modules/2.6.29.4-167.fc11.i586/net
install -m 0644 ath_rate_amrr.ko //lib/modules/2.6.29.4-167.fc11.i586/net
make[2]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/amrr'
make[2]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/onoe'
test -d //lib/modules/2.6.29.4-167.fc11.i586/net || mkdir -p //lib/modules/2.6.29.4-167.fc11.i586/net
install -m 0644 ath_rate_onoe.ko //lib/modules/2.6.29.4-167.fc11.i586/net
make[2]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/onoe'
make[2]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/sample'
test -d //lib/modules/2.6.29.4-167.fc11.i586/net || mkdir -p //lib/modules/2.6.29.4-167.fc11.i586/net
install -m 0644 ath_rate_sample.ko //lib/modules/2.6.29.4-167.fc11.i586/net
make[2]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/sample'
make[2]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/minstrel'
test -d //lib/modules/2.6.29.4-167.fc11.i586/net || mkdir -p //lib/modules/2.6.29.4-167.fc11.i586/net
install -m 0644 ath_rate_minstrel.ko //lib/modules/2.6.29.4-167.fc11.i586/net
make[2]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate/minstrel'
make[1]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/ath_rate'
make[1]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/net80211'
test -d //lib/modules/2.6.29.4-167.fc11.i586/net || mkdir -p //lib/modules/2.6.29.4-167.fc11.i586/net
for i in wlan.o wlan_wep.o wlan_tkip.o wlan_ccmp.o wlan_acl.o wlan_xauth.o wlan_scan_sta.o wlan_scan_ap.o; do \
		f=`basename $i .o`; \
		install -m 0644  $f.ko //lib/modules/2.6.29.4-167.fc11.i586/net; \
	done
make[1]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/net80211'
(export KMODPATH=/lib/modules/2.6.29.4-167.fc11.i586/net; /sbin/depmod -ae 2.6.29.4-167.fc11.i586)
make -C ./tools all || exit 1
make[1]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools'
for d in ath_info; do \
		make -C $d || exit 1; \
	done
make[2]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools/ath_info'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools/ath_info'
make[1]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools'
make -C ./tools install || exit 1
make[1]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools'
for d in ath_info; do \
		make -C $d || exit 1; \
	done
make[2]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools/ath_info'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools/ath_info'
install -d /usr/local/bin
for i in athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig wpakey; do \
		install $i /usr/local/bin/$i; \
		strip /usr/local/bin/$i; \
	done
install -d /usr/local/man/man8
install -m 0644 man/*.8 /usr/local/man/man8
install ../scripts/madwifi-unload /usr/local/bin/madwifi-unload
for d in ath_info; do \
		make -C $d install || exit 1; \
	done
make[2]: Entering directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools/ath_info'
install -d /usr/local/bin
install -m 755 ath_info /usr/local/bin
install -d /usr/local/share/man/man8
install -m 644 ath_info.8 /usr/local/share/man/man8
make[2]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools/ath_info'
make[1]: Leaving directory `/home/neo/Download/madwifi-trunk-r4088-20090825/tools'
Do I need to do anything else or I am ready?
Reply With Quote
  #20  
Old 25th August 2009, 03:28 PM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,799
linuxfedorafirefox
Looks like it worked. Try using it.
Reply With Quote
  #21  
Old 25th August 2009, 03:31 PM
Gödel's Avatar
Gödel Offline
Registered User
 
Join Date: Jul 2009
Location: London,England
Posts: 1,103
windows_vistaie
yes, you now just need to load the ath_pci module to test it, in Fedora 11 ath5k (for example) may be loaded by default, so, if you are using NetworkManager you should stop it, remove ath5k, load ath_pci and restart NetworkManager

Quote:
# lspci -v | awk '/Wireless/,/^$/'
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
Subsystem: Foxconn International, Inc. Device e008
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at 55200000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath5k
Kernel modules: ath_pci, ath5k

# service NetworkManager stop
Stopping NetworkManager daemon: [ OK ]

# modprobe -r ath5k

# modprobe ath_pci

# lspci -v | awk '/Wireless/,/^$/'
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
Subsystem: Foxconn International, Inc. Device e008
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at 55200000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath_pci
Kernel modules: ath_pci, ath5k

# service NetworkManager start
Setting network parameters... [ OK ]
Starting NetworkManager daemon: [ OK ]
to set it by default, blacklist the ath5k module in /etc/modprobe.d/blacklist.conf

(also read the INSTALL file for info on module parameters etc)

Last edited by Gödel; 25th August 2009 at 03:39 PM.
Reply With Quote
  #22  
Old 26th August 2009, 01:17 AM
Non-Serviam Offline
Registered User
 
Join Date: Aug 2009
Posts: 12
linuxfedorafirefox
There seems to be another problem:
Code:
[root@localhost neo]# lspci -v | awk '/Wireless/,/^$/'
02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
	Subsystem: Intel Corporation Device 1211
	Flags: bus master, fast devsel, latency 0, IRQ 33
	Memory at de200000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [e0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number 00-16-ea-ff-ff-b9-1d-d8
	Kernel driver in use: iwlagn
	Kernel modules: iwlagn

[root@localhost neo]# service NetworkManager stop
Stopping NetworkManager daemon:                            [  OK  ]
[root@localhost neo]# modprobe -r ath5k
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
[root@localhost neo]# modprobe ath_pci
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
[root@localhost neo]# lspci -v | awk '/Wireless/,/^$/'
02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
	Subsystem: Intel Corporation Device 1211
	Flags: bus master, fast devsel, latency 0, IRQ 33
	Memory at de200000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [e0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number 00-16-ea-ff-ff-b9-1d-d8
	Kernel driver in use: iwlagn
	Kernel modules: iwlagn
Reply With Quote
  #23  
Old 26th August 2009, 11:30 AM
Gödel's Avatar
Gödel Offline
Registered User
 
Join Date: Jul 2009
Location: London,England
Posts: 1,103
linuxubuntufirefox
Yes, the problem is that card doesn't use madwifi drivers.

http://www.intellinuxwireless.org/

if iwlagn doesn't work then you should post a bugzilla.

The madwifi ath_pci driver is for Atheros-based wireless LAN devices. You should only use it if the native Fedora driver doesn't work or lacks functionality you desire (eg led operation)
Reply With Quote
  #24  
Old 28th August 2009, 10:27 PM
Non-Serviam Offline
Registered User
 
Join Date: Aug 2009
Posts: 12
linuxubuntufirefox
Ok then, I believe that my problem is solved. Thanks.
Reply With Quote
Reply

Tags
fedora , install , madwifi

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Madwifi problems with fresh install of Fedora 8 kj5qw Servers & Networking 2 11th February 2008 08:38 AM
yum install madwifi error Stupidkid Servers & Networking 4 8th November 2007 01:31 AM
i cant install madwifi driver in fedora 7 live mauud777 Servers & Networking 2 27th September 2007 04:43 PM
Can't install madwifi twilight.lair Using Fedora 7 3rd June 2007 06:29 AM


Current GMT-time: 14:03 (Saturday, 21-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat