Complete Linux beginner here.

I installed Ubuntu 18.04 yesterday, dual booting with Windows 8.1.

When trying to connect to a WiFi network, it doesn't detect any of the networks (not mine or my neighbors'). I tried creating a hotspot from my Android phone and to my surprise, it detected it immediately.

I searched around on the internet and tried restarting the network manager service, changing the channel on my router, and some other things, but nothing worked.

When I boot into Windows, my wifi along with all the other networks is detected and connects with no problem.

Edit: Here's the output of running lspci -knn | grep Net -A3

captaindroid@Akash-PC:~$ lspci -knn | grep Net -A3
08:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:804c]
Kernel driver in use: rtl8723be
Kernel modules: rtl8723be
09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
TL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 0a)

  • Please edit your question and add output of lspci -knn | grep Net -A3 terminal command. – Pilot6 Jun 24 '18 at 15:26
  • @Pilot6 I have added the output of the command you suggested. Please have a look. – Akash Srivastav Jun 24 '18 at 15:36
  • 3
    Possible duplicate of Rtl8723be WiFi incredibly weak – Pilot6 Jun 24 '18 at 15:42
  • @Pilot6 I tried the suggested solution and changed the antenna both to 1 & 2, but it didn't work. I took my laptop and moved closer to the router and it detected the network. Any permanent solution? – Akash Srivastav Jun 24 '18 at 15:57
  • Did you reboot after you entered the command? – Pilot6 Jun 24 '18 at 15:59

I found this from here

Doing this solved the poblem in my ubuntu 18.04

git clone git://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
sudo make install 

and reboot.

protected by Community Jan 25 at 14:35

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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