Pēc norādēm http://www.linuxquestions.org/questions/showthread.php?s=&threadid=270688 ielādēju madwifi draiverus no http://madwifi.sourceforge.net/ un sekoju instrukcijām:
cd madwifi
make
make install
diemžēl man nenokompilējās draiveri
[root@maiznieks madwifi]# make
Checking if all requirements are met... ok.
mkdir -p ./symbols
for i in ./ath_hal ath_rate/sample ./net80211 ./ath; do \
make -C $i || exit 1; \
done
make[1]: Entering directory `/home/janis/Desktop/madwifi/ath_hal'
make -C /lib/modules/2.6.11-6mdk/build SUBDIRS=/home/janis/Desktop/madwifi/ath_hal MODVERDIR=/home/janis/Desktop/madwifi/ath_hal/../symbols modules
make[2]: Entering directory `/usr/src/linux-2.6.11-6mdk'
CC [M] /home/janis/Desktop/madwifi/ath_hal/ah_osdep.o
In file included from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/janis/Desktop/madwifi/ath_hal/ah_osdep.c:46:
include/linux/bitops.h:92: error: redefinition of 'generic_fls'
include/linux/bitops.h:45: error: previous definition of 'generic_fls' was here
include/linux/bitops.h:121: error: redefinition of 'get_bitmask_order'
include/linux/bitops.h:80: error: previous definition of 'get_bitmask_order' was here
make[3]: *** [/home/janis/Desktop/madwifi/ath_hal/ah_osdep.o] Error 1
make[2]: *** [_module_/home/janis/Desktop/madwifi/ath_hal] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.11-6mdk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/janis/Desktop/madwifi/ath_hal'
make: *** [all] Error 1
[root@maiznieks madwifi]#
bišku apdomājos un atkomentēju tās funkcijas atkomentēju iekš kodola izejas kodiem (/usr/src/linux/include/linux/bitops.h) un viss nomeikojās.
Tad make install un tālāk jau moduļa ielāde un interfeisa konfigurēšana:
modprobe wlan
modprobe ath_ha1
modprobe ath_pci
iwconfig ath0
dhclient ath0