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!