Ubuntu 18.04 未找到 WiFi 适配器

Ubuntu 18.04 未找到 WiFi 适配器

刚刚安装了 Ubuntu 18.04,但我的 WiFi 适配器 Qualcomm Atheros QCA9565 / AR9565 无线网络适配器不工作,甚至没有出现在系统设置中。

lspci -knn | grep Net -A3 的输出:

> rahul@rahul-Inspiron-3542:~$ lspci -knn | grep Net -A3
06:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
    Subsystem: Dell QCA9565 / AR9565 Wireless Network Adapter [1028:020c]
    Kernel driver in use: ath9k
    Kernel modules: ath9k
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)

lspci -knn | grep Net -A2 的输出

rahul@rahul-Inspiron-3542:~$ lspci -knn | grep Net -A2
06:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
    Subsystem: Dell QCA9565 / AR9565 Wireless Network Adapter [1028:020c]
    Kernel driver in use: ath9k
    Kernel modules: ath9k

sudo rfkill 列表的输出

rahul@rahul-Inspiron-3542:~$ sudo rfkill list
[sudo] password for rahul: 
0: dell-rbtn: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no

sudo lshw -C 网络的输出

rahul@rahul-Inspiron-3542:~$ sudo lshw -C network
  *-network DISABLED        
       description: Wireless interface
       product: QCA9565 / AR9565 Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: wlp6s0
       version: 01
       serial: 4c:bb:58:30:aa:07
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=4.17.11-041711-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:18 memory:f7900000-f797ffff memory:f7980000-f798ffff
  *-network
       description: Ethernet interface
       product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: enp7s0
       version: 07
       serial: 74:e6:e2:14:2a:c8
       size: 10Mbit/s
       capacity: 100Mbit/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 autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:19 ioport:e000(size=256) memory:f7800000-f7800fff memory:f2100000-f2103fff
  *-network
       description: Ethernet interface
       physical id: 2
       logical name: enp0s20u1
       serial: 7a:14:5b:44:b4:96
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.109 link=yes multicast=yes

dmesg 的输出 | grep ath9k

rahul@rahul-Inspiron-3542:~$ dmesg | grep ath9k
[   23.712505] ath9k 0000:06:00.0 wlp6s0: renamed from wlan0

sudo iw dev 的输出

rahul@rahul-Inspiron-3542:~$ sudo iw dev
[sudo] password for rahul: 
phy#0
    Interface wlp6s0
        ifindex 3
        wdev 0x1
        addr 4c:bb:58:30:aa:07
        type managed
        txpower 0.00 dBm

dmesg 的输出 dmesg 的输出

我已经尝试了很多解决方案,但对我都不起作用,我花了好几天才找到答案。请有人解决我的问题。如果有人想要任何其他信息,请告诉我。

任何帮助将不胜感激。

答案1

伙计们,我连续尝试了一个月才找到“未找到 WiFi 适配器”问题的解决方案,所有版本的 Ubuntu 中的问题都是一样的,因为我尝试了 Ubuntu 16.04 然后是 Ubuntu 14.04,但我最终找到了解决方案。我几乎尝试了所有可用的解决方案。

在我的例子中,rfkill 列表的输出

0: dell-rbtn: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes 

因此,为了解决问题,我需要将 dell-rbtn 列入黑名单(这是硬件问题)

将 dell-rbtn 列入黑名单,我做到了

echo "blacklist dell-rbtn" | sudo tee /etc/modprobe.d/dell-rbtn.conf

之后重新启动笔记本电脑,现在我可以使用 WIFI 了。

我希望这能对某些人有所帮助,因为我也尝试了几个月来解决这个问题。谢谢

最后一件事是我的笔记本电脑配置 Dell Inspiron 3542 和网络控制器 [0280]: Qualcomm Atheros QCA9565 / AR9565 无线网络适配器

相关内容