LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1039|回复: 3

一直没有解决的问题!请高手现身!

[复制链接]
发表于 2007-3-22 17:18:47 | 显示全部楼层 |阅读模式
机器:IBM T40笔记本
系统:FC4
内核:2.6.17
无线网卡:Intel ipw2100 3B

问题:无法驱动ipw2100无线网卡。

我尝试过intel官方提供的for linux的驱动,按照说明安装后,启动信息提示找不到ieee80211组件,无法识别网卡,而事实上是安装了ieee80211驱动的。firmware也是安装了的,是1.3的版本。

也试过采用ndiswrapper项目使用for windows的驱动来安装,提示安装成功,但是只要加载ndiswrapper模块(modprobe ndiswrapper),机器立即死机!使用intel的驱动和ibm的驱动效果一样!并且试验了从0.9到1.38的所有版本,现象依旧……

麻烦哪位有在T40下使用这块无线网卡的经验的大侠不吝赐教!再次感谢!

ps:1、无线网卡本身是没有问题的;
       2、lspci也能正确识别到无线网卡;
        3、我的另一块d-link 610无线网卡在此系统下可以正常驱动并使用(使用的是ndiswrapper)。
        4、参看了论坛上的其他帖子,但是仍然无法驱动。
发表于 2007-3-22 17:30:52 | 显示全部楼层
恩,向 内核提交驱动更新申请报告8
回复 支持 反对

使用道具 举报

发表于 2007-3-23 15:38:08 | 显示全部楼层
这里有篇讲怎么在FC6里装ipw2200驱动的文章的 给你参考一下 呵呵



安装ipw2200无线网卡:
Fedora Core 6 and the IPW2200 Wireless Driver
Bill Moss
Updated October 27, 2006

kernel-2.6.18-1.2798.fc6, ipw2200-1.2.0, ieee80211-1.2.15, firmware-3.0
The FC6 kernel 2.6.18-1.2798.fc6 includes version 1.1.1 of the ipw2200 driver. Because the firmware is proprietary, you will have to install version 3.0 yourself if you have not already done so.

Download ipw2200-fw-3.0.tgz from http://ipw2200.sourceforge.net/firmware.php
unarchive in /lib/firmware

or to install all firmware versions

# rpm -ivh http://rpm.livna.org/livna-release-6.rpm
# yum install ipw2200-firmware
Make sure you install the correct firmware version. The firmware web site links to the firmware by ipw2200 version. The remainder of this section shows you how to manually install the latest version of the ipw2200 driver and the ieee80211 subsystem.

Install firmware version 3.0 and then follow these steps. We will assume here that all install directories are subdirectories of /root.

Install kernel-devel from FC6 updates.

# yum --enablerepo=updates install kernel-devel
If you previously installed the ipw2200-1.1.3 kernel module and the ieee80211-1.1.14 modules,

# cd /root/ipw2200-1.1.3
# make uninstall
# cd /root/ieee80211-1.1.14
# make uninstall
Make sure the header for the latest version of the wireless-tools is used.

# cd /usr/include/linux
# rm wireless.h
# ln -s ../wireless.h .
Download and install the ieee80211 subsystem.

Download ieee80211-1.2.15.tgz from http://ieee80211.sf.net/ and unarchive
Download ieee80211-1.2.15-patch_kernel.patch from http://ieee80211.sf.net/
# cd /root/ieee80211-1.2.15
# patch < ieee80211-1.2.15-patch_kernel.patch
Change Modules.symvers to Module.symvers in Makefile (two occurrences)
# make (yes to removing files, commenting out definitions, and stripping symbols)
# make install
The ieee80211 modules are installed in

/lib/modules/2.6.18-1.2798.fc6/net/ieee80211
Note that this is not the same directory that the original kernel modules were installed in.

The ieee80211 headers are installed in

/lib/modules/2.6.18-1.2798.fc6/include/net
Now install the ipw2200-1.2.0 module for kernel 2.6.18-1.2798.fc6.

Download ipw2200-1.2.0.tgz from http://ipw2200.sourceforge.net/ and unarchive
# cd /root/ipw2200-1.2.0
# ./remove-old (yes to commenting out definitions)
Change Modules.symvers to Module.symvers in Makefile (two occurrences)
# make
# make install
# chmod 744 /lib/modules/2.6.18-1.2798.fc6/kernel/drivers/net/wireless/ipw2200.ko
Set module options.

/etc/modprobe.conf
options ipw2200 hwcrypto=1 associate=0
The ipw2200 option hwcrypto=0 turns off hardware encryption. This is now the default. With previous versions of ipw2200, users have reported firmware restarts and slow transfer rates when using hardware encryption. Please test.

The ipw2200 option associate=0 turns off scanning when the driver is not associated. With the default setting associate=1, the driver does about three scans in 1.2 seconds and will automatically associate with open and unencrypted access points. I recommend the option associate=0 for users of NetworkManager for several reasons. NetworkManager gives the user control over the access points the driver associates with. NetworkManager will request a scan when it needs one. When NetworkManager disables wireless, it doesn't make sense to keep scanning.

Reboot and look for errors in dmesg as root:

# dmesg | grep ipw2200

Output:
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.0dmq
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: Detected geography ZZM (11 802.11bg channels, 0 802.11a channels)
If you see errors, you forgot to install the firmware or the ieee80211 subsystem.

Configure the wireless interface using the System -> Administration -> Network. Under the hardware tab, make sure that your wireless card is identified as 'Intel Corporation Pro/Wireless'. If something else appears, delete it, Save, and then use the New button to add the correct wireless interface.

Use the Devices tab and the Edit button to set ESSID, Mode, and WEP key. Check to see if the following two files have been created.

/etc/sysconfig/network-scripts/ifcfg-eth1
IPV6INIT=no
ONBOOT=no
USERCTL=yes
PEERDNS=yes
GATEWAY=
TYPE=Wireless
DEVICE=eth1
HWADDR=xx:xx:xx:xx:xx:xx
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
ESSID=XXXXXX
CHANNEL=1
MODE=Managed
RATE=54Mb/s
and

/etc/sysconfig/network-scripts/keys-eth1
KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx
Your MAC address, ESSID, and WEP key should appear in these files. Note that my wireless network uses a WEP key with 26 hex characters.

Monitor and Activate the wireless interface using the Network Monitor panel applet or else use NetworkManager.

Check the configuration with iwconfig.

# iwconfig eth1
IEEE 802.11b ESSID:"cuairnet"
Mode:Managed Frequency:2.437 GHz Access Point: 00:0F:90:7B:320
Bit Rate:11 Mb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thrff Fragment thrff
Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx Security modepen
Link Quality=83/100 Signal level=-47 dBm Noise level=-83 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
WEP Keys and Security Mode
There are several implementations of WEP and their different naming conventions do nothing but confuse people who are trying to implement WEP. Currently available wireless hardware uses the following WEP key names.

WEP Encryption Name Hexadecimal Characters

64 bit (40 bits) 10
128 bit (104 bits) 26
(152 bits) 38
256 bit (232 bits) 58
While the 64 bit implementation of WEP is part of the official standard, be aware that the 128 bit (and higher) implementations are not officially recognized and vary widely between manufacturers. If your wireless device claims to use a 128 bit WEP key, you may get a 'key too long' error if you try to enter 32 hexadecimal characters. In this case, enter 26 hexadecimal characters. The missing 6 hexadecimal characters (24 bits) are added by the encryption algorithm in the device.

There is also a great deal of confusion about the WEP key security modes: restricted and open. Apparently, the interpretation of security mode is dependent on the manufacturer. Early, versions of the ipw2200 driver used the restricted mode by default but the latest version uses the open mode. My advice is to go with the default open mode and only experiment with the restricted mode if all else fails. The mode can be set using the iwconfig command.

iwconfig eth1 key restricted
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-24 19:05:27 | 显示全部楼层
清掉以前的安装痕迹,完全从头开始,居然很顺利的安装好了!步骤和以前一样,奇怪中……

现在的问题是,我dmesg | grep ipw2100 ,发现如下错误:
ipw2100: no version for "ieee80211_wx_get_encodeext" found: kernel tainted.

但是可以使用,请问导致上述错误的原因是什么?怎么解决?虽然现在可以使用,但是有报错,心里感觉还是不爽,想弄明白这个问题。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表