Ubuntu 18.04:与 Qualcomm Atheros 的 Wi-Fi 连接不稳定

Ubuntu 18.04:与 Qualcomm Atheros 的 Wi-Fi 连接不稳定

亲爱的 Ubuntu 社区,

我对 Linux 还不太熟悉,但我在 Thinkpad 上运行 Ubuntu 16.04 已有一年了。但我对 shell 不是特别熟悉,也没有任何开发技能。尽管我遇到了几个 wifi 问题(wifi 会随机断开连接并且不会显示任何网络),但我还是设法忍受了

$ sudo service network-manager restart

每当它断开连接时。

一周前,我的互联网连接完全停止工作(以太网和 wifi)。我无法找出问题所在,因此我趁机升级到 Ubuntu 18.04。

现在我对 18.04 很满意,但我的 wifi 问题又出现了。但是,我之前使用的命令不再起作用。它会重新启动网络管理器,但 wifi 连接仍然检测不到。目前,我通过重新启动 PC 解决了这个问题。但是,你可以想象这很烦人。我工作时,这种情况每天发生三次。所以我现在希望有人能帮助永久解决这个问题……

以下是有关我的设备的更多信息:

$ lspci | grep Network
05:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac
Wireless Network Adapter (rev 32)


$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f2:b5c0 Chicony Electronics Co., Ltd 
Bus 001 Device 002: ID 0cf3:e300 Atheros Communications, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


$ sudo lshw -class 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:04:00.0
   logical name: enp4s0
   version: 10
   serial: c8:5b:76:9f:fa:ca
   size: 10Mbit/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=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
   resources: irq:125 ioport:c000(size=256) memory:f4204000-f4204fff memory:f4200000-f4203fff
 *-network
   description: Wireless interface
   product: QCA6174 802.11ac Wireless Network Adapter
   vendor: Qualcomm Atheros
   physical id: 0
   bus info: pci@0000:05:00.0
   logical name: wlp5s0
   version: 32
   serial: 90:cd:b6:3e:34:8b
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=ath10k_pci driverversion=4.15.0-23-generic firmware=WLAN.RM.4.4.1-00079-QCARMSWPZ-1 ip=35.22.127.120 latency=0 link=yes multicast=yes wireless=IEEE 802.11
   resources: irq:128 memory:f4000000-f41fffff

所以我有一张高通 wifi 卡,它似乎给很多人带来了问题,但我就是不知道如何解决这个问题。

我读过一些类似的问题[1] [2]固件有问题,但我有点犹豫是否要下载并安装其他固件。(到目前为止,我已经三次完全重新设置了 Ubuntu,因为我搞砸了一些东西……)

$dmesg | grep -i firmware
[    0.028000] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.072344] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    2.280571] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_01.bin (v1.1)
[    3.507593] Bluetooth: hci0: QCA: patch rome 0x302 build 0x138, firmware rome 0x302 build 0x111
[    3.889893] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:05:00.0.bin failed with error -2
[    3.889916] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/cal-pci-0000:05:00.0.bin failed with error -2
[    3.909640] ath10k_pci 0000:05:00.0: firmware ver WLAN.RM.4.4.1-00079-QCARMSWPZ-1 api 6 features wowlan,ignore-otp crc32 fd869beb
[    7.648023] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3

然后,有一些关于电源管理的帖子。当我运行 16.04 时,我尝试将其关闭,但问题并未解决。即使我插上电源,它也会频繁断开连接,所以我认为这是一个不同的问题。

$ iwconfig
wlp5s0    IEEE 802.11  ESSID:"MSUnet Guest 3.0"  
Mode:Managed  Frequency:5.24 GHz  Access Point: D8:24:BD:85:A9:7E   
Bit Rate=6 Mb/s   Tx-Power=17 dBm   
Retry short limit:7   RTS thr:off   Fragment thr:off
Power Management:off
Link Quality=50/70  Signal level=-60 dBm  
Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo        no wireless extensions.
enp4s0    no wireless extensions.

在另一个问题中,有人询问这个输出,看它是否对任何人都有帮助:

$ rfkill list all
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
1: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: yes
Hard blocked: no 
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

如果我可以提供更多详细信息,请告诉我。我希望有人能帮助我。提前谢谢。

最好的,猫

相关内容