Ubuntu 18.04.2 LTS 无法连接无线网络(QCA9377)

Ubuntu 18.04.2 LTS 无法连接无线网络(QCA9377)

我是 Linux 新手,最近安装了 Windows 10 和 Ubuntu 18.04.2 双系统。在 Windows 10 中,Wi-Fi 可以使用,但在 Ubuntu 中却不行。在设置中,显示“找不到 Wi-Fi 适配器”。现在我必须使用 USB 连接网络。

网卡型号:Qualcomm Atheros QCA9377 802.11ac无线网络适配器(rev 31)

瑞昱半导体有限公司 RTL8111/8168/8411 PCI Express 千兆以太网控制器 (rev 10)

sudo apt-get install build-essential linux-headers-$(uname -r) git
echo "options ath10k_core skip_otp=y" | sudo tee /etc/modprobe.d/ath10k_core.conf
wget https://www.kernel.org/pub/linux/kernel/projects/backports/2015/11/20/backports-20151120.tar.gz
tar zxvf backports-20151120.tar.gz
cd backports-20151120
make defconfig-wifi
make
sudo make install

输入“make”后,终端出现如下信息:

/home/l/backports-20151120/backport-include/linux/kconfig.h:25:28: warning: "config_enabled" is not defined, evaluates to 0 [-Wundef]
 #define IS_BUILTIN(option) config_enabled(option)
                            ^

有一些关于网卡的信息。

dmesg | grep ath10k_pci
[   10.867824] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   11.205511] ath10k_pci 0000:03:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 17aa:0901
[   11.205513] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[   11.205864] ath10k_pci 0000:03:00.0: firmware ver WLAN.TF.1.0-00267-1 api 5 features ignore-otp crc32 79cea2c7
[   12.615138] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
[   13.106008] ath10k_pci 0000:03:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[   13.861392] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
lspci -k
03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
    Subsystem: Lenovo QCA9377 802.11ac Wireless Network Adapter
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci, wl

如能提供任何帮助我将非常感激。

相关内容