Debian
帶有核心 5.10 的 debian 10 上 Realtek RTL8723DE wlan 的驅動程序問題
我最近用 KDE 安裝了 Debian 10.9。並嘗試使用 WiFi 並通過這樣做得知我的 wlan 無人認領:
neevan@nebian:~$ sudo lshw -C network *-network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. ... ... *-network UNCLAIMED description: Network controller product: Realtek Semiconductor Co., Ltd. vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:02:00.0 version: 00 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress cap_list configuration: latency=0 resources: ioport:3000(size=256) memory:b1000000-b100fff
這是我為修復它所做的工作:
sudo apt install firmware-realtek
並且重新啟動不起作用- 我還從 GitHub 安裝了很多非官方的驅動程序
- 我在 unix & linux 上關注了這個問題的每一個答案
- 我了解到我的特定 wlan 設備在核心 <= 4 中沒有驅動程序,因此我啟用了反向埠(通過添加
deb http://deb.debian.org/debian buster-backports main contrib non-free
到我的“/etc/apt/sources.list”)並將我的核心升級到 5.10 並且sudo apt update && sudo apt upgrade
沒有那時也發生了。完成上述所有操作後,我在右下角面板上既看不到 WiFi,也看不到任何內容
nmcli dev wifi
。有關我的作業系統和設備的更多資訊:
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 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
我有雙啟動的 Windows 10,那裡的 WiFi 沒有問題,在安裝 Debian 10 之前我有帶有 GNOME 的 Ubuntu 20.04LTS,那時我也沒有 WiFi 問題。如何安裝 WiFi 驅動程序並聲明該設備並使用 WiFi?
從lwfinger/rtw88 git 儲存庫安裝 wifi 驅動程序:
sudo apt-get update sudo apt-get install make gcc linux-headers-$(uname -r) build-essential git git clone https://github.com/lwfinger/rtw88.git cd rtw88 make sudo make install sudo modprobe -r rtw_8723de sudo modprobe rtw_8723de echo "options rtl8723de ant_sel=2" | sudo tee /etc/modprobe.d/rtl8723de.conf
ant_sel
可能取,1
,2
或3
值4
。