Intel Pro/Wireless LAN 2100无线网卡问题 (Gentoo)

12 views
Skip to first unread message

Wick I

unread,
Aug 19, 2008, 11:48:16 PM8/19/08
to sz...@googlegroups.com
大家好:

以前配置过这个驱动。
但是内核模块ipw2100总是报错:
ipw2100: Fatal interrupt. Scheduling firmware restart.
ipw2100: exit - failed to send CARD_DISABLE command

一直搁置的无线网卡问题真的是一块心头大石,现在也将我配置的过程具体列出来。
如果有错误,希望各位允以修正。

环境:Gentoo Distribution linux-2.6.26-gentoo

1. 安装 ipw2100 驱动
我用了内核的驱动,重新编译之后,可以找到编译后的ipw2100模块。

2. 安装ipw2100 firmware
执行emerge ipw2100-firmware
在/lib/firmware/找到fw。

3. 安装配置工具wpa_supplicant
emerge wpa_supplicant

4. 配置/etc/conf.d/net
#### wireless networking configuration
#### ipw2100 + wpa_supplicant
config_eth1=("192.168.1.202 netmask 255.255.255.0");
routes_eth1=("default via 192.168.1.1");
modules=("wpa_supplicant");
wpa_supplicant_eth1=("-Dwext -c/etc/wpa_supplicant/wpa_supplicant.conf");

5. 配置/etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="ssid name"
key_mgmt=NONE
wep_key0="password0"
wep_key1="password1"
wep_key2="password2"
wep_tx_keyidx=0
priority=5
auth_alg=SHARED
}

6. 加载ipw2100
modprobe ipw2100
- ifconfig eth1 -
eth1 Link encap:Ethernet HWaddr 00:0c:f1:0c:87:17
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:11 Memory:c0204000-c0204fff

- dmesg info -
ieee80211_crypt: unregistered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jket...@linux.intel.com>
ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, git-1.2.2
ipw2100: Copyright(c) 2003-2006 Intel Corporation
ACPI: PCI Interrupt 0000:02:02.0[A] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
firmware: requesting ipw2100-1.3.fw

7. 重启网络服务
/etc/init.d/net.eth1 restart

* WARNING: net.eth1 has started, but is inactive
- dmesg info -
ipw2100: Fatal interrupt. Scheduling firmware restart.
ipw2100: exit - failed to send CARD_DISABLE command
ipw2100: exit - failed to send CARD_DISABLE command
ipw2100: exit - failed to send CARD_DISABLE command
ipw2100: exit - failed to send CARD_DISABLE command
ipw2100: exit - failed to send CARD_DISABLE command
ipw2100: exit - failed to send CARD_DISABLE command
ipw2100: exit - failed to send CARD_DISABLE command
ipw2100: Fatal interrupt. Scheduling firmware restart.
ipw2100: Fatal interrupt. Scheduling firmware restart.
ipw2100: Fatal interrupt. Scheduling firmware restart.
ipw2100: Fatal interrupt. Scheduling firmware restart.

我想问各位,这个配置过程有问题么?

实在感谢。

--
Best Regards, Wick:-)
[MSN] wickm...@gmail.com

rae l

unread,
Aug 20, 2008, 12:09:59 AM8/20/08
to sz...@googlegroups.com
2008/8/20 Wick I <wickm...@gmail.com>:

> 大家好:
>
> 以前配置过这个驱动。
> 但是内核模块ipw2100总是报错:
> ipw2100: Fatal interrupt. Scheduling firmware restart.
> ipw2100: exit - failed to send CARD_DISABLE command
>
> 一直搁置的无线网卡问题真的是一块心头大石,现在也将我配置的过程具体列出来。

无线网卡一直是个大问题,虽然2.6.26内核的一项重要改进就是增加了很多无线网卡的支持;

但是就不知道谁和你有相同的硬件啊。网络配置过程看起来很正常;或许你应该找其它一些流利的LiveCD来启动试试,先验证这块网卡在Linux上确实可以工作;

OceanBoo

unread,
Aug 20, 2008, 12:10:25 AM8/20/08
to sz...@googlegroups.com


2008/8/20 Wick I <wickm...@gmail.com>


5. 配置/etc/wpa_supplicant/wpa_supplicant.conf
network={
 ssid="ssid name"
 key_mgmt=NONE
 wep_key0="password0"
 wep_key1="password1"
 wep_key2="password2"
 wep_tx_keyidx=0
 priority=5
 auth_alg=SHARED
}



你的无线路由到底是以 WEP 还是 WPA 协议加密的?
如果是WEP的,用iwconfig就可以了,不需要wpa_supplicant.

--
Website: http://www.oceanboo.cn
MSN: baiha...@hotmail.com
Gtalk: ocea...@gmail.com

Wick I

unread,
Aug 20, 2008, 4:45:57 AM8/20/08
to sz...@googlegroups.com
2008/8/20 rae l <crq...@gmail.com>:

>
> 无线网卡一直是个大问题,虽然2.6.26内核的一项重要改进就是增加了很多无线网卡的支持;
>
> 但是就不知道谁和你有相同的硬件啊。网络配置过程看起来很正常;或许你应该找其它一些流利的LiveCD来启动试试,先验证这块网卡在Linux上确实可以工作;
>

用了Ubuntu Live CD,发现无线网卡工作正常!dmesg消息给出了我的提示。
当在UBUNTU下modprobe ipw2100的时候,dmesg给出信息:
ieee80211_crypt: registered algorithm 'WEP'
而我的GENTOO是:
ieee80211_crypt: registered algorithm 'NULL'

ipw2100的驱动用到了ieee80211子系统,在我的机器上ieee80211没有注册WEP认证算法。
于是我准备在这里突破。
我添加了模块,重新编译内核模块。
modprobe ieee80211_crypt_wep

dmesg又提示我:
ieee80211_crypt_wep: could not allocate crypto API arc4

在这里又卡住了,尝试
modprobe ecb
modprobe arc4
仍旧出现ieee80211_crypt 错误提示:could not allocate crypto API arc4。

仍旧未果……


谢谢 rae 和 OceanBoo的回复。

Reply all
Reply to author
Forward
0 new messages