Wifi stops working after few seconds

Module = “rtl8188ee”

Attributes:
coresize = “122880”
initsize = “0”
initstate = “live”
refcnt = “0”
srcversion = “37C15302EBF6285818BD145”
taint = “”
uevent =

Parameters:
aspm = “1”
debug_level = “0”
debug_mask = “0”
disable_watchdog = “N”
fwlps = “N”
ips = “N”
msi = “Y”
swenc = “N”
swlps = “N”

Sections:

OK, what’s output of

sudo lspci -v -s 02:00.0
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 05)
	Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
	Flags: bus master, fast devsel, latency 0, IRQ 16
	I/O ports at e800 [size=256]
	Memory at fdfff000 (64-bit, prefetchable) [size=4K]
	Memory at fdff8000 (64-bit, prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 01
	Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
	Capabilities: [d0] Vital Product Data
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Virtual Channel
	Capabilities: [160] Device Serial Number ae-03-00-00-36-4c-e0-00
	Kernel driver in use: r8169
	Kernel modules: r8169

For some reasons the output is linked to your LAN and not to your WLAN, please enter

sudo lspci -v

and only copy the paragraph linked to your Realtek RTL8188EE Wireless Network Adapter.

01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter (rev 01)
	Subsystem: Realtek Semiconductor Co., Ltd. Device 8197
	Flags: bus master, fast devsel, latency 0, IRQ 28
	I/O ports at d800 [size=256]
	Memory at febfc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number 00-e0-4c-ff-fe-81-91-01
	Capabilities: [150] Latency Tolerance Reporting
	Kernel driver in use: rtl8188ee
	Kernel modules: rtl8188ee

OK, let’s start trying to switch off aspm by

echo 'options rtl8188ee aspm=0' | sudo tee /etc/modprobe.d/rtl8188ee.conf

Afterwards run

sudo modprobe rtl8188ee

Maybe you need to reboot afterwards.

In addition check output of

rfkill list

A further option I see if this does not solve your issue is to replace the Network manager, here is an excellent tutorial (from famous @tbg in the old forum):

1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

did not fix the problem

is connman better than the default network manager?

The standard Network manager is known to make problems for some hardware/drivers, it’s worth to try it.

ConnMan didn’t work either :frowning:

Then let’s hope that some more experienced forum members join this thread. :man_shrugging:

I think its a driver issue. Is there any way to get the attention of the developers on this issue? Where can I report these problems directly to the developers?

SOURCE: Realtek RTL8188EE wireless stopped working reliably - Linux Mint Forums
Follow and create config magic file:

echo "options rtl8188ee swenc=Y ips=N" | sudo tee /etc/modprobe.d/rtl8188ee.conf

Reboot.

This is common issue with this sh*tty chipsets.

1 Like

doesn’t fix the problem :frowning:

Seems to be UPSTREAM kernel driver issue. Reported here >> https://bugzilla.kernel.org/show_bug.cgi?id=206513

Repo in lastest post is dead. But lwfinger / Repositories · GitHub

I have tried that repo. Someone else has uploaded it in github. But installing the new driver didn’t fix the problem and the make command doesn’t run without error in kernel >5 so I tried kernel 4.14 to compile the driver. But the problem didn’t get solved.

Please help. :sob:

It’s probably not fixable. Buy a Wifi USB adapter or replace the internal chip with a different one.
As a temporary workaround you can use your mobile phone in USB tethering mode.