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
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
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
Hopefuly we can do this...
Thank you guys!
*corrected the output when doesn't work as the state and port differed.