Wifi not working after a few minutes - Realtek RTL8822BE

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Blanarul

Wifi not working after a few minutes - Realtek RTL8822BE

Post by Blanarul »

Hi guys,
I'm having troubles with my wifi connection. When I restart my laptop wifi sometimes doesn't work. After a few restarts it works for a few minutes, then drops dead. I managed to get some info when it works and when it doesn't trough terminal. Dunno what to do anymore, I've searched alot on the internet. Installed the drivers from https://github.com/lwfinger/rtw88/blob/master/README.md
This happened on a version some time ago, then switched to ubuntu. Updated ubuntu, then same problem and tried Mint again. Version 19.3 worked beautifuly, but after the update to Mint 20 back to the same problems again. I really like Mint and am hoping to solve this with your help.

So here is the data when it works:

Code: Select all

blanarul@blanarul-Lenovo-Legion-Y530-15ICH-1060:~$ inxi -Fxz
System:    Kernel: 5.4.0-40-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.6 
           Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: LENOVO product: 81LB v: Lenovo Legion Y530-15ICH-1060 serial: <filter> 
           Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <filter> UEFI [Legacy]: LENOVO v: 9VCN15WW date: 11/08/2018 
Battery:   ID-1: BAT0 charge: 46.0 Wh condition: 48.4/57.0 Wh (85%) model: SMP L17M3PG2 status: Unknown 
CPU:       Topology: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 9216 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 52799 
           Speed: 1061 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 4028 2: 3953 3: 4062 4: 4003 5: 3915 6: 3940 7: 4045 
           8: 4027 9: 4048 10: 3986 11: 3934 12: 4025 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.0.8 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k5.4.0-40-generic 
Network:   Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter vendor: Lenovo ThinkPad E595 driver: rtw_8822be v: kernel 
           port: 4000 bus ID: 07:00.0 
           IF: wlp7s0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3000 
           bus ID: 08:00.0 
           IF: enp8s0 state: down mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 9.88 GiB (2.1%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN720 SDAPNTW-512G-1101 size: 476.94 GiB 
Partition: ID-1: / size: 467.96 GiB used: 9.88 GiB (2.1%) fs: ext4 dev: /dev/nvme0n1p5 
Sensors:   System Temperatures: cpu: 59.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 328 Uptime: N/A Memory: 7.65 GiB used: 827.4 MiB (10.6%) Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 
           Shell: bash v: 5.0.16 inxi: 3.0.38 
blanarul@blanarul-Lenovo-Legion-Y530-15ICH-1060:~$ lsmod | grep rtw
rtw_8822be             16384  0
rtw_8822b             225280  1 rtw_8822be
rtw_pci                24576  1 rtw_8822be
rtw_core              163840  2 rtw_8822b,rtw_pci
mac80211              843776  2 rtw_core,rtw_pci
cfg80211              704512  2 rtw_core,mac80211
blanarul@blanarul-Lenovo-Legion-Y530-15ICH-1060:~$ sudo lshw -class network
[sudo] password for blanarul:            
  *-network                 
       description: Wireless interface
       product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: wlp7s0
       version: 00
       serial: 48:5f:99:b2:9b:59
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtw_8822be driverversion=5.4.0-40-generic firmware=N/A ip=192.168.0.223 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:144 ioport:4000(size=256) memory:a4300000-a430ffff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: enp8s0
       version: 15
       serial: e8:6a:64:d4:e0:88
       capacity: 1Gbit/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 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII
       resources: irq:17 ioport:3000(size=256) memory:a4204000-a4204fff memory:a4200000-a4203fff

blanarul@blanarul-Lenovo-Legion-Y530-15ICH-1060:~$ modinfo rtw_8822be
filename:       /lib/modules/5.4.0-40-generic/kernel/drivers/net/wireless/realtek/rtw88/rtw_8822be.ko
license:        Dual BSD/GPL
description:    Realtek 802.11ac wireless 8822be driver
author:         Realtek Corporation
srcversion:     BB112F9D3F90D598FC1268F
alias:          pci:v000010ECd0000B822sv*sd*bc*sc*i*
depends:        rtw_pci,rtw_8822b
retpoline:      Y
name:           rtw_8822be
vermagic:       5.4.0-40-generic SMP mod_unload 
And here is the data when it drops dead

Code: Select all

blanarul@blanarul-Lenovo-Legion-Y530-15ICH-1060:~$ inxi -Fxz
System:
  Kernel: 5.4.0-40-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.6.6 Distro: Linux Mint 20 Ulyana 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: LENOVO product: 81LB v: Lenovo Legion Y530-15ICH-1060 
  serial: <filter> 
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <filter> 
  UEFI [Legacy]: LENOVO v: 9VCN15WW date: 11/08/2018 
Battery:
  ID-1: BAT0 charge: 39.7 Wh condition: 48.4/57.0 Wh (85%) 
  model: SMP L17M3PG2 status: Discharging 
CPU:
  Topology: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCP 
  arch: Kaby Lake rev: A L2 cache: 9216 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 52799 
  Speed: 800 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 
Graphics:
  Device-1: Intel UHD Graphics 630 vendor: Lenovo driver: i915 v: kernel 
  bus ID: 00:02.0 
  Device-2: NVIDIA GP106M [GeForce GTX 1060 Mobile] vendor: Lenovo 
  driver: nvidia v: 440.100 bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia 
  unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.0.8 
  direct render: Yes 
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus ID: 00:1f.3 
  Sound Server: ALSA v: k5.4.0-40-generic 
Network:
  Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter 
  driver: rtw_8822be v: kernel port: 5000 bus ID: 07:00.0 
  IF: wlp7s0 state: down mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Lenovo driver: r8169 v: kernel port: 3000 bus ID: 08:00.0 
  IF: enp8s0 state: down mac: <filter> 
  IF-ID-1: usb0 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 42.94 GiB (9.0%) 
  ID-1: /dev/nvme0n1 vendor: Western Digital 
  model: PC SN720 SDAPNTW-512G-1101 size: 476.94 GiB 
Partition:
  ID-1: / size: 467.96 GiB used: 42.94 GiB (9.2%) fs: ext4 
  dev: /dev/nvme0n1p5 
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 288 Uptime: 12m Memory: 7.65 GiB used: 1.86 GiB (24.3%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.16 
  inxi: 3.0.38 
blanarul@blanarul-Lenovo-Legion-Y530-15ICH-1060:~$ lsmod | grep rtw
rtw_8822be             16384  0
rtw_8822b             225280  1 rtw_8822be
rtw_pci                24576  1 rtw_8822be
rtw_core              163840  2 rtw_8822b,rtw_pci
mac80211              843776  2 rtw_core,rtw_pci
cfg80211              704512  2 rtw_core,mac80211
blanarul@blanarul-Lenovo-Legion-Y530-15ICH-1060:~$ sudo lshw -class network
[sudo] password for blanarul:            
  *-network                 
       description: Wireless interface
       product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: wlp7s0
       version: 00
       serial: 48:5f:99:b2:9b:59
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtw_8822be driverversion=5.4.0-40-generic firmware=N/A ip=192.168.0.223 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:144 ioport:4000(size=256) memory:a4300000-a430ffff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: enp8s0
       version: 15
       serial: e8:6a:64:d4:e0:88
       capacity: 1Gbit/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 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII
       resources: irq:17 ioport:3000(size=256) memory:a4204000-a4204fff memory:a4200000-a4203fff

blanarul@blanarul-Lenovo-Legion-Y530-15ICH-1060:~$ modinfo rtw_8822be
filename:       /lib/modules/5.4.0-40-generic/kernel/drivers/net/wireless/realtek/rtw88/rtw_8822be.ko
license:        Dual BSD/GPL
description:    Realtek 802.11ac wireless 8822be driver
author:         Realtek Corporation
srcversion:     BB112F9D3F90D598FC1268F
alias:          pci:v000010ECd0000B822sv*sd*bc*sc*i*
depends:        rtw_pci,rtw_8822b
retpoline:      Y
name:           rtw_8822be
vermagic:       5.4.0-40-generic SMP mod_unload 
This doesn't change:

Code: Select all

blanarul@blanarul-Lenovo-Legion-Y530-15ICH-1060:~$ rfkill list
0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: yes
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
I see that the network port is different when it works shows 4000 and when it doesn't shows 6040.
Hopefuly we can do this...
Thank you guys!
*corrected the output when doesn't work as the state and port differed.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
naufals

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by naufals »

I saw on that post, he says this:
This code will build on any kernel 4.19 and newer as long as the distro has not modified any of the kernel APIs. IF YOU RUN UBUNTU, YOU CAN BE ASSURED THAT THE APIs HAVE CHANGED. NO, I WILL NOT MODIFY THE SOURCE FOR YOU. YOU ARE ON YOUR OWN!!!!!

This repository includes drivers for the following cards:

RTL8822BE, RTL8822CE, RTL8821CE, and RTL8723DE

If you are looking for a driver for chips such as RTL8188EE, RTL8192CE, RTL8192CU, RTL8192DE, RTL8192EE, RTL8192SE, RTL8723AE, RTL8723BE, or RTL8821AE, these should be provided by your kernel. If not, then you should go to the Backports Project (https://backports.wiki.kernel.org/index.php/Main_Page) to obtain the necessary code.
Maybe you should check again, because previously I had the same problem. I am using RTL8723BE and follow rtw88 instructions, and none have worked. Then, I follow another instructions from driver RTL8723AU_BT and have worked for me.

Hope this helps.
sleeper12
Level 21
Level 21
Posts: 14604
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by sleeper12 »

Maybe you need the rtw88 driver, see &7 here:
https://easylinuxtipsproject.blogspot.c ... k.html#ID7
Blanarul

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by Blanarul »

sleeper12 wrote: Fri Jul 10, 2020 12:46 pm Maybe you need the rtw88 driver, see &7 here:
https://easylinuxtipsproject.blogspot.c ... k.html#ID7
I already installed that as I said
Anyway I installed it again and same problem persists, wifi for a few minutes and then "state down" and doesn't work any more.
sleeper12
Level 21
Level 21
Posts: 14604
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by sleeper12 »

Does this do anything:

Code: Select all

 sudo modprobe -r rtw_8822be 

Code: Select all

 sudo modprobe rtw_8822be 
Reboot
Alexandru

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by Alexandru »

Salut, Blanaru!

I own a Legion y530 and I have stumbled upon this bug about three weeks ago. I found this thread https://bugs.launchpad.net/ubuntu/+sour ... ug/1877422 but didn't have the time to try it. If it works for you, please tell us.

Good luck there!
sleeper12
Level 21
Level 21
Posts: 14604
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by sleeper12 »

You might need to disable power management or IPv6, # 2.1 & 2.2 here:
https://easylinuxtipsproject.blogspot.c ... t.html#ID2
Blanarul

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by Blanarul »

sleeper12 wrote: Fri Jul 10, 2020 3:08 pm You might need to disable power management or IPv6, # 2.1 & 2.2 here:
https://easylinuxtipsproject.blogspot.c ... t.html#ID2
Tried it, still after restart wifi works for a few minutes or doesn't at all.
Power management is on. Tried many times until it showed off, but after restart still shows on.
When I modify the value shows
** (xed:2025): WARNING **: 00:06:04.317: The specified location is not mounted
I can mount it, and then modify, dunno if this is usefull.
Disabled IPv6 - no effect. I don't have an old router anyway.

Tried the modprobe commands with -r first and then without. Still after restart it works or it doesn't.

Thank you for your ideas. Still pressing on.
Blanarul

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by Blanarul »

Alexandru wrote: Fri Jul 10, 2020 2:46 pm Salut, Blanaru!

I own a Legion y530 and I have stumbled upon this bug about three weeks ago. I found this thread https://bugs.launchpad.net/ubuntu/+sour ... ug/1877422 but didn't have the time to try it. If it works for you, please tell us.

Good luck there!
Doesn't work for me.
Blanarul

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by Blanarul »

I also get these differences after a restart when working vs not working:

When not working:

Code: Select all

*-generic DISABLED        
       description: Wireless interface
       product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: wlp7s0
       version: ff
       serial: 48:5f:99:b2:9b:59
       width: 32 bits
       clock: 66MHz
       capabilities: bus_master vga_palette cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtw_8822be driverversion=5.4.0-40-generic firmware=N/A latency=255 link=no maxlatency=255 mingnt=255 multicast=yes wireless=IEEE 802.11
       resources: irq:144 ioport:4000(size=256) memory:a4300000-a430ffff
When working

Code: Select all

blanarul@blanarul-Lenovo-Legion-Y530-15ICH-1060:~$ sudo lshw -C network
[sudo] password for blanarul:            
  *-network                 
       description: Wireless interface
       product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: wlp7s0
       version: 00
       serial: 48:5f:99:b2:9b:59
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtw_8822be driverversion=5.4.0-40-generic firmware=N/A ip=192.168.0.223 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:144 ioport:4000(size=256) memory:a4300000-a430ffff
Dunno how this can happen.
Don't know to read if there are conflicts here:

Code: Select all

blanarul@blanarul-Lenovo-Legion-Y530-15ICH-1060:~$ lsmod | grep rtw
rtw_8822be             16384  0
rtw_8822b             225280  1 rtw_8822be
rtw_pci                24576  1 rtw_8822be
rtw_core              163840  2 rtw_8822b,rtw_pci
mac80211              843776  2 rtw_core,rtw_pci
cfg80211              704512  2 rtw_core,mac80211
Blanarul

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by Blanarul »

Installed https://github.com/tomaspinho/rtl8821ce but didn't manage to get that driver rolling because I didn't know exactly how.

Anyway with the rtw_8822be back from github and

Code: Select all

sudo modprobe -r ideapad_laptop
managed to stay connected when wifi driver loads and works.

But still it can't work in the long run because sometimes wifi drivers loads at startup and many times not. So I have to restart a few times until it works.
sleeper12
Level 21
Level 21
Posts: 14604
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by sleeper12 »

See if this will turn power management off & keep it off:

Code: Select all

 sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf 
Reboot
Blanarul

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by Blanarul »

Here are the new findings:
The problem seems to remain that on startup sometimes Wi-Fi drivers rtw_8822be don't load, and I restart a few times until they load.

Installing rtl8821ce-dkms drivers from the ppa seems to made the Wi-Fi stable once it's connected.
Modprobe commands don't seem to have any effect on loading or unloading Wi-Fi drivers.
Installed back Mint 19.3 hoping that I can make it back from where I've started, when Wi-Fi was working beautiful. Seems that the kernel is updated there as well and the same problem persisted. So I'm back to Mint 20 if I still can't escape this problem.
Disabling ipv6 made my Wi-Fi to not work at all.
Don't think it's a power problem. Anyway tried the solutions with the power management and after a restart power save is still on.

Cheers!
sleeper12
Level 21
Level 21
Posts: 14604
Joined: Thu May 25, 2017 3:22 pm

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by sleeper12 »

This should keep power management off until you reboot:

Code: Select all

 sudo iwconfig wlan0 power off 
I'm not sure how to keep it off permanently, but at least you can test if it helps the wifi problem or not.
los

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by los »

I found this in another forum:

I reinstalled the network manager with this line:

Code: Select all

sudo apt-get install -d --reinstall network-manager network-manager-gnome
then in Terminal

1 - cd /etc/network/
2 - open the file "interfaces" with su privileges with a text editor.
2a - I commented out what was there with # and then added what you see at 3 below
3 - type the following:
auto eth0
iface eth0 inet dhcp
4 - reboot the system

I was able to disconnect from my network WIFI and reconnect hope this helps,
running Lenovo Ideapad 530S with rtl8822be
Blanarul

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by Blanarul »

los wrote: Sat Jul 18, 2020 7:16 pm I found this in another forum:

I reinstalled the network manager with this line:

Code: Select all

sudo apt-get install -d --reinstall network-manager network-manager-gnome
then in Terminal

1 - cd /etc/network/
2 - open the file "interfaces" with su privileges with a text editor.
2a - I commented out what was there with # and then added what you see at 3 below
3 - type the following:
auto eth0
iface eth0 inet dhcp
4 - reboot the system

I was able to disconnect from my network WIFI and reconnect hope this helps,
running Lenovo Ideapad 530S with rtl8822be
Tried it, but didn't work.
It's not the power management, because it's startup driver loading problem now.
Anyway, seems to work 7 times out of 10 when power on. That a good percentage that I can work with.
los

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by los »

yes your right, I still get errors more so at work than at home for some reason when trying to get connected to the WIFI
Blanarul

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by Blanarul »

I finally solved the riddle!

So I installed Mint 19.3 without an internet connection because that worked marvellously. After the install, I've updated all except the kernel updates. To do that I've found them, right click and selected "Ignore update and future updates".

I saw that the system functions on Kernel 5.0 through "system info". Then that I could update to which version I want through Update Manager -> View -> Linux Kernels. So I've updated it to 5.3 the version before the problems stared when version 5.4 appeared. Now everything works beautiful.

Furthermore, if by mistake you updated to the wrong Kernel, on system start-up you can press and hold shift and through advanced options you can select to boot with an older kernel, then you can uninstall the one that doesn't work for you like I've said earlier through Update Manager. So practically, I could install Mint 20 and work through kernel 5.3 so everything works fine with my Lenovo Legion Y530. But I am very happy to stay on the current version anyway.

Glad I've figured it out. :D

Cheers and thank you all for your help anyway, it gave me moral support and hope to not give up!
los

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by los »

Will try it.
sanchos

Re: Wifi not working after a few minutes - Realtek RTL8822BE

Post by sanchos »

I thought I would post my results using the multiple suggestions given in this thread. Only one suggestion by itself did not help my HP at all. However I used the driver at this link https://easylinuxtipsproject.blogspot.c ... k.html#ID7 and then I also looked at instructions to see if power management was being applied and it was. So from what I found there is a file > > etc/NetworkManager/conf.d/default-wifi-powersave-on.conf which has a setting called with a value of "wifi.powersave = 3". So I changed the value from 3 to "2", saved the file and reboot.
After reboot I opened terminal and checked power management for the wifi chipset using command "iwconfig". Found it was now off.

Since doing Both of these suggestions I have not any further problems with my wifi. I'm using new install of LM cinnamon 20 with default Kernal dual boot with Windows. This may not help anyone else but I thought I would share what worked for me. Be sure to notice I did not reinstall the power management, only changed a setting The driver however I did install as direct at the link provided. Good luck to all, I know a problem like this can be stubborn. I'm thankful to have mine working steady.
Locked

Return to “Networking”