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.
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
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
also for me don’t work.
after the command “sudo modprobe -r rtl8723de” the response is “modprobe: FATAL: Module rtl8723de not found.”
Most probably you missed this step
`git checkout extended`
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
still doesn’t work
I was trying your solution but after the last command I got:
modprobe: ERROR: could not insert ‘rtl8723de’: Required key not available
Any idea?
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
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.
@Mujeeb: Wrong order of commands. First cd, then git checkout
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)
did not work, stuck on “sudo modprobe rtl8723de” nobody has solution?
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!
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 ?
When i try “sudo make install”
I showing cc1: error: code model kernel does not support PIC mode
Help me please
Last step…
modprobe: ERROR: could not insert ‘rtl8723de’: Required key not available
Any solution? Thanks a lot
holy shit this works! thanks so much that’s amazing!!
Help! Little help here!
I have this:
$ sudo modprobe rtl8723de
modprobe: ERROR: could not insert ‘rtl8723de’: Exec format error
Any clue?
Hi i install successfully, but there was no wifi adapter install? how can i check it?
Thanks, it works perfectly. If the kernel is updated, should the procedure be performed again?
Thankx bro ..it worked
thanks i got it successfully.
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
Thanks , Started Working for me
mb disable secure boot in the uefi
Last step…got the same,,,
sudo modprobe rtl8723de
modprobe: ERROR: could not insert ‘rtl8723de’: Required key not available
Any solution? Thanks a lot
ok..I got success….
just turn off secure boot in BIOS and next reboot the driver was caught!!
thanks
Thank you mark10 ==> turning of “secure boot” in BIOS did the trick for me to, after hours ….
No errors, seems to work here, but still “no wifi adapter installed”…
Thanks bro, this worked like cha
It worked for me. Thanks, I was getting desperate.
try sudo apt-get install gcc make
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………………..
“git clone https://github.com/lwfinger/rtlwifi_new.git” after this command Username for ‘https://github.com’:
Password for ‘https://github.com’:
what should i do
git clone https://github.com/lwfinger/rtlwifi_new.git
this repo asking credentials
Now when I try to clone the repo it is asking username& password