![让 Qualcomm Atheros AR93xx 无线网络适配器在 Ubuntu 14.04 下运行](https://linux22.com/image/978050/%E8%AE%A9%20Qualcomm%20Atheros%20AR93xx%20%E6%97%A0%E7%BA%BF%E7%BD%91%E7%BB%9C%E9%80%82%E9%85%8D%E5%99%A8%E5%9C%A8%20Ubuntu%2014.04%20%E4%B8%8B%E8%BF%90%E8%A1%8C.png)
我正在尝试在 trusty 下安装带有 Ath9k 的 TP-Link TL-WDN4800 适配器。它应该可以在 Windows 和 Linux 上开箱即用。在 Windows 上它可以工作,但在 ubuntu 14.04(同一台计算机)上却不行。有时我可以连接,但互联网仍然非常慢。
我还将路由器的带宽从“20/40 MHz(自动)”更改为“20 MHz”。之后,我根本无法连接到 WLAN。所以我又改回来了。
从我目前在互联网上读到的所有解决方案来看,没有一个有效。
网络管理器可以看到不同网络的SSID,但无法连接。
$ uname -r
3.13.0-43-generic
$ sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: eth0
version: 0c
serial: 44:8a:5b:a0:12:03
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=rtl8168g-2_0.0.1 02/06/13 ip=192.168.0.110 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:91 ioport:e000(size=256) memory:fea00000-fea00fff memory:d0800000-d0803fff
*-network
description: Wireless interface
product: AR93xx Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: c4:6e:1f:1f:b0:78
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=3.13.0-43-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:36 memory:fe900000-fe91ffff memory:fe920000-fe92ffff
$ lspci -nn | grep -i net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
02:00.0 Network controller [0280]: Qualcomm Atheros AR93xx Wireless Network Adapter [168c:0030] (rev 01)
以防万一有人想指出我的固件atheros:
E: Unable to locate package firmware-atheros
任何帮助,将不胜感激
编辑:
我尝试了所建议的:
$ cat /etc/modprobe.d/ath9k.conf
options ath9k nohwcrypt=1
但这没有帮助。所以我试图理解dmesg
[ 1835.890681] wlan0: authenticate with f0:7d:68:83:97:82
[ 1835.903235] wlan0: send auth to f0:7d:68:83:97:82 (try 1/3)
[ 1836.449019] wlan0: send auth to f0:7d:68:83:97:82 (try 2/3)
[ 1836.905084] wlan0: authenticated
[ 1840.903373] wlan0: deauthenticating from f0:7d:68:83:97:82 by local choice (reason=3)
[ 1860.900842] wlan0: authenticate with 64:70:02:5c:0c:56
[ 1860.908795] wlan0: send auth to 64:70:02:5c:0c:56 (try 1/3)
[ 1862.399231] wlan0: send auth to 64:70:02:5c:0c:56 (try 2/3)
[ 1862.911212] wlan0: authenticated
[ 1865.907029] wlan0: deauthenticating from 64:70:02:5c:0c:56 by local choice (reason=3)
[ 1885.899599] wlan0: authenticate with 64:70:02:5c:0c:56
[ 1885.907701] wlan0: send auth to 64:70:02:5c:0c:56 (try 1/3)
[ 1887.398561] wlan0: send auth to 64:70:02:5c:0c:56 (try 2/3)
[ 1887.906374] wlan0: authenticated
[ 1890.907982] wlan0: deauthenticating from 64:70:02:5c:0c:56 by local choice (reason=3)
身份验证后,wlan 立即取消身份验证(原因是什么=3?)。我不知道为什么。
EDIT2:我也尝试过这答案:sudo killall wpa_supplicant
奇怪的是,这帮助我连接,但实际上并没有起作用(连接速度非常慢)。
这次 dmesg 说:
[ 3166.968051] cfg80211: Calling CRDA to update world regulatory domain
[ 3166.976276] cfg80211: World regulatory domain updated:
[ 3166.976281] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 3166.976284] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 3166.976286] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 3166.976289] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 3166.976291] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 3166.976293] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 3168.753735] wlan0: authenticate with 64:70:02:5c:0c:56
[ 3168.764904] wlan0: send auth to 64:70:02:5c:0c:56 (try 1/3)
[ 3169.764107] wlan0: authenticated
[ 3169.771922] ath9k 0000:02:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 3169.779500] wlan0: associate with 64:70:02:5c:0c:56 (try 1/3)
[ 3171.081643] wlan0: associate with 64:70:02:5c:0c:56 (try 2/3)
[ 3171.777353] wlan0: RX AssocResp from 64:70:02:5c:0c:56 (capab=0x431 status=0 aid=1)
[ 3171.777634] wlan0: associated
更新:使用 EDIMAX WLan Stick(8 欧元),一切开箱即用。但使用 TP-Link TL-WDN4800(35 欧元)时,我遇到了这些问题……
正如答案和评论中所述,解决方案可能是删除 TKIP。但我有一个处于中继模式的辅助路由器,它无法与 AES 配合使用(不知道为什么)。但是,当可以使用不同的 WLAN 适配器进行连接时,我不明白为什么删除 TKIP 会有帮助。
但我仍然希望 TP-Link Wlan 适配器能够在 Ubuntu 下工作。
答案1
最好使用 WPA2-AES,如果您iwlist scan
在终端中运行并在 wifi 路由器的结果中看到 TKIP,则通常会导致问题。在网络管理器中,将您的设置更改为 IPv6 忽略
更改模块参数可能有助于sudo modprobe -r ath9k
删除模块,然后sudo modprobe ath9k nohwcrypt=1
可能有助于解决您的情况