you need to install linix headers generic by:
sudo apt-get update
sudo apt-get install linux-generic
I see you already have downloaded the realtek wifi drivers make sure you are in the right directory and run this to install them:
cd rtlwifi_new
sudo dkms add ../rtlwifi_new
sudo dkms build rtlwifi-new/0.6
sudo dkms install rtlwifi-new/0.6
sudo modprobe -v rtl8723de ant_sel=2
Congrats you have running wifi.
Save the config with this command:
sudo /bin/sh -c 'echo "options rtl8723de ant_sel=2" >> /etc/modprobe.d/rtl8723de.conf'
Restart.
Details here:
https://h30434.www3.hp.com/t5/Notebook-Wireless-and-Networking/Realtek-8723DE-wifi-module-amp-Bluetooth-Linux-driver/td-p/6477307
Answer from Wolfie on askubuntu.comSo after too many hours finally it's been solved. It goes like this:
- Download libdwarf-20130207.tar.gz
Extract the archive and in a new terminal type:
cd dwarf-2013-02-07/libdwarf ./configure --enable-shared make -j$(nproc)If you need a 32 bit library (as in my case), just open the
MakeFileand add-m32toCFLAGSCFLAGS = -m32 $(PREINCS) -g -O2 $(INCLUDES) $(dwfpic) $(POSTINCS)At the end, just copy the
libdwarf.sointo/usr/lib
I suspect this wasn't true when the question was asked, but in 2018:
sudo apt-get install libelf-dev libdwarf-dev
You might also be interested in https://github.com/aclements/libelfin.