Gateway W350l
无线网卡型号
Intel(R) RRO/Wireless 3945ABG Network Connection
[sunshine@MagicLinux ~]$ lspci | grep 3945
04:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
其实这个网卡在2.6.29的内核中就已经包含了,因此内核中需要有驱动
[sunshine@MagicLinux ~]$ lsmod | grep 3945
iwl3945 145712 0
iwlcore 163216 1 iwl3945
mac80211 166664 2 iwl3945,iwlcore
led_class 4080 2 iwl3945,iwlcore
lib80211 6416 2 iwl3945,iwlcore
cfg80211 64972 3 iwl3945,iwlcore,mac80211
然后安装firmware: iwlwifi-3945-2.ucode 和一个守护程序:/sbin/ipw3945d
http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-3945-ucode-15.32.2.9.tgz
内核加载 iwl3945 后会加载 iwlwifi-3945-1.ucode 然后加载 iwlwifi-3945-2.ucode (API2)
这样就识别了。
启动系统的时候需启动/sbin/ipw3945d
更换firmware后,如果想要重新识别网卡,可以重新挂载一下内核模块
modprobe -r iwl3945
modprobe iwl3945
问题是识别了但是网卡却不能up
查看网卡状态
ifconfig中没有wlan0
ifconfig wlan0 却是能显示wlan0的信息,这有些奇怪。
[sunshine@MagicLinux ~]$ iwlist wlan0 power
wlan0 Current mode:off
查看电源是关的,但是硬件开关是开的,我保证。
[sunshine@MagicLinux ~]$ sudo iwconfig wlan0 power on
[sudo] password for sunshine:
Error for wireless request “Set Power Management” (8B2C) :
SET failed on device wlan0 ; Operation not supported.
[sunshine@MagicLinux ~]$ sudo iwconfig wlan0 txpower on
开启电源失败…
此时监测message可以看到
iwl3945 0000:04:00.0: Radio disabled by HW RF Kill switch
总是说硬件开关关闭…
我们看一下整体的启动信息。
[sunshine@MagicLinux ~]$ dmesg | grep 3945 –color
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.26kd
iwl3945: Copyright(c) 2003-2009 Intel Corporation
iwl3945 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwl3945 0000:04:00.0: setting latency timer to 64
iwl3945 0000:04:00.0: Tunable channels: 13 802.11bg, 4 802.11a channels
iwl3945 0000:04:00.0: Detected Intel Wireless WiFi Link 3945ABG
iwl3945 0000:04:00.0: irq 30 for MSI/MSI-X
phy0: Selected rate control algorithm ‘iwl-3945-rs’
iwl3945 0000:04:00.0: Radio Frequency Kill Switch is On:
iwl3945 0000:04:00.0: firmware: requesting iwlwifi-3945-2.ucode
iwl3945 0000:04:00.0: loaded firmware version 15.32.2.9
iwl3945 0000:04:00.0: Radio disabled by HW RF Kill switch
真是闷,每次都让我碰上这么闷的问题。
最后google发现
这个开关不太好用,需要用fn+F2开启,哦my god!