Guys I kindly follow the instructions : (This method works on all distro... just choose the package manager correctly)
1. sudo apt-get update && sudo apt-get upgrade
and then
sudo apt-get install linux-headers-$(uname -r)
(This part may vary from distro to distro)
2. Reboot your pc
3. Goto this link and download the New_Rtl_Wifi folder
https://gitlab.com/archimanc/realtek-...
4. cd Downloads
mv New_Rtl_Wifi ~
cd ~
5. cd New_Rtl_Wifi
6. make clean && make
7. sudo make install
8. sudo modprobe -r rtw_8723de
9. sudo modprobe rtw_8723de
10. sudo modprobe -r rtw_8723de && sleep 5 && sudo modprobe rtw_8723de ant_sel=4
11. echo "options rtw_8723de ant_sel=4" | sudo tee /etc/modprobe.d/rtw_8723de.conf
and then reboot the system and enjoy wifi..
cheers