How to Install RTL8723DE Wifi Driver in Ubuntu 19.04

April 19, 2019 — 23 Comments

HP Linux Imaging and Printing

This tutorial is a rewritten of the previous ‘Fix ‘No WiFi Adapter Found’ for HP Laptops with Ubuntu 18.04‘, since wireless will stop working after installed or upgraded to a new Linux Kernel.

Following steps will install the newest Realtek rtlwifi codes including rtl8192ce, rtl8192cu, rtl8192se, rtl8192de, rtl8188ee, rtl8192ee, rtl8723ae, rtl8723be, rtl8821ae, rtl8822be and rtl8723de in Ubuntu with DKMS (Dynamic Kernel Module Support) support. So it will work in each kernel on your system.

This may not work if you already installed the drivers and broke things up. I would recommend to do the steps in a clean install of Ubuntu desktop.

1. Connect your laptop to a wired network, and then open terminal from application menu.

2. Run command to install some required tools:

sudo apt install git build-essential dkms

Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter.

3. Now grab the rtlwifi_new codes via command:

git clone -b extended https://github.com/lwfinger/rtlwifi_new.git

4. Add the source to the tree for builds with DKMS support.

sudo dkms add ./rtlwifi_new

5. Finally install the drivers via command:

sudo dkms install rtlwifi-new/0.6

6. If everything works OK, Wifi should work immediately (it works in my case in Ubuntu 19.04).

If not, try commands to load the new installed module (rtl8723de in the case):

sudo modprobe -r rtl8723de && sudo modprobe rtl8723de

7. And Wifi works after reboot without doing any configuration, at least in my case in Ubuntu 19.04.

If not, try command to write it into configuration file (replace 3 to 1, 2 or 4 if signal is weak).

echo "options rtl8723de ant_sel=3" | sudo tee /etc/modprobe.d/rtl8723de.conf

In addition, if you happened to update your system with newest Kernel packages without reboot. You need to reinstall the kernel packages to get the module work after reboot.

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

23 responses to How to Install RTL8723DE Wifi Driver in Ubuntu 19.04

  1. Hey Ji m,
    thanks, this looks like a very good walk-through. Unfortunately, on my new HP with RTL8821CE wifi adapter, this has not yet done the trick. Still no wifi adapter found under ubuntu 18.04 (works fine under windows).
    1. I used modprobe on the rtl8821ae module (number matches my card, but ae instead of ce, no idea if that is a problem?)
    2. I noticed that no rtl8821ae.conf has been created in my /etc/modprobe.d/ directory.
    Do you have a suggestion what I could try? Thanks a lot!

  2. I owe you man. Thanks a lot for this article.
    ant_sel=2 and a reboot did the job. Signal strength is fluctuating. How can I get a fixed strength??

  3. My dell inspirion 14 does not have a ethernet port. Any way to get wifi working in this situation?
    Thank u

  4. Thanks again Ji m.

  5. Hi,

    I have a hp computer. Wifi adapter is not working. Please find the wireless infotext below

    http://paste.ubuntu.com/p/C7D5476G89/

  6. For me this here worked:

    sudo apt-get install –reinstall git dkms build-essential linux-headers-$(uname -r)
    git clone https://github.com/tomaspinho/rtl8821ce
    cd rtl8821ce
    chmod +x dkms-install.sh
    chmod +x dkms-remove.sh
    sudo ./dkms-install.sh

  7. Finally Wifi worked …… thanks a million!!!

  8. Hermano cuando trato de instalarlo me dice que el módulo rtl8723de no se encuentra, sabes de algún otro lado donde esté

  9. Thank you man! works perfect, you saved me!!!

  10. Thanks for the article. Although I haven’t tried it yet.

    I’m new to Linux so I decided to start with the live usb to test it out.

    Is there any difference in using live usb and dual booting as far as drivers are concerned?

    Machine : HP Laptop 15-bs0xx with Realtek drivers

    Ubuntu 19.04

  11. Hi Jim, I’m fairly new to linux and I’ve just dual booted Ubuntu into my HP laptop. I’ve followed your steps, all commands have run without error and installation completed. However I’m still not finding any WiFi adapter, I tried the sudo modprobe -r command, and then rebooted. I also tried another wifi code but to no avail, do you have any idea why this may be? This was all done with a fresh installation of Ubuntu.

  12. thanks for the solution . it worked for me

  13. THANK YOU SO MUCH ! it worked ! its been a week since i tried to make my wifi work on ubuntu

  14. hello can I download l in windows and then install in ubuntu. plz tell me how I can??if yes coz I don’t have a wired network here

  15. Hi Jim,

    I followed your steps to the T, and everything went smoothly, but no wireless connection even after the reboot. My make is HP Laptop 17-by0xxx
    …since there were no errors I have no idea where to start looking for the problem? HELP PLS!

  16. Andrew Dennis July 1, 2019 at 3:08 pm

    Same issues with rtl8723de.

    https://termbin.com/78cy

    That is the result of a script I got from the Linux Mint web site.

    Figure secure boot interfered with the install but not sure how to work around.

  17. Thank you so much! The only issue I have now is signal strength. I am on an HP Pavilion. I tried sudo modprobe rt18723be ant_sel=2 (and _1). I get “modprobe: FATAL: module rt18723be not found in directory /lib/modules/4.15.0-20-generic”

    Please advise and thank you so much.

  18. Thank Ji m for the guide. I can’t get tethering (personal hotspot) from my iphone to work though. Keep on asking for the password and does not recognize it. :/

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*