代码: 全选
cai@cfkubuntu:~$ sudo -i
root@cfkubuntu:~# cd /home/cai/Desktop/madwifi-0.9.3.2
root@cfkubuntu:/home/cai/Desktop/madwifi-0.9.3.2# make KERNELPATH=/usr/src/linux-headers-2.6.20-15-generic install
sh scripts/find-madwifi-modules.sh 2.6.20-15-generic
WARNING:
It seems that there are modules left from previous MadWifi installations.
If you are unistalling the MadWifi modules please press "r" to remove them.
If you are installing new MadWifi modules, you should consider removing those
already installed, or else you may experience problems during operation.
Remove old modules?
[l]ist, [r]emove, [i]gnore or e[x]it (l,r,i,[x]) ?
r
for i in ./ath ./ath_hal ./ath_rate ./net80211; do \
make -C $i install || exit 1; \
done
make[1]: Entering directory `/home/cai/Desktop/madwifi-0.9.3.2/ath'
test -d //lib/modules/2.6.20-15-generic/net || mkdir -p //lib/modules/2.6.20-15-generic/net
install ath_pci.ko //lib/modules/2.6.20-15-generic/net
make[1]: Leaving directory `/home/cai/Desktop/madwifi-0.9.3.2/ath'
make[1]: Entering directory `/home/cai/Desktop/madwifi-0.9.3.2/ath_hal'
test -d //lib/modules/2.6.20-15-generic/net || mkdir -p //lib/modules/2.6.20-15-generic/net
install ath_hal.ko //lib/modules/2.6.20-15-generic/net
make[1]: Leaving directory `/home/cai/Desktop/madwifi-0.9.3.2/ath_hal'
make[1]: Entering directory `/home/cai/Desktop/madwifi-0.9.3.2/ath_rate'
for i in amrr/ onoe/ sample/; do \
make -C $i install || exit 1; \
done
make[2]: Entering directory `/home/cai/Desktop/madwifi-0.9.3.2/ath_rate/amrr'
test -d //lib/modules/2.6.20-15-generic/net || mkdir -p //lib/modules/2.6.20-15-generic/net
install ath_rate_amrr.ko //lib/modules/2.6.20-15-generic/net
make[2]: Leaving directory `/home/cai/Desktop/madwifi-0.9.3.2/ath_rate/amrr'
make[2]: Entering directory `/home/cai/Desktop/madwifi-0.9.3.2/ath_rate/onoe'
test -d //lib/modules/2.6.20-15-generic/net || mkdir -p //lib/modules/2.6.20-15-generic/net
install ath_rate_onoe.ko //lib/modules/2.6.20-15-generic/net
make[2]: Leaving directory `/home/cai/Desktop/madwifi-0.9.3.2/ath_rate/onoe'
make[2]: Entering directory `/home/cai/Desktop/madwifi-0.9.3.2/ath_rate/sample'
test -d //lib/modules/2.6.20-15-generic/net || mkdir -p //lib/modules/2.6.20-15-generic/net
install ath_rate_sample.ko //lib/modules/2.6.20-15-generic/net
make[2]: Leaving directory `/home/cai/Desktop/madwifi-0.9.3.2/ath_rate/sample'
make[1]: Leaving directory `/home/cai/Desktop/madwifi-0.9.3.2/ath_rate'
make[1]: Entering directory `/home/cai/Desktop/madwifi-0.9.3.2/net80211'
test -d //lib/modules/2.6.20-15-generic/net || mkdir -p //lib/modules/2.6.20-15-generic/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 $f.ko //lib/modules/2.6.20-15-generic/net; \
done
make[1]: Leaving directory `/home/cai/Desktop/madwifi-0.9.3.2/net80211'
(export KMODPATH=/lib/modules/2.6.20-15-generic/net; /sbin/depmod -ae 2.6.20-15-generic)
make -C ./tools install || exit 1
make[1]: Entering directory `/home/cai/Desktop/madwifi-0.9.3.2/tools'
install -d /usr/local/bin
for i in athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig; 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
make[1]: Leaving directory `/home/cai/Desktop/madwifi-0.9.3.2/tools'
root@cfkubuntu:/home/cai/Desktop/madwifi-0.9.3.2#
kubuntu AMD64 7.04系统
madwifi下的最新安装源码,参考这个http://www.cn70.net/data/2007/0519/article_306 ... 有发现无线网卡的踪迹
救命阿!