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)
lspci -knn | grep Net -A3
terminal command. – Pilot6 Jun 24 '18 at 15:26cat /etc/modprobe.d/rtl8723be.conf
. – Pilot6 Jun 24 '18 at 15:59libelf-dev
missing. I installed it and did the process again and it worked. Thanks a lot. – Akash Srivastav Jun 26 '18 at 06:22