debian - 连接中没有可用的 wifi 选项

debian - 连接中没有可用的 wifi 选项

我刚刚在 hp bs-145tu 笔记本电脑上安装了 Debian 10 和 KDE,才几个小时。我已经firmware-realtek从 apt 安装了,但仍然看不到任何 wifi 选项。但我可以使用以太网。如何启用和使用 wifi?

我在带有 realtek wlan 设备的英特尔 CPU 上使用带有 KDE 的 Debian 10.9。

返回结果如下lspci

neevan@nebian:~$ lspci
...
...
...
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723DE 802.11b/g/n PCIe Adapter

请参阅此处的屏幕截图: 在此处输入图片描述 在此处输入图片描述

编辑1:

neevan@nebian:~$ sudo lspci -k
...
...
...
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Kernel driver in use: r8169
        Kernel modules: r8169
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723DE 802.11b/g/n PCIe Adapter
        Subsystem: Hewlett-Packard Company RTL8723DE 802.11b/g/n PCIe Adapter
neevan@nebian:~$ sudo ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether ea:7a:10:67:8b:af brd ff:ff:ff:ff:ff:ff
neevan@nebian:~$ nmcli dev
DEVICE  TYPE      STATE      CONNECTION         
eno1    ethernet  connected  Wired connection 1 
lo      loopback  unmanaged  --  
neevan@nebian:~$ sudo dmesg | grep -i wlan
[    3.266679] usb 1-4: Product: 802.11n WLAN Adapter               

编辑2:

neevan@nebian:~$ lspci -nn | grep -i net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723DE 802.11b/g/n PCIe Adapter [10ec:d723]

编辑3:

neevan@nebian:~$ uname -a
Linux nebian 5.10.0-0.bpo.4-amd64 #1 SMP Debian 5.10.19-1~bpo10+1 (2021-03-13) x86_64 GNU/Linux
neevan@nebian:~$ lspci -k
...
...
...
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Kernel driver in use: r8169
        Kernel modules: r8169
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723DE 802.11b/g/n PCIe Adapter
        Subsystem: Hewlett-Packard Company RTL8723DE 802.11b/g/n PCIe Adapter
        Kernel modules: rtw88_8723de

答案1

您的 Wi-Fi 适配器 (PCI 10ec:d723) 由“rtw88”驱动程序处理,该驱动程序已添加于Linux 内核 5.2。但是,Debian 10 (Buster) 默认仅附带内核 4.19,因此您需要从向后移植存储库。您还需要更新的固件集合。

启用反向移植后,使用:

apt install -t buster-backports linux-image-amd64 firmware-realtek

答案2

您需要为您的设备安装具有合适驱动程序版本的 dkms。您可以从 apt repo 中找到它。有时某些主板需要特殊的驱动程序。

相关内容