Wifi 在具有 RTL8723de 驱动程序的 debian 8.9 中无法工作 ([10ec:d723])

Wifi 在具有 RTL8723de 驱动程序的 debian 8.9 中无法工作 ([10ec:d723])

请帮助我让我的无线网络正常工作。过去两周我一直在研究这个问题,并尝试了很多解决方法。现在我已经重新安装了 Debian,并准备从头开始。以下是系统网络的详细信息。

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: Hewlett-Packard Company Device 8328
Flags: bus master, fast devsel, latency 0, IRQ 141
I/O ports at 4000 [size=256]
Memory at b1104000 (64-bit, non-prefetchable) [size=4K]
Memory at b1100000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
Capabilities: [170] Latency Tolerance Reporting
Capabilities: [178] L1 PM Substates
Kernel driver in use: r8169

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723
Subsystem: Hewlett-Packard Company Device 8319
Flags: bus master, fast devsel, latency 0, IRQ 11
I/O ports at 3000 [size=256]
Memory at b1000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Virtual Channel
Capabilities: [168] Device Serial Number 00-e0-4c-00-00-00-00-00
Capabilities: [178] Latency Tolerance Reporting
Capabilities: [180] L1 PM Substates

# iwconfig 
usb0      no wireless extensions.
lo        no wireless extensions.
eth0      no wireless extensions.

# iwlist scan
usb0      Interface doesn't support scanning
lo        Interface doesn't support scanning
eth0      Interface doesn't support scanning

# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 18:60:24:11:f8:77 brd ff:ff:ff:ff:ff:ff
3: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000
link/ether fe:47:68:4a:9f:e3 brd ff:ff:ff:ff:ff:ff

# dmesg | grep 8168
[    0.372439] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
[    0.949919] r8169 0000:01:00.0 eth0: RTL8168b/8111b at 0xffffc900006b4000, 18:60:24:11:f8:77, XID 14100800 IRQ 141

# dmesg | grep 8169
[    0.949289] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    0.949299] r8169 0000:01:00.0: can't disable ASPM; OS doesn't have ASPM control
[    0.949443] r8169 0000:01:00.0 (unregistered net_device): unknown MAC, using family default
[    0.949679] r8169 0000:01:00.0: irq 141 for MSI/MSI-X
[    0.949919] r8169 0000:01:00.0 eth0: RTL8168b/8111b at 0xffffc900006b4000, 18:60:24:11:f8:77, XID 14100800 IRQ 141
[    0.949922] r8169 0000:01:00.0 eth0: jumbo features [frames: 4080 bytes, tx checksumming: ko]
[   15.868934] r8169 0000:01:00.0 eth0: link down

的输出lspci -knn | grep Net -A2

02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device 
[10ec:d723] 
Subsystem: Hewlett-Packard Company Device [103c:8319]

答案1

非官方 Linux 驱动程序在这里:https://github.com/smlinux/rtl8723de

请注意,我不是上述驱动程序的作者或贡献者。我在订阅 lwfinger 的 rtlwifi-new git 项目页面时了解到这个由用户“smlinux”运行的项目。

我有一台带有 RTL8727DE 无线模块的 HP 15-BS576TX 笔记本电脑,该驱动程序工作正常。编译很简单;您可以使用 git 克隆源代码,也可以从上面的链接下载 zip 格式的源代码。

然后,在源目录(rtl8723de)中打开终端并运行以下命令,将 8723de.ko 内核模块安装到模块目录中。

make
sudo make install && sync;
sudo modprobe 8723de

就是这样。拥有这台笔记本电脑几个月后,Wifi 终于可以用了!不过,社区必须意识到,在 Linux 内核中正式容纳该驱动程序或该模块的其他驱动程序可能需要时间。另外,请查看https://github.com/lwfinger/rtlwifi_new对于任何可用的更新驱动程序,该驱动程序由上述 WiFi 模块的制造商 Realtek 提供。

答案2

以太网

编辑你的/etc/network/interfaces如下:

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
    
auto lo
iface lo inet loopback
 
auto eth0
iface eth0 inet dhcp

要通过以下方式使互联网正常工作eth0

ifdown eth0
ifup eth0

无线上网

更新

工作司机可在smlinux存储库(看评论

要安装rtl8723de驱动程序,您的内核版本应该 >=4.11。

最简单的方法是安装 Debian Stretch,然后从向后移植升级您的内核版本(内核4.13可用)

要在 Debian Jessie 上安装,rtl8723de您应该编译内核 >4.11

安装过程:

驱动程序可以按如下方式安装:

git clone https://github.com/smlinux/rtl8723de.git
cd rtl8723de
make
make install 

适用于 Linux 内核版本 5 的 Realtek RTL8723DE 模块:

git clone https://github.com/smlinux/rtl8723de.git -b current
dkms add ./rtl8723de
dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
depmod -a
reboot

更新Debian 10

该驱动程序可在lwfinger/rtw88

注意:1)只要发行版未修改任何内核 API,此代码将构建在任何内核 4.19 及更高版本上。

  1. 该存储库包含以下卡的驱动程序:

RTL8822BE、RTL8822CE、RTL8821CE 和 RTL8723DE

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 -rv rtw_8723de 
sudo modprobe -v rtw_8723de 

相关内容