免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3374 | 回复: 10
打印 上一主题 下一主题

[网络管理] 无线网卡安装问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-02-19 17:23 |只看该作者 |倒序浏览
[root@hacker ieee80211-1.2.18]# make
Checking in /lib/modules/2.6.18-92.1.18.el5 for ieee80211 components...
make -C /lib/modules/2.6.18-92.1.18.el5/build M=/root/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-92.1.18.el5-i686'
  CC [M]  /root/ieee80211-1.2.18/ieee80211_module.o
在包含自 <command line>:1 的文件中:
./include/linux/autoconf.h:1849:1: 警告:“CONFIG_CRC32”重定义
./include/linux/autoconf.h:498:1: 警告:这是先前定义的位置
In file included from /root/ieee80211-1.2.18/ieee80211_module.c:52:
/root/ieee80211-1.2.18/compat.h:113: 错误:‘kmemdup’ 重定义
include/linux/slab.h:208: 错误:‘kmemdup’ 的上一个定义在此
make[2]: *** [/root/ieee80211-1.2.18/ieee80211_module.o] 错误 1
make[1]: *** [_module_/root/ieee80211-1.2.18] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.1.18.el5-i686'
make: *** [modules] 错误 2

论坛徽章:
0
2 [报告]
发表于 2009-02-21 00:16 |只看该作者
什么型号的无线网卡?
尽量找RPM包的驱动吧。

论坛徽章:
0
3 [报告]
发表于 2009-03-01 21:02 |只看该作者

回复 #1 hsx99 的帖子

编译环境

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
4 [报告]
发表于 2009-03-01 21:13 |只看该作者
可能是不兼容造成的

论坛徽章:
1
戌狗
日期:2013-10-24 11:22:04
5 [报告]
发表于 2013-03-14 17:29 |只看该作者
我的机器是redhat 2.6.9-22.ELsmp 无线网卡是Intel(R)pro/wireless 3945ABG,安装网上找的资料先安装ieee80211-1.2.18然后安装ipw3945-1.2结果:
[root@t60 ~]# cd ieee80211-1.2.18
[root@t60 ieee80211-1.2.18]# make SHELL=/bin/bash
Checking in /lib/modules/2.6.9-22.ELsmp for ieee80211 components...
make -C /lib/modules/2.6.9-22.ELsmp/build M=/root/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-22.EL-smp-i686'
  Building modules, stage 2.
  MODPOST
Warning: could not find versions for .tmp_versions/ieee80211.mod
make[1]: Leaving directory `/usr/src/kernels/2.6.9-22.EL-smp-i686'
[root@t60 ieee80211-1.2.18]#
[root@t60 ieee80211-1.2.18]# cd ../ipw3945-1.2.2
[root@t60 ipw3945-1.2.2]# make SHELL=/bin/bash

WARNING: Your kernel contains ieee80211 symbol definitions and you
are not using the kernel's default ieee80211 subsystem.  (Perhaps you
used the out-of-tree ieee80211 subsystem's 'make install' or have
provided a path to the ieee80211 subsystem via IEEE80211_INC.)

If you wish to use the out-of-tree ieee80211 subsystem then it is
recommended to use that projects' "make patch_kernel" facility
and rebuild your kernel to update the Module symbol version information.

Failure to do this may result in build warnings and unexpected
behavior when running modules which rely on the ieee80211 subsystem.



ERROR: A compatible subsystem was not found in the following path:

        /lib/modules/2.6.9-22.ELsmp /lib/modules/2.6.9-22.ELsmp/build

You need to install the ieee80211 subsystem from http://ieee80211.sf.net
and point this build to the location where you installed those sources, eg.:

        % make IEEE80211_INC=/usr/src/ieee80211/

or use the 'make patch_kernel' within the ieee80211 subsystem to patch your
kernel sources.

make: *** [check_inc] Error 1
[root@t60 ipw3945-1.2.2]#
还需要怎么折腾啊!

论坛徽章:
0
6 [报告]
发表于 2013-03-14 19:04 |只看该作者
@试一试


一定要用这么低版本的系统么 。。 新一点的都支持intel3945了

论坛徽章:
1
戌狗
日期:2013-10-24 11:22:04
7 [报告]
发表于 2013-03-15 09:21 |只看该作者
老板装备的机器,还是当年的行货!不错了!我的工作站还是Ultra60和Solaris8!虽然后来的同事Linux都比我的高级了!但我还是想给我自己装啊!

论坛徽章:
34
亥猪
日期:2015-03-20 13:55:11戌狗
日期:2015-03-20 13:57:01酉鸡
日期:2015-03-20 14:03:56未羊
日期:2015-03-20 14:18:30子鼠
日期:2015-03-20 14:20:14丑牛
日期:2015-03-20 14:20:31辰龙
日期:2015-03-20 14:35:34巳蛇
日期:2015-03-20 14:35:56操作系统版块每日发帖之星
日期:2015-11-06 06:20:00操作系统版块每日发帖之星
日期:2015-11-08 06:20:00操作系统版块每日发帖之星
日期:2015-11-19 06:20:00黄金圣斗士
日期:2015-11-24 10:43:13
8 [报告]
发表于 2013-03-15 12:17 |只看该作者
./configure 成功了么?

论坛徽章:
1
戌狗
日期:2013-10-24 11:22:04
9 [报告]
发表于 2013-03-21 15:02 |只看该作者
我又折腾了一下我的无线网卡,发现在ieee80211-1.2.18目录下没有configure的步骤,只有Makefile文件。而且要删除旧版本!于是重新操作了一下:
[root@t60 ieee80211-1.2.18]# sudo make check_old
Makefile:17:
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21:
Checking in /lib/modules/2.6.9-22.ELsmp for ieee80211 components...
/lib/modules/2.6.9-22.ELsmp/net/ieee80211/.tmp_versions/ieee80211.mod
/lib/modules/2.6.9-22.ELsmp/net/ieee80211/.tmp_versions/ieee80211_crypt_tkip.mod
/lib/modules/2.6.9-22.ELsmp/net/ieee80211/.tmp_versions/ieee80211_crypt_ccmp.mod
/lib/modules/2.6.9-22.ELsmp/net/ieee80211/.tmp_versions/ieee80211_crypt.mod
/lib/modules/2.6.9-22.ELsmp/net/ieee80211/.tmp_versions/ieee80211_crypt_wep.mod
/lib/modules/2.6.9-22.ELsmp/net/ieee80211/ieee80211_crypt_tkip.ko
/lib/modules/2.6.9-22.ELsmp/net/ieee80211/ieee80211.ko
/lib/modules/2.6.9-22.ELsmp/net/ieee80211/ieee80211_crypt_ccmp.ko
/lib/modules/2.6.9-22.ELsmp/net/ieee80211/ieee80211_crypt.ko
/lib/modules/2.6.9-22.ELsmp/net/ieee80211/ieee80211_crypt_wep.ko
/lib/modules/2.6.9-22.ELsmp/include/net/ieee80211_radiotap.h
/lib/modules/2.6.9-22.ELsmp/include/net/ieee80211.h
/lib/modules/2.6.9-22.ELsmp/include/net/ieee80211_crypt.h
Above files found.  Remove? [y],n y
[root@t60 ieee80211-1.2.18]#
[root@t60 ieee80211-1.2.18]# make IEEE80211_INC=/usr/include
Makefile:17:
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21:
Checking in /lib/modules/2.6.9-22.ELsmp for ieee80211 components...
make -C /lib/modules/2.6.9-22.ELsmp/build M=/home/pb/ow2003/wyan/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-22.EL-smp-i686'
/home/pb/ow2003/wyan/ieee80211-1.2.18/Makefile:17:
/home/pb/ow2003/wyan/ieee80211-1.2.18/Makefile:18: WARNING: $SHELL not set to bash.
/home/pb/ow2003/wyan/ieee80211-1.2.18/Makefile:19: If you experience build errors, try
/home/pb/ow2003/wyan/ieee80211-1.2.18/Makefile:20: 'make SHELL=/bin/bash'.
/home/pb/ow2003/wyan/ieee80211-1.2.18/Makefile:21:
  Building modules, stage 2.
  MODPOST
Warning: could not find versions for .tmp_versions/ieee80211.mod
make[1]: Leaving directory `/usr/src/kernels/2.6.9-22.EL-smp-i686'
算是ieee80211-1.2.18安装成功了吧!

论坛徽章:
1
戌狗
日期:2013-10-24 11:22:04
10 [报告]
发表于 2013-03-21 15:03 |只看该作者
然后:
[root@t60 ieee80211-1.2.18]# make SHELL=/bin/bash
Checking in /lib/modules/2.6.9-22.ELsmp for ieee80211 components...
make -C /lib/modules/2.6.9-22.ELsmp/build M=/pb/ow2003/wyan/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-22.EL-smp-i686'
  CC [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_module.o
  CC [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_tx.o
  CC [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_rx.o
  CC [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_wx.o
  CC [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_geo.o
  LD [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211.o
  CC [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt.o
  CC [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_wep.o
  CC [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_ccmp.o
  CC [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_tkip.o
  Building modules, stage 2.
  MODPOST
Warning: could not find versions for .tmp_versions/ieee80211.mod
  CC      /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211.mod.o
  LD [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211.ko
  CC      /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt.mod.o
  LD [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt.ko
  CC      /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_ccmp.mod.o
  LD [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_ccmp.ko
  CC      /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_tkip.mod.o
  LD [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_tkip.ko
  CC      /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_wep.mod.o
  LD [M]  /pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_wep.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.9-22.EL-smp-i686'
[root@t60 ieee80211-1.2.18]#

[root@t60 ieee80211-1.2.18]# make install
Makefile:17:
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21:
make -C /lib/modules/2.6.9-22.ELsmp/build M=/home/pb/ow2003/wyan/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-22.EL-smp-i686'
/home/pb/ow2003/wyan/ieee80211-1.2.18/Makefile:17:
/home/pb/ow2003/wyan/ieee80211-1.2.18/Makefile:18: WARNING: $SHELL not set to bash.
/home/pb/ow2003/wyan/ieee80211-1.2.18/Makefile:19: If you experience build errors, try
/home/pb/ow2003/wyan/ieee80211-1.2.18/Makefile:20: 'make SHELL=/bin/bash'.
/home/pb/ow2003/wyan/ieee80211-1.2.18/Makefile:21:
  CC [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_module.o
  CC [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_tx.o
  CC [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_rx.o
  CC [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_wx.o
  CC [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_geo.o
  LD [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211.o
  CC [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt.o
  CC [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_wep.o
  CC [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_ccmp.o
  CC [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_tkip.o
  Building modules, stage 2.
  MODPOST
Warning: could not find versions for .tmp_versions/ieee80211.mod
  CC      /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211.mod.o
  LD [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211.ko
  CC      /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt.mod.o
  LD [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt.ko
  CC      /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_ccmp.mod.o
  LD [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_ccmp.ko
  CC      /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_tkip.mod.o
  LD [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_tkip.ko
  CC      /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_wep.mod.o
  LD [M]  /home/pb/ow2003/wyan/ieee80211-1.2.18/ieee80211_crypt_wep.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.9-22.EL-smp-i686'
install -d /lib/modules/2.6.9-22.ELsmp/net/ieee80211/
install -m 644 -c ieee80211.ko ieee80211_crypt.ko ieee80211_crypt_wep.ko ieee80211_crypt_ccmp.ko ieee80211_crypt_tkip.ko /lib/modules/2.6.9-22.ELsmp/net/ieee80211/
install -d `echo /lib/modules/2.6.9-22.ELsmp/include | grep "/net\$" || echo /lib/modules/2.6.9-22.ELsmp/include/net`
install -m 644 -c net/ieee80211.h net/ieee80211_crypt.h net/ieee80211_radiotap.h `echo /lib/modules/2.6.9-22.ELsmp/include | grep "/net\$" || echo /lib/modules/2.6.9-22.ELsmp/include/net`
mkdir -p /lib/modules/2.6.9-22.ELsmp/net/ieee80211//.tmp_versions
cd .tmp_versions && install -m 644 -c ieee80211.mod ieee80211_crypt.mod ieee80211_crypt_wep.mod ieee80211_crypt_ccmp.mod ieee80211_crypt_tkip.mod /lib/modules/2.6.9-22.ELsmp/net/ieee80211//.tmp_versions
/sbin/depmod -a 2.6.9-22.ELsmp
[root@t60 ieee80211-1.2.18]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP