Ubuntu – Installing Wi-Fi driver for Realtek Semiconductor RTL8723DE Device [10ec:d723]


How do I install Wi-Fi drivers for Realtek RTL8723DE device in Ubuntu 16.04?

lspci -v | grep -i network
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723

Best Answer

You may use the driver hosted at Larry Finger's rtlwifi_new git repository. You would have to disable secure boot from the the BIOS/EFI first. Also make sure you have linux-headers for the respective kernel(s) and build-essential package installed. Then follow the steps below (you need to be connected to the internet by some other mean).

  1. Install git and dkms if they're not installed by running

    sudo apt install git dkms
  2. Clone the repository

    git clone -b extended --single-branch https://github.com/lwfinger/rtlwifi_new.git
  3. Run the following commands to install

    sudo dkms add rtlwifi_new
    sudo dkms install rtlwifi-new/0.6
  4. Reboot.

This should also work with newer kernels (and hence on Ubuntu 18.04 too).

Note: If you get very weak signal try changing your antenna selection

sudo tee /etc/modprobe.d/rtl8723de.conf <<< "options rtl8723de ant_sel=2"

(or ant_sel=1 if 2 doesn't help).


See this for Bluetooth: How to activate bluetooth device for RTL8723DE?

Related Question