wifi 不工作 Debian 10 Buster

wifi 不工作 Debian 10 Buster

我有一台安装了 Debian Buster 的华硕笔记本电脑,但只能通过有线方式连接到互联网。我的 WiFi 无法使用

sudo dmesg 的输出 | grep 'ath10k\|firmw'

# sudo dmesg | grep 'ath10k\|firmw'
[    1.673778] i915 0000:00:02.0: firmware: failed to load i915/kbl_dmc_ver1_04.bin (-2)
[    1.673781] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    1.673783] i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_04.bin failed with error -2
[    1.673784] i915 0000:00:02.0: Failed to load DMC firmware i915/kbl_dmc_ver1_04.bin. Disabling runtime power management.
[    1.673785] i915 0000:00:02.0: DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[   12.932696] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   13.595724] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:03:00.0.bin (-2)
[   13.595847] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/cal-pci-0000:03:00.0.bin (-2)
[   13.664981] bluetooth hci0: firmware: failed to load qca/rampatch_usb_00000302.bin (-2)
[   13.665110] bluetooth hci0: Direct firmware load for qca/rampatch_usb_00000302.bin failed with error -2
[   13.695793] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/QCA9377/hw1.0/firmware-6.bin (-2)
[   13.695991] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/QCA9377/hw1.0/firmware-5.bin (-2)
[   13.696084] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/QCA9377/hw1.0/firmware-4.bin (-2)
[   13.696172] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/QCA9377/hw1.0/firmware-3.bin (-2)
[   13.696260] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/QCA9377/hw1.0/firmware-2.bin (-2)
[   13.696336] ath10k_pci 0000:03:00.0: Failed to find firmware-N.bin (N between 2 and 6) from ath10k/QCA9377/hw1.0: -2
[   13.696420] ath10k_pci 0000:03:00.0: could not fetch firmware files (-2)
[   13.696477] ath10k_pci 0000:03:00.0: could not probe fw (-2)
[   23.253163] r8169 0000:02:00.0: firmware: failed to load rtl_nic/rtl8168g-3.fw (-2)
[   23.254120] r8169 0000:02:00.0: Direct firmware load for rtl_nic/rtl8168g-3.fw failed with error -2
[   23.254122] r8169 0000:02:00.0 enp2s0: unable to load firmware patch rtl_nic/rtl8168g-3.fw (-2)
[ 5493.653172] bluetooth hci0: firmware: failed to load qca/rampatch_usb_00000302.bin (-2)
[ 5493.653180] bluetooth hci0: Direct firmware load for qca/rampatch_usb_00000302.bin failed with error -2

和来自“ls -R /lib/firmware/ath10k/QCA9377”

ls -R /lib/firmware/ath10k/QCA9377
/lib/firmware/ath10k/QCA9377:hw1.0

/lib/firmware/ath10k/QCA9377/hw1.0:
board-2.bin  board.bin  CNSS.TF.1.0  untested  WLAN.TF.2.1

/lib/firmware/ath10k/QCA9377/hw1.0/CNSS.TF.1.0:
firmware-5.bin_CNSS.TF.1.0-00267-QCATFSWPZ-1  notice.txt_CNSS.TF.1.0-00267-QCATFSWPZ-1

/lib/firmware/ath10k/QCA9377/hw1.0/untested:
firmware-sdio-5.bin_WLAN.TF.1.1.1-00061-QCATFSWPZ-1 notice.txt_WLAN.TF.1.1.1-00061-QCATFSWPZ-1.txt

/lib/firmware/ath10k/QCA9377/hw1.0/WLAN.TF.2.1:
firmware-6.bin_WLAN.TF.2.1-00014-QCARMSWP-1  firmware-6.bin_WLAN.TF.2.1-00021-QCARMSWP-1  notice.txt_WLAN.TF.2.1-00016-QCARMSWP-1
firmware-6.bin_WLAN.TF.2.1-00016-QCARMSWP-1  notice.txt_WLAN.TF.2.1-00014-QCARMSWP-1      notice.txt_WLAN.TF.2.1-00021-QCARMSWP-1

答案1

由于您的问题似乎是,根据上面的评论,您下载了一个未完全完成的软件包,我建议您删除这些文件并编辑 /etc/apt/sources.list 以便有一行

deb deb.debian.org/debian buster main contrib non-free

并发出命令

sudo apt-get update

其次是

apt-get install firmware-atheros

并且,为了使其也适用于更新,您可以编辑 /etc/apt/sources.list 以使其包含以下行

deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free

deb http://deb.debian.org/debian buster-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free

并且,当然更新 apt

apt-get update

相关内容