March 29, 2024

Install RTL8723de aka RealTek d723 WiFi driver in Ubuntu 18.04

Sponsored

Previously I had written a post about the same driver RTL8723de which you can find here. It works perfectly on systems with Linux kernel versions upto 4.14. But unfortunately for kernel versions later than 4.14 that solution won’t work. For example if your wifi device is RTL8723de aka RealtTek d723 then after the upgrade of Ubuntu from 16.04 LTS to the latest Ubuntu 18.04 LTS wifi will stop working. Now that I have found another working solution for kernel versions later than 4.14, I shall share that with you now. Please note that this tutorial uses another repository than the one mentioned in the previous post. Also, it uses the extended branch and this driver is not available in the master branch of that repository. I have tested it personally and ensured that it is working fine in kernel v4.15.

How to Install WiFi Driver for RTL8723DE
How to Install WiFi Driver for RTL8723DE in GNU/Linux Distributions

So here are the steps to install wifi driver for RTL8723de in Ubuntu 18.04

 

Sponsored

Clone the repository

git clone https://github.com/lwfinger/rtlwifi_new.git

 

Enter to the cloned folder

cd rtlwifi_new

 

Checkout to the extended branch

git checkout extended

 

Start installation

sudo make install
sudo modprobe -r rtl8723de
sudo modprobe rtl8723de

That’s it! You have now successfully installed RTL8723de wifi driver on your Ubuntu 18.04. This repo also contains driver for RTL8723be and much more RealTek devices.

Sponsored

35 thoughts on “Install RTL8723de aka RealTek d723 WiFi driver in Ubuntu 18.04

  1. Didn’t work for me …

    brigitte@brigitte-HP:~$ cd rtlwifi_new
    brigitte@brigitte-HP:~/rtlwifi_new$ sudo make install
    [sudo] Mot de passe de brigitte :
    make -C /lib/modules/4.15.0-20-generic/build M=/home/brigitte/rtlwifi_new modules
    make[1] : on entre dans le répertoire « /usr/src/linux-headers-4.15.0-20-generic »
    arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support
    Makefile:976: “Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel”
    CC [M] /home/brigitte/rtlwifi_new/base.o
    /bin/sh: 1: gcc: not found
    scripts/Makefile.build:332: recipe for target ‘/home/brigitte/rtlwifi_new/base.o’ failed
    make[2]: *** [/home/brigitte/rtlwifi_new/base.o] Error 127
    Makefile:1552: recipe for target ‘_module_/home/brigitte/rtlwifi_new’ failed
    make[1]: *** [_module_/home/brigitte/rtlwifi_new] Error 2
    make[1] : on quitte le répertoire « /usr/src/linux-headers-4.15.0-20-generic »
    Makefile:87: recipe for target ‘all’ failed
    make: *** [all] Error 2

  2. also for me don’t work.
    after the command “sudo modprobe -r rtl8723de” the response is “modprobe: FATAL: Module rtl8723de not found.”

  3. this driver is not available in master branch. you need to checkout to extended branch first. try this command after clone git checkout extended
    then do the rest

  4. I was trying your solution but after the last command I got:
    modprobe: ERROR: could not insert ‘rtl8723de’: Required key not available
    Any idea?

  5. If you make un upgrade from Ubuntu 17 to new version 18.04, you have to uninstall the old driver.
    So check the old installation with:

    # dkms status
    and remove with your driver version like :
    # dkms remove rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414 –all
    and after that you have to load the new driver:
    # modprobe -r rtl8723de
    #modprobe rtl8723de

    For me it works

  6. Thanks.Work fine. Just one thing. I try first in the line as you write and didn’t work. After that i mixed up two step and work. For me was the solution after i write command “git clone https://github.com/lwfinger/rtlwifi_new.git” i start with “cd rtlwifi_new” and not with “git checkout extended”. After i put the command “cd rtlwifi_new” and than the “git checkout extended” was everything all right.

  7. Hello, i am seeing below error when i try to insert the driver (“sudo modprobe rtl8723de”).
    modprobe: ERROR: could not insert ‘rtl8723de’: Unknown symbol in module, or unknown parameter (see dmesg)

    dmesg prints:
    [ 1950.764004] rtl8723_common: Unknown symbol show_it_bb (err 0)
    [ 1950.764187] rtl8723_common: Unknown symbol rtl_fw_page_write (err 0)
    [ 1950.764351] rtl8723_common: Unknown symbol _rtl_dbg_trace (err 0)
    [ 1950.764504] rtl8723_common: Unknown symbol show_it_mac (err 0)
    [ 1950.764667] rtl8723_common: Unknown symbol rtl_fill_dummy (err 0)

  8. Thanks for posting this. Worked good for me on Fedora 28. The only thing was that I had to reverse the cd and checkout commands.

    So on Fedora: run the clone command, cd into directory, checkout extended, make install, then modprobe. Wifi came up right away after months of being tied to a cable. Love it!

  9. Guys , I have followed each and every step mentioned above (in original article + in comments as well)
    It still didn’t work for me.
    Please help.

    No error at my end. In fact it says
    make[1]: Leaving directory ‘/usr/src/linux-headers-4.15.0-34-generic’
    Install rtlwifi SUCCESS

    but still I can’t see wi-fi working

    Does anyone has any out of the box solution ?

  10. Help! Little help here!
    I have this:
    $ sudo modprobe rtl8723de
    modprobe: ERROR: could not insert ‘rtl8723de’: Exec format error

    Any clue?

  11. Excellent! This worked very well and Thank you very much for providing these set of steps.. However I stumbled upon at 2 places which I recovered well since this is a fresh install on a free-dos hp machine.

    1. git clone https://github.com/lwfinger/rtlwifi_new.git command errored out so I had to first install git using the following..

    sudo apt-get install git

    courtesy: https://www.linode.com/docs/development/version-control/how-to-install-git-on-linux-mac-and-windows/

    2. sudo make install command errored out as it could not recognize make. I had to do the following

    sudo apt-get install build-essential

    courtesy: https://askubuntu.com/questions/398489/how-to-install-build-essential

  12. Last step…got the same,,,

    sudo modprobe rtl8723de

    modprobe: ERROR: could not insert ‘rtl8723de’: Required key not available

    Any solution? Thanks a lot

  13. YES THIS HAS FIXED IT….
    I FOLLowed all the steps and i got the
    “modprobe: ERROR: could not insert ‘rtl8723de’:
    but i restarted and pressed esc until i went into bios.
    disabled secure boot… i was like hmmm
    but then ya i start up ubuntu and theres my wifi. weird fix. thanks a bunch mark10!!!
    now my gf wont yell at me for installing this OS………………..

Share your Opinion

This site uses Akismet to reduce spam. Learn how your comment data is processed.