17

I have recently installed Ubuntu 18.04 in my hp 15bs 145tu laptop. All packages of Ubuntu seem to be working properly but the WiFi adapter is not found, and I can't connect to the wireless network.

How can I debug/fix this?

8
  • please edit your question and add the output of the wifi-info script. this makes troubleshooting much easier: askubuntu.com/a/425205/669014 – AlexOnLinux Jun 17 '18 at 2:20
  • 1
    Please edit your question and add the output of the following command in Terminal: lspci -knn | grep Net -A3; rfkill list. – pomsky Jun 17 '18 at 8:32
  • 02:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev ff), Kernel driver in use: ath10k_pci, Kernel modules: ath10k_pci, 6e:00.0 Non-Volatile memory controller [0108]: Toshiba America Info Systems Device [1179:0116], 0: hci0: Bluetooth Soft blocked: no, Hard blocked: no – MycrofD Jul 29 '18 at 11:49
  • @pomsky I lost wifi adapter when I did a sudo apt update and sudo apt upgrade in Ubuntu 18.04 on Dell XPS 13 9370. Above was the result of the command you asked to enter in the terminal.. Could you please help further? – MycrofD Jul 29 '18 at 11:56
  • aah, the answer provided by @varshneydevansh works :) – MycrofD Jul 29 '18 at 12:57
14

First, try to connect with the wired Internet connection (or you can use Mobile Tethering) and use the following commands to install missing Wi-Fi drivers.

Clone the repository (use your Terminal):

git clone https://github.com/lwfinger/rtlwifi_new.git

Enter the cloned folder:

cd rtlwifi_new

Check out the extended branch:

git checkout extended

Start installation:

sudo make install
sudo modprobe -r rtl8723de
sudo modprobe rtl8723de

That's it! You have now successfully installed the RTL8723de Wi-Fi driver on your Ubuntu 18.04 system. This repo also contains the driver for RTL8723be and much more RealTek devices.

If that doesn't work just go and do this:

sudo apt purge bcmwl-kernel-source
sudo sed -i '/blacklist bcma/ d' /etc/modprobe.d/blacklist.conf
sudo sed -i '/blacklist brcmsmac/ d' /etc/modprobe.d/blacklist.conf

Reboot. If wifi does not come on, do:

sudo modprobe -v brcmsmac
sudo modprobe -v bcma
8
  • 9
    Why do you think OP has a Realtek device? – Pilot6 Jun 29 '18 at 18:04
  • Thanks but i cant found module rtl8723de in rtlwifi_new directory – Dany Rizkiawan Jul 21 '18 at 0:55
  • 2
    Disabling Secure Boot in Bios (Why I enabled it is beyond me except Ubuntu Suggested it in the install), Nvidia's nvhda wasn't working right and no WiFI, and going into the bios and diasabling it ... rebooting ...... All Wifi is found!!!!!!!!!! – markackerman8-gmail.com Jan 22 '19 at 23:58
  • wifi has gone after the shutdown system. – Devdutt Sharma Jan 23 '19 at 17:22
  • I disabled my Fast Boot, it worked and somehow and some days later the Wifi Adapter cannot be found again.......hell...... help~! – Franva Sep 22 '19 at 5:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.