Realtek rtl8723de wifi not working with a new kernel

I was using linux kernel 5.0.4-33 generic and 5.0.4-31-generic.

But after some time i needed to reinstall the 5.0.4-33-generic kernel because it was giving me initramfs error during boot. After reinstalling the kernel boots perfectly without errors but the there is no wifi option there while wifi works perfectly for 5.0.4-31-generic kernel.

I am using Realtek8723de driver.

i tried following these instructions

https://h30434.www3.hp.com/t5/Notebook-Wireless-and-Networking/Realtek-8723DE-wifi-module-amp-Bluetooth-Linux-driver/td-p/6477307

but the latest commit of Larry Finger's rtlwifi_new repo says

"if you are running a kernel newer than 5.0, use the drivers built into your kernel."

But this is not the case it seems. There is still no option for wifi

I am using Ubuntu 20.04

I really need this to work. Thanks in advance


Solution 1:

Larry Finger has made a new repo for these drivers.

You can install drivers this way now:

sudo apt install git dkms
git clone https://github.com/lwfinger/rtw88.git
sudo dkms add ./rtw88
sudo dkms install rtlwifi-new/0.6

But you may have problems with previously installed drivers.