I had recently updated to Ubuntu 18.04. All was working fine until today morning when I was not able to connect to the wifi. When I try to scan for networks it shows no networks found. When I run
iwlist wlo1 scan I get the following results:
wlo1 No scan results
sudo modprobe -r rtl7823be sudo modprobe rtl8723be ant_sel=x
The value of
x being either 1 or 2, whichever gives better results for wifi signals. However, when I try the same solution for 18.04 it doesn't seem to work. I have looked for solutions for 18.04 and found this answer this answer. There deosn't seem to be any conclusive answer on how to fix the problem. I decided to uninstall rtl8723be drivers using
sudo apt purge rtl8723be and reinstall using this however when I try to do that I get errors (when I run this command
sudo add-apt-repository ppa:hanipouspilot/rtlwifi) such as:
E: The repository 'http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
I then installed the rtl8723be driver using instructions as per the github page for rtlwifi_new in here. The installation was sucessful however I was back to square one, no wifi networks found. Does anyone know how to get the wireless to working? I'll post the output of
lshw -class network below:
*-network description: Wireless interface product: RTL8723BE PCIe Wireless Network Adapter vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:08:00.0 logical name: wlo1 version: 00 serial: 70:77:81:12:fc:2d width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=rtl8723be driverversion=4.15.0-33-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11 resources: irq:18 ioport:5000(size=256) memory:c6100000-c6103fff *-network description: Ethernet interface product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:09:00.0 logical name: eno1 version: 0a serial: 3c:a8:2a:ae:31:82 size: 100Mbit/s capacity: 100Mbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8107e-2_0.0.2 02/26/15 ip=188.8.131.52 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s resources: irq:19 ioport:4000(size=256) memory:c6004000-c6004fff memory:c6000000-c6003fff
PS: The LAN works just fine, the problem is just with the wireless interface.
EDIT: The problem is solved with an update to 18.10 as it uses kernel 17.0.