Update: See the installation of the same driver in Ubuntu 18.04 or other operating systems which use kernel version higher than 4.14 here
GNU/Linux distributions have really matured enough in the last years to be used as a stable desktop operating system. But still there are some nasty WiFi modules and Graphics Cards that won’t work in GNU/Linux out-of-the-box. Today we are going to work on such a WiFi module. Let’s take a look at how to install WiFi driver for RTL8723DE aka RealTek d723.
Some of the newly arrived laptops, especially from HP, come with RealTek network cards such as RTL8723BE or RTL8723DE which may not work in many GNU/Linux distributions out-of-the-box. The Realtek RTL8723DE-CG is an 802.11bgn 2.4G single-chip that integrates Wireless LAN (WLAN) and a network PCIe interface controller with integrated Bluetooth 2.1/4.2 USB interface controller. This chip currently doesn’t have native GNU/Linux support. This puts many people into helpless situation who are desperately looking for how to install WiFi driver for RTL8723DE.
How to Install WiFi Driver for RTL8723DE aka RealTek d723
Most people are not even able to find a solution for this online. Here in AskUbuntu, you can see that the question regarding how to install WiFi Driver for RTL8723DE on GNU/Linux is not properly answered. There’s also an issue in the GitHub repo rtlwifi_new mentioning that this chip isn’t supported. For some it may work while for others it may not be the case. That’s why I got tempted to write this post in order to share an alternate working solution.
If you have already searched about this device then you may have already found this repo. But unfortunately it didn’t work for me. So I did a detailed search and came across another repo from its comments. And this time it worked perfectly.
Steps to install RTL8723DE WiFi Driver
First you need to check whether your Linux kernel version is above 4.10. For that run the following command in terminal:
If your Linux kernel version is above 4.10
1. Install required packages for building the driver
sudo apt-get install build-essential git dkms
2. Clone the driver repository
3. Then follow these steps to install the driver
sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/18.104.22.168_21285.20171026_COEX20170111-1414
4. Now reboot your system and you will have your WiFi device working by now
If your Linux kernel is older than 4.10
All steps are same as above except for the step 2. You just need to replace the clone URL in the 2nd step with the one mentioned below.
git clone -b 4.10-down https://github.com/jeremyb31/rtl8723de.git