环境:IBM R60E、WINDOWS 2003、、RHEL5 2.6.18-92.el5xen、madwifi-0.9.4-41.src.rpm
曾经装过fedora9,默认就已经认出我的无线网卡,驱动也有了,且桌面任务栏上还有无线的控制软件。
而这个RHEL5,默认没有认出无线网卡,在“网络”里只出现一块有线的,无线的没有出现。任务栏上也没有相应的控制软件。郁闷
1.#RPM -ivh madwifi-vps云服务器0.9.4-41.src.rpm
2.解开后有个taz文件,我在图形环境下再解压缩,出现一个文件夹。
#./CONFIGURE 后提示:没有该文件或目录
我继续make、make install
# make
Checking requirements… ok.
Checking kernel configuration… ok.
make -C /lib/modules/2.6.18-92.el5xen/build SUBDIRS=/root/.Trash/madwifi-0.9.4 modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-92.el5-xen-i686′
CC [M] /root/.Trash/madwifi-0.9.4/ath/if_ath.o
In file included from :1:
/root/.Trash/madwifi-0.9.4/ath/../include/compat.h:140: error: redefinition of ‘skb_end_pointer’
include/linux/skbuff.h:417: error: previous definition of ‘skb_end_pointer’ was here
/root/.Trash/madwifi-0.9.4/ath/../include/compat.h:145: error: redefinition of ‘skb_tail_pointer’
include/linux/skbuff.h:835: error: previous definition of ‘skb_tail_pointer’ was here
/root/.Trash/madwifi-0.9.4/ath/../include/compat.h:150: error: redefinition of ‘skb_set_network_header’
include/linux/skbuff.h:1021: error: previous definition of ‘skb_set_network_header’ was here
/root/.Trash/madwifi-0.9.4/ath/../include/compat.h:155: error: redefinition of ‘skb_reset_network_header’
include/linux/skbuff.h:1016: error: previous definition of ‘skb_reset_network_header’ was here
/root/.Trash/madwifi-0.9.4/ath/../include/compat.h:160: error: redefinition of ‘skb_mac_header’
include/linux/skbuff.h:1036: error: previous definition of ‘skb_mac_header’ was here
/root/.Trash/madwifi-0.9.4/ath/../include/compat.h:165: error: redefinition of ‘skb_reset_mac_header’
include/linux/skbuff.h:1046: error: previous definition of ‘skb_reset_mac_header’ was here
make[3]: *** [/root/.Trash/madwifi-0.9.4/ath/if_ath.o] Error 1
make[2]: *** [/root/.Trash/madwifi-0.9.4/ath] Error 2
make[1]: *** [_module_/root/.Trash/madwifi-0.9.4] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.el5-xen-i686′
make: *** [modules] 错误 2
# make install
sh scripts/find-madwifi-modules.sh 2.6.18-92.el5xen
for i in ath/ ath_hal/ ath_rate/ net80211/; do \
make -C $i install || exit 1; \
done
make[1]: Entering directory `/root/.Trash/madwifi-0.9.4/ath’
test -d //lib/modules/2.6.18-92.el5xen/net || mkdir -p //lib/modules/2.6.18-92.el5xen/net
install ath_pci.ko //lib/modules/2.6.18-92.el5xen/net
install: cannot stat `ath_pci.ko’: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/root/.Trash/madwifi-0.9.4/ath’
make: *** [install-modules] 错误 1
38752477