I used the following procedure
sudo apt install git git clone https://github.com/lwfinger/rtlwifi_new.git cd rtlwifi_new/ git checkout origin/extended -b extended sudo apt-get install linux-headers-generic build-essential git sudo make install sudo modprobe -r rtl8723de sudo modprobe rtl8723de
However when my system powered-off and rebooted the wifi does not work anymore.
I cannot run the above one more time since already rtlwifi_new directory is present and the above procedure errors with the following:
sudo modprobe rtl8723de modprobe: ERROR: could not insert 'rtl8723de': Exec format error
How can I fix this issue ? Please help.