0

My Wifi connection doesn't connect (either automatically or manually) after a power failure, while it gets connected to other systems (mobile/another laptop) easily. The only way it connects is when I restart my laptop. I am using Ubuntu 20.04 LTS Desktop. Please help me with this. Here is the output from lshw -class network

  *-network                 
       description: Ethernet interface
       product: RTL810xE PCI Express Fast Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: enp8s0
       version: 07
       serial: f8:a9:63:91:a2:36
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.11.0-37-generic firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:18 ioport:4000(size=256) memory:b2600000-b2600fff memory:b2400000-b2403fff
  *-network
       description: Wireless interface
       product: RTL8188EE Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:09:00.0
       logical name: wlo1
       version: 01
       serial: 00:71:cc:84:39:e9
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8188ee driverversion=5.11.0-37-generic firmware=N/A ip=192.168.0.13 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:51 ioport:3000(size=256) memory:b2500000-b2503fff
MadMike
  • 4,244
  • 8
  • 28
  • 50

1 Answers1

0

Most probably the kernel-driver for your wifi card gets stuck, thus it needs to be restartet like this answer suggests.

Your wifi-driver has the name rtl8188ee so the command will be:

sudo modprobe -r rtl8188ee && sleep 5s && sudo modprobe -a rtl8188ee

Please comment this answer if this didn't improve the situation after a power-outage.

MadMike
  • 4,244
  • 8
  • 28
  • 50
  • Hi @MadMike. So the above solution you provided worked like a miracle all the time until a few days ago, I am not able to join any wifi network except for the mobile hotspot. It keeps showing Activation or Network connection failed – Ishfaq Rather Mar 04 '22 at 05:25
  • My answer is just a workaround for an underlying problem. It could either be a software (Linux driver)-problem or a hardware problem. If you google unreliable linux wifi RTL8188EE you find problem reports dating back to 2013. If the problem could be solved by a better Linux-driver it would be have been done by that way until now. So I conclude the hardware is the issue here. Switch the hardware. Switching the internal card won't be easy. Adding a usb wifi adapter will be easier (but won't look as good and will be fidgety). Search for linux usb wifi adapter. – MadMike Mar 04 '22 at 07:19