更新

更新

您好,我已經與這些無線驅動程式鬥爭了幾天,最近我注意到在 lspci 中出現的無線控制器的模型有時是不同的。這是我安裝 Ubuntu Server 64 位元後的數據

~# lspci -k 
....
04:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01) 
        Subsystem: AzureWave Device 1d89 
        Kernel driver in use: ath9k 
        Kernel modules: ath9k

運行了一些更新,重新啟動,一切都很好,儘管它確實說 linux-headers-server linux-image-server linux-server 被保留了。

之後我安裝了 ubuntu-desktop (aptitude install ubuntu-desktop --without-recommends) 並重新啟動,不僅無線不再工作,而且硬體被列為不同的卡

~# lspci -k
....
04:00.0 Ethernet controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)

沒有可用的驅動程序,我仍然嘗試 modprobe ath9k,它們在 lsmod 中顯示為已加載,但 iw 列表仍然沒有顯示任何內容。

這是安裝 ubuntu-desktop 之前的樣子

Wiphy phy0
    Band 1:
        Capabilities: 0x11ce
            HT20/HT40
            SM Power Save disabled
            RX HT40 SGI
            TX STBC
            RX STBC 1-stream
            Max AMSDU length: 3839 bytes
            DSSS/CCK HT40
        Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
        Minimum RX AMPDU time spacing: 8 usec (0x06)
        HT TX/RX MCS rate indexes supported: 0-7
        Frequencies:
            * 2412 MHz [1] (14.0 dBm)
            * 2417 MHz [2] (15.0 dBm)
            * 2422 MHz [3] (15.0 dBm)
            * 2427 MHz [4] (15.0 dBm)
            * 2432 MHz [5] (15.0 dBm)
            * 2437 MHz [6] (15.0 dBm)
            * 2442 MHz [7] (15.0 dBm)
            * 2447 MHz [8] (15.0 dBm)
            * 2452 MHz [9] (15.0 dBm)
            * 2457 MHz [10] (15.0 dBm)
            * 2462 MHz [11] (15.0 dBm)
            * 2467 MHz [12] (15.0 dBm) (passive scanning)
            * 2472 MHz [13] (14.0 dBm) (passive scanning)
            * 2484 MHz [14] (17.0 dBm) (passive scanning)
        Bitrates (non-HT):
            * 1.0 Mbps
            * 2.0 Mbps (short preamble supported)
            * 5.5 Mbps (short preamble supported)
            * 11.0 Mbps (short preamble supported)
            * 6.0 Mbps
            * 9.0 Mbps
            * 12.0 Mbps
            * 18.0 Mbps
            * 24.0 Mbps
            * 36.0 Mbps
            * 48.0 Mbps
            * 54.0 Mbps
    max # scan SSIDs: 4
    max scan IEs length: 2257 bytes
    Coverage class: 0 (up to 0m)
    Supported Ciphers:
        * WEP40 (00-0f-ac:1)
        * WEP104 (00-0f-ac:5)
        * TKIP (00-0f-ac:2)
        * CCMP (00-0f-ac:4)
        * CMAC (00-0f-ac:6)
    Available Antennas: TX 0x1 RX 0x3
    Configured Antennas: TX 0x1 RX 0x3
    Supported interface modes:
         * IBSS
         * managed
         * AP
         * AP/VLAN
         * WDS
         * monitor
         * mesh point
         * P2P-client
         * P2P-GO
    software interface modes (can always be added):
         * AP/VLAN
         * monitor
    interface combinations are not supported
    Supported commands:
         * new_interface
         * set_interface
         * new_key
         * new_beacon
         * new_station
         * new_mpath
         * set_mesh_params
         * set_bss
         * authenticate
         * associate
         * deauthenticate
         * disassociate
         * join_ibss
         * join_mesh
         * remain_on_channel
         * set_tx_bitrate_mask
         * action
         * frame_wait_cancel
         * set_wiphy_netns
         * set_channel
         * set_wds_peer
         * connect
         * disconnect
    Supported TX frame types:
         * IBSS: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
         * managed: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
         * AP: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
         * AP/VLAN: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
         * mesh point: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
         * P2P-client: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
         * P2P-GO: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
    Supported RX frame types:
         * IBSS: 0x00d0
         * managed: 0x0040 0x00d0
         * AP: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
         * AP/VLAN: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
         * mesh point: 0x00b0 0x00c0 0x00d0
         * P2P-client: 0x0040 0x00d0
         * P2P-GO: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
    Device supports RSN-IBSS.

硬體有什麼變化嗎?如果有2個,我怎麼能讓AR9285始終加載並禁用AR5008,或者,它是相同的,只是顯示不同? :|

哦,我已經在 Ubuntu 10.04 伺服器、xubuntu 12.04、ubuntu 12.04 桌面和伺服器上嘗試過這個。

先謝謝了。

-- 這裡有更多信息,我將其設置在 2 個硬碟中,其中 1 個可以工作,另一個我正在用來解決這個問題

那個有效的...

# lshw -class network
  *-network               
       description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 06
       serial: 54:04:a6:a3:3b:96
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168e-2.fw ip=192.168.2.147 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:43 ioport:e000(size=256) memory:d0004000-d0004fff memory:d0000000-d0003fff
  *-network
       description: Wireless interface
       product: AR9285 Wireless Network Adapter (PCI-Express)
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlan0
       version: 01
       serial: 74:2f:68:4a:26:73
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=3.2.0-18-generic-pae firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
       resources: irq:18 memory:fea00000-fea0ffff

這是沒有的地方

# lshw -class network
  *-network               
       description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 06
       serial: 54:04:a6:a3:3b:96
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168e-2.fw ip=192.168.2.160 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:43 ioport:e000(size=256) memory:d0004000-d0004fff memory:d0000000-d0003fff
  *-network UNCLAIMED
       description: Ethernet controller
       product: AR5008 Wireless Network Adapter
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:04:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:fea00000-fea0ffff

更新

我注意到,如果我將 ath9k 和 ath9k_common 模組列入黑名單,lspci 會為我提供 AR9285,但隨後我需要 modprobe ath9k 才能使其工作,這有什麼意義嗎?如果是這樣,為什麼?

更新

今天早上搞亂了一些其他軟體包,它列出了 AR5008,重新安裝了一些驅動程序,現在是 AR9285 -.-

更新

這裡是 /var/log/udev ,現在它說 AR5008 在日誌中的某處找到了一些引用 - PCI_ID=168C:FF1C

更新

@aking1012 ath5k 從未加載,雖然嘗試了黑名單,但仍然沒有。將 ath9k 和 ath9k_common 列入黑名單有時這樣做,但如果沒有其他改變,它就不再產生任何影響

這些是我正在使用黑名單的模組

blacklist ath5k
blacklist ath9k
blacklist ath9k_common

blacklist eeepc_wmi
blacklist asus_wmi
blacklist ath_pci
blacklist wmi

更新

似乎到目前為止在 32 位元上工作,如果是的話,謝謝@david6

更新

@jrg @david6 安裝了視訊驅動程序,但它又壞了

更新

並不是說它與 Ubuntu 相關,但我只是在其上運行 Windows 相同的東西,AR5008...重新啟動 AR9285,一個工作,另一個沒有...現在看起來更像是硬體問題

答案1

在某處找到一個鏈接,表明這是一個共存問題,要解決:

創建一個/etc/modprobe.d/iwl.conf

其中包含(第一個對我有用):

#!/bin/sh
options iwlagn bt_coex_active=0

或者

#!/bin/sh
options iwlwifi bt_coex_active=0

答案2

這是一張壞卡:(,花了很多時間在上面,嘗試了其他 4 個相同型號的卡,但沒有一個出現同樣的問題。

相關內容