我已看到许多有关 Ubuntu 各个版本中的 Wifi 问题的帖子,但似乎没有一个回复适用于我。
这是输出rfkill list
:
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
2: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
这是输出sudo lshw -C network
:
*-network DISABLED
description: Wireless interface
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlp1s0
version: 32
serial: 40:49:0f:06:1d:1f
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.4.0-21-generic firmware=WLAN.RM.2.0-00180-QCARMSWPZ-1 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:130 memory:e1000000-e11fffff
*-network
description: Ethernet interface
product: Ethernet Connection I219-LM
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: enp0s31f6
version: 21
serial: 28:f1:0e:0f:2e:23
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.13-3 ip=192.168.1.110 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:127 memory:e1300000-e131ffff
我在网络菜单(右上角)中看到以下两个灰色部分:“WiFi 网络”、“设备未准备好”
我花了两周时间尝试修复这台笔记本电脑上的 3 个不同 ubuntu 版本(14.10、15.10 和现在的 16.04)上的这个问题,这台笔记本电脑现在是 Windows 10 和 Ubuntu 16.04 的双启动。任何帮助都将不胜感激。
输出dmesg | grep ath
:
[ 8.982622] ath10k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[ 8.983651] ath10k_pci 0000:01:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 9.260939] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[ 9.269044] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 9.269048] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 9.368509] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board-2.bin failed with error -2
[ 11.640870] ath10k_pci 0000:01:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 1028:0310) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 fwapi 4 bdapi 1 htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features wowlan,ignore-otp,no-4addr-pad
[ 11.640873] ath10k_pci 0000:01:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 14.637936] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[ 14.705845] ath: EEPROM regdomain: 0x6c
[ 14.705848] ath: EEPROM indicates we should expect a direct regpair map
[ 14.705850] ath: Country alpha2 being used: 00
[ 14.705850] ath: Regpair used: 0x6c
[ 14.844845] ath10k_pci 0000:01:00.0 wlp1s0: renamed from wlan0
[ 26.098537] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[ 32.098781] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[ 37.930829] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[ 43.931047] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[ 49.243463] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[ 55.243906] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[ 71.260298] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[ 77.260556] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[ 82.572856] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[ 88.573096] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[ 104.253467] ath10k_pci 0000:01:00.0: failed to set rx-chainmask: -11, req 0x3
[ 107.253817] ath10k_pci 0000:01:00.0: failed to set arp ac override parameter: -11
[ 113.253791] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[ 118.566289] ath10k_pci 0000:01:00.0: failed to set tx-chainmask: -11, req 0x3
[ 121.566223] ath10k_pci 0000:01:00.0: failed to set arp ac override parameter: -11
[ 127.566616] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[ 139.263049] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[ 145.263314] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[ 150.575255] ath10k_pci 0000:01:00.0: failed to set rx-chainmask: -11, req 0x3
[ 153.575438] ath10k_pci 0000:01:00.0: failed to set arp ac override parameter: -11
答案1
我建议您为设备安装所需的固件。在网络连接正常的情况下,打开终端并执行以下操作:
wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.158_all.deb
sudo dpkg -i linux-firmware*.deb
sudo modprobe -r ath10k_pci && sudo modprobe ath10k_pci
此外,驱动程序似乎需要但找不到区域代码。我建议明确设置您的监管区域。检查您的:
sudo iw reg get
如果您选择 00,则这是一个通用的设置。请在此处查找您的设置:http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2然后暂时设置一下:
sudo iw reg set IS
当然,如果不是冰岛,请替换您的国家代码。永久设置它:
gksudo gedit /etc/default/crda
如果您没有文本编辑器 gedit,请使用 nano 或 Kate 或 leafpad。
将最后一行改为:
REGDOMAIN=IS
仔细校对,保存并关闭文本编辑器。
重新启动并让我们知道它是否按预期工作。
答案2
1.从下载 https://github.com/FireWalkerX/ath10k-firmware/blob/7e56cbb94182a2fdab110cf5bfeded8fd1d44d30/QCA6174/hw3.0/board-2.bin?raw=true,然后重命名为board.bin。
2.从下载 https://github.com/FireWalkerX/ath10k-firmware/blob/7e56cbb94182a2fdab110cf5bfeded8fd1d44d30/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1?raw=true,然后重命名为firmware-4.bin
3.将以上所有内容放入/lib/firmware/ath10k/QCA6174/hw3.0/
4.重启机器
最后,我的解决方案来自:https://bbs.archlinux.org/viewtopic.php?pid=1604345#p1604345