Category Archives: fix

RTL8723DE WiFi Driver install

The Realtek 8723DE Wifi driver is not supported natively in the Linux kernel. The Bluetooth functionality for this chipset is supported but for some reason it does not work on newer kernels. But here are the instructions to get the WiFi working.

// rpm-based distros like fedora
% sudo dnf in git dkms kernel-headers kernel-devel  
% sudo dnf groupinstall "Development Tools"

// deb-based distros like ubuntu/mint
% sudo apt install git dkms kernel-headers kernel-devel build-essential

// Create a directory for git repos and clone the git repo
% mkdir repos
% cd repos 
% git clone -b extended https://github.com/lwfinger/rtlwifi_new.git

// build and install the driver using dkms
% cd rtlwifi_new 
% sudo dkms add ../rtlwifi_new 
% sudo dkms build rtlwifi-new/0.6  
% sudo dkms install rtlwifi-new/0.6 
%sudo /bin/sh -c 'echo "options rtl8723de ant_sel=2" >> /etc/modprobe.d/rtl8723de.conf' 
% sudo modprobe -v rtl8723de ant_sel=2 

https://h30434.www3.hp.com/t5/Notebook-Wireless-and-Networking/Realtek-8723DE-wifi-module-amp-Bluetooth-Linux-driver/td-p/6477307