在 Gentoo 中配置 Atheros AR9285 无线

phu*_*ehe 6 networking wifi gentoo

我的笔记本电脑有一个 Atheros AR9285 无线网卡。按照 Gentoo 手册中的“网络配置”部分,我选择了 ath9k 模块。模块似乎已正确加载:

# lsmod | 格雷普阿斯
ath9k 72172 0 
ath9k_common 2345 1 ath9k
mac80211 146807 2 ath9k,ath9k_common
ath9k_hw 213153 2 ath9k,ath9k_common
ath 8652 2 ath9k,ath9k_hw
cfg80211 112782 4 ath9k,ath9k_common,mac80211,ath

该界面也显示在 ifconfig 中:

wlan0 链接封装:以太网 HWaddr 00:22:43:61:a2:f0  
          上行广播多播 MTU:1500 公制:1
          RX 数据包:0 错误:0 丢弃:0 溢出:0 帧:0
          TX 数据包:0 错误:0 丢弃:0 超限:0 载波:0
          碰撞:0 txqueuelen:1000 
          RX 字节:0 (0.0 B) TX 字节:0 (0.0 B)

但是,我无法进行网络扫描:

# iwlist wlan0 扫描
wlan0 接口不支持扫描。

并且界面似乎无法识别:

# iwconfig wlan0
wlan0 没有无线扩展。

我可以尝试什么让它发挥作用?

PS:我在这台笔记本电脑上也有 Ubuntu,无线工作正常。

phu*_*ehe 6

我在Gentoo 论坛上得到了解决方案。结果证明是错误配置的内核。

这是有效的内核配置(来自我上面链接的帖子):

[*] Networking support  --->
    -*-   Wireless  --->
        <*>   cfg80211 - wireless configuration API                                                                                                                  
        [*]     enable powersave by default
        [*]     cfg80211 wireless extensions compatibility
        [*]   Wireless extensions sysfs files
        <*>   Common routines for IEEE802.11 drivers
        <*>   Generic IEEE 802.11 Networking Stack (mac80211)
              Default rate control algorithm (Minstrel)  --->
        -*-   Enable LED triggers

Device Drivers  --->
    [*] Network device support  --->
        [*]   Wireless LAN  --->
            <*>   Atheros Wireless Cards  --->
                <*>   Atheros 802.11n wireless cards support
Run Code Online (Sandbox Code Playgroud)