我目前在 Thinkpad T430u 上运行 Gentoo,嵌入了 Centrino Wireless-N 2230 卡。问题是,即使使用正确的驱动程序配置和固件,我也无法使用无线网卡。
我已经完成了与该问题最相关的网站: http://wireless.kernel.org/en/users/Drivers/iwlwifi
http://wiki.gentoo.org/wiki/Wifi
但是我无法在 Gentoo 上使用我的无线网卡(它在 Windows 上使用)。
以下是我的会议摘要:
Device Drivers ->
Generic Driver Options ->
-*- Userspace firmware loading support
[*] Networking support --->
[*] Wireless --->
<*> cfg80211 - wireless configuration API
<*> Generic IEEE 802.11 Networking Stack (mac80211)
Optionally enable a Wifi LED:
[*] Enable LED triggers
Device Drivers --->
[*] Network device support --->
[*] Wireless LAN --->
Select the driver for your Wifi network device, e.g.:
<*> Broadcom 43xx wireless support (mac80211 stack) (b43)
[*] Support for 802.11n (N-PHY) devices
[*] Support for low-power (LP-PHY) devices
[*] Support for HT-PHY (high throughput) devices
<*> Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi)
<*> Intel Wireless WiFi 4965AGN (iwl4965)
<*> Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)
<*> Ralink driver support --->
<*> Ralink rt27xx/rt28xx/rt30xx (USB) support (rt2800usb)
Generic Driver Options--->
-*- Userspace firmware loading support
[*] Include in-kernel firmware blobs in kernel library
(iwlwifi-2030-6.ucode) External firmware blobs to build into the kernel binary
(/lib/firmware) Firmware blobs root directory
以下是有关 iwlconfig 的 dmesg:
[ 3.002714] Intel(R) Wireless WiFi driver for Linux, in-tree:
[ 3.004032] Copyright(c) 2003-2012 Intel Corporation
[ 3.005420] iwlwifi 0000:03:00.0: pci_resource_len = 0x00002000
[ 3.006736] iwlwifi 0000:03:00.0: pci_resource_base = ffffc90004fa0000
[ 3.008032] iwlwifi 0000:03:00.0: HW Revision ID = 0xC4
[ 3.009454] iwlwifi 0000:03:00.0: irq 43 for MSI/MSI-X
[ 3.009540] iwlwifi 0000:03:00.0: loaded firmware version 18.168.6.1
[ 3.011122] iwldvm: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
[ 3.012405] iwldvm: Copyright(c) 2003-2012 Intel Corporation
[ 3.013668] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG disabled
[ 3.014907] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[ 3.016121] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[ 3.017324] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TESTMODE disabled
[ 3.018518] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_P2P enabled
[ 3.019684] iwlwifi 0000:03:00.0: Detected Intel(R) Centrino(R) Wireless-N 2230 BGN, REV=0xC8
[ 3.020968] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[ 3.040687] iwlwifi 0000:03:00.0: device EEPROM VER=0x81c, CALIB=0x6
[ 3.041832] iwlwifi 0000:03:00.0: Device SKU: 0x150
[ 3.042975] iwlwifi 0000:03:00.0: Valid Tx ant: 0x3, Valid Rx ant: 0x3
[ 3.044198] Registered led device: phy0-led
[ 3.044246] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
[ 3.044270] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
以及有关 wlan0 的 ifconfig/iwconfig :
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 84:a6:c8:a9:3b:4d txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0 no wireless extensions.
如果有人有想法?因为我真的迷路了。
答案1
基于 Gentoo 的 Sabayon 11 似乎可以毫无问题地支持我的 Asus U32VJ 中的 Centrino Wireless-N 2230 BGN。KDE 下的 Networkmanager 可完成其余工作:
[19792.517227] wlp3s0: send auth to 00:14:6c:e0:f8:c8 (try 3/3)
[19792.717934] wlp3s0: authentication with 00:14:6c:e0:f8:c8 timed out
[19820.891907] wlp3s0: authenticate with 00:14:6c:e0:f8:c8
[19820.894747] wlp3s0: send auth to 00:14:6c:e0:f8:c8 (try 1/3)
[19820.898027] wlp3s0: authenticated
[19820.898246] iwlwifi 0000:03:00.0 wlp3s0: disabling HT/VHT due to WEP/TKIP use
[19820.898254] iwlwifi 0000:03:00.0 wlp3s0: disabling HT as WMM/QoS is not supported by the AP
[19820.898259] iwlwifi 0000:03:00.0 wlp3s0: disabling VHT as WMM/QoS is not supported by the AP
[19820.898505] wlp3s0: associate with 00:14:6c:e0:f8:c8 (try 1/3)
[19820.900754] wlp3s0: RX AssocResp from 00:14:6c:e0:f8:c8 (capab=0x411 status=0 aid=2)
[19820.903800] wlp3s0: associated
有迹象表明你的司机或多或少是正确的:
lsmod | grep wifi
iwlwifi 57633 1 iwldvm
cfg80211 145999 3 iwlwifi,mac80211,iwldvm
唯一的缺陷是无法通过键盘或网络管理器关闭无线电源。
如果您喜欢 Gentoo,那么您可能会更喜欢 Sabayon。