双启动笔记本电脑上安装 16.04 后没有 wifi

双启动笔记本电脑上安装 16.04 后没有 wifi

我无法在双启动 W10 / U16.04 笔记本电脑上使用 Wi-Fi

抱歉,帖子格式有点混乱,我真的不知道该如何做才是正确的。

另外,我对 Ubuntu 还很陌生,我发布所有这些报告是因为我在其他帖子中发现了它们,但我不明白这一切意味着什么,所以如果你能帮忙,请不要犹豫“像我 5 岁一样解释”!

  • 安全启动已禁用
  • sudo lshw -C 网络结果:

    -network DISABLED    
       description: Wireless interface
       product: QCA6174 802.11ac Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: wlp7s0
       version: 32
       serial: 30:52:cb:17:6d:6f
       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-22-generic firmware=WLAN.RM.2.0-00180-QCARMSWPZ-1 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
       resources: irq:130 memory:64000000-641fffff
    
    *-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:08:00.0
       logical name: enp8s0
       version: 15
       serial: 30:65:ec:8c:30:ae
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix 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=rtl8168h-2_0.0.2 02/26/15 ip=192.168.0.14 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:125 ioport:3000(size=256) memory:64204000-64204fff memory:64200000-64203fff
    
  • lspci 结果:lspci 00:00.0 主机桥:英特尔公司 Sky Lake 主机桥/DRAM 寄存器(rev 07)

    00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 07)
    
    00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)
    
    00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
    
    00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H LPSS I2C Controller #0 (rev 31)
    
    00:15.1 Signal processing controller: Intel Corporation Sunrise Point-H LPSS I2C Controller #1 (rev 31)
    
    00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
    
    00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
    
    00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #3 (rev f1)
    
    00:1c.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #4 (rev f1)
    
    00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
    
    00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
    
    00:1f.3 Multimedia audio controller: Intel Corporation Sunrise Point-H HD Audio (rev 31)
    
    00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
    
    01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
    
    07:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
    
    08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
    
  • dmsg(其中的一部分,我认为是相关的):

     ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/cal-pci-0000:07:00.0.bin failed with error -2
    
    [    4.101045] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
    
    [    4.101047] ath10k_pci 0000:07:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
    
    [    4.183309] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board-2.bin failed with error -2
    
    [    6.303701] ath10k_pci 0000:07:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 11ad:0807) 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
    
    [   23.026402] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
    
    [   29.026593] ath10k_pci 0000:07:00.0: could not suspend target (-11)
    
    [   34.338591] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
    
    [   40.338766] ath10k_pci 0000:07:00.0: could not suspend target (-11)
    
    [   56.258875] ath10k_pci 0000:07:00.0: failed to set tx-chainmask: -11, req 0x3
    
    [   59.259040] ath10k_pci 0000:07:00.0: failed to set arp ac override parameter: -11
    
    [   65.259136] ath10k_pci 0000:07:00.0: could not suspend target (-11)
    
    [   70.567077] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
    
    [   76.567181] ath10k_pci 0000:07:00.0: could not suspend target (-11)
    
    [   91.182668] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
    
    [   97.173662] ath10k_pci 0000:07:00.0: could not suspend target (-11)
    
    [  102.485792] ath10k_pci 0000:07:00.0: failed to set tx-chainmask: -11, req 0x3
    
    [  105.484591] ath10k_pci 0000:07:00.0: failed to set arp ac override parameter: -11
    
    [  111.485134] ath10k_pci 0000:07:00.0: could not suspend target (-11)
    
    [  126.159205] ath10k_pci 0000:07:00.0: failed to set tx-chainmask: -11, req 0x3
    
    [  129.160032] ath10k_pci 0000:07:00.0: failed to set arp ac override parameter: -11
    
    [  135.161492] ath10k_pci 0000:07:00.0: could not suspend target (-11)
    
    [  140.470451] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
    
    [  146.471285] ath10k_pci 0000:07:00.0: could not suspend target (-11)
    
    [  161.169183] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
    
  • rfkill 列出全部:

    0: hci0: Bluetooth
    
    Soft blocked: no
    Hard blocked: no
    
    1: acer-wireless: Wireless LAN
    
    Soft blocked: no
    Hard blocked: no
    
    2: phy0: Wireless LAN
    
    Soft blocked: no
    Hard blocked: no
    

答案1

首先重启电脑,然后

使用以下命令更新您的计算机:

sudo apt-get update && dist-upgrade

https://packages.debian.org/sid/firmware-atheros

https://packages.debian.org/sid/initramfs-tools

下载这两个包并使用 dpkg 命令安装它们,因此您的命令应该如下所示:

sudo dpkg -i initramfs-tools_0.125_all.deb

sudo dpkg -i firmware-atheros_20160110-1_all.deb

运行上述两个命令后,您的 wifi 应该可以工作了,如果不行,请尝试重新启动一次。

相关内容