Till yesterday my Ubuntu 16.04 was working fine. Today when I started my PC it showed this
The system is running in low-graphics mode your screen,graphics card, and input devices settings could not be detected correctly. You will need to configure these yourself.
After that I had to reinstall Ubuntu. I was having wifi problem earlier. Enable wifi icon was not showing in the menu. After that I tried running these commands which worked well in the first attempt
sudo apt update
sudo apt install build-essential dkms git
git clone https://github.com/jeremyb31/rtl8723de.git
sudo dkms add ./rtl8723de
sudo dkms build rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
I again ran these commands but last 2 commands are giving me this error Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
'make' all KVER=4.10.0-28-generic.....(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8723de: 5.1.1.8_21285.20171026_COEX20170111-1414 not found
Error! Bad return status for module build on kernel: 4.10.0-28-generic (x86_64)
Consult /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/make.log for more information.
If I am able to run these two commands then definitely wifi will get working but how to solve this problem?