#[SOLVED] My laptop fails to reconnect to my wifi networks after waking from suspend

1 messages · Page 1 of 1 (latest)

placid sage
#

Recently my ThinkPad has stopped reconnecting to my WiFi after waking up from being suspended. I can see that it tries to reconnect to them but ultimately doesn't and I am disconnected. I am using iwd and not wpa_supplicant

foggy heart
#

Do you have network manager? I had same issue with iwd on my server recently until I also connected with nmcli

#

.aw networkmanager

lofty plankBOT
foggy heart
#

Of course my "server" doesn't suspend lol, it's just a laptop that runs scripts and nfs

foggy heart
#

You should connect your SSID with iwd and nmcli and the issue should go away

placid sage
#

I mean my laptop automatically connects to a network on boot

foggy heart
#

Yeah mine kept disconnecting during SSH or closing lid and opening

#

And wouldn't connect again til I connected with nmcli

placid sage
#

Well that doesn't solve my problem then

foggy heart
#

Now it's always online

placid sage
#

Because I'd have to connect using nmcli after boot everytime

foggy heart
#

No you just do it once

#

Then network manager knows to connect to it

placid sage
#

Alright

foggy heart
#

Network manager is just for remembering connections

placid sage
#

did it, suspended, doesnt reconnect

foggy heart
#

strange

#

what does sudo rfkill list show

#

before and after suspend

placid sage
#

unblocked

placid sage
foggy heart
#

I'm wondering if it still even lists phy0 after suspend in the rfkill list

placid sage
#

It does

#

Before and after

foggy heart
#

do you have hw-probe?

#

if so or can get it, mind sending me a probe? might help figure this out

#

if not, maybe output of lspci

#

80 mhz is for 5G internet

#

so I'm thinking it's trying to connect to 5g after suspend and can't

#

either a device or driver issue

placid sage
foggy heart
#

it's your wifi chip firmware

#

hw-probe would help a lot, you can get it from the AUR

#

lots of similar issues in the bbs forum

placid sage
#

how would i use hw-probe when installed

foggy heart
#

sudo hw-proble -all -upload

#

and it will give you a url in the terminal you can share here

placid sage
#

alright

foggy heart
#

you'll need to be connected to internet when you run it

placid sage
foggy heart
#

hmm it was working fine from kernel 5.7 to 5.12

#

which kernel do you have atm

placid sage
#

5.19.1-zen1-1-zen

#

Linux Zen

foggy heart
#

have you tried with the linux kernel?

placid sage
#

No, but I would rather keep using the Zen kernel. I've used it for over a year without issue

#

Using the linux kernel is just a workaround

foggy heart
#

yeah we just need the driver that linux kernel uses

#

btw what thinkpad version do you ahve

placid sage
#

It's listed in the HW probe lol

#

L14 gen 1

foggy heart
#

oh yeah lol

#

sorry not looking at it atm ;;

placid sage
#

yeah it still happens with the linux kernel

foggy heart
#

you can try options iwlwifi power_save=0 in a file called /etc/modprobe.d/iwlwifi.conf

#

this will disable the powersave on your wifi card

#

you might have to make the file

#

and probably have to reboot to test

#

or even options iwlmvm power_scheme=1 might work for you

placid sage
#

the first option doesnt work

#

the problem isnt that wifi networks dont reappear on suspend, they do. but they dont get automatically connected to and i have to do it myself

#

so on suspend i get this when i wake

#

if i connect manually afterwards i get this

placid sage
foggy heart
#

so the relavent issue is reason 3, and the iwlwifi error

placid sage
#

ill try downgrading my linux zen kernel

foggy heart
#

kk

#

also cause 3 on arch wiki, it could be a hardware issue

#

with thinkpad specifically

#

do you live by a weather station by chance? lol that's also a known issue 🤣

placid sage
#

i dont lol

#

fuck if i use an older kernel version it works again

#

so it stops working properly on a new kernel

#

lemme do smth one sec

#

@foggy heart ok so kernel 5.19 breaks it

foggy heart
#

ah yeah you should just rollback

placid sage
#

it works fine on
[matt: ~] uname -r 5.18.16-zen1-1-zen

foggy heart
#

and report the bug

#

Torvaldz is relasing 6.0 kernel soon

placid sage
#

i could also use lts kernel

foggy heart
#

in October

placid sage
foggy heart
#

just rollback zen kernel imo

placid sage
#

I just hate adding things to IgnorePkg because everytime i update I see it kek

foggy heart
#

yeah lol

placid sage
#

it just bugs me

#

they might fix it themselves who knows, i'll try again on the newest in a few weeks

#

where do i report

placid sage
#

thanks

foggy heart
#

np

#

good luck man

placid sage
#

seeing this is so annoying dogekek

#

i could use sed to remove the lines but that's just being autistic ngl

foggy heart
#

well then you might forget to ever upgrade kernel lmao

#

you could also try a modified driver from the aur

placid sage
#

i mean thats not the worst thing lol

foggy heart
#

for your wifi chip

#

like I use one for my realtek card

placid sage
#

bro im just gonna hope they fix this shit themselves reporting a kernel bug is way too much effort 💀

foggy heart
#

lmao yeah

#

maybe 6.0 will fix it

#

it's the next kernel upgrade

placid sage
#

fancy

#

also likely they might not fix it

#

i can only pray

foggy heart
#

they are adding a lot of driver fixes I know

#

especially for amd gpus

placid sage
#

if it doesnt get fixed in like 2 months ill switch to LTS kernel because my zen kernel will become too outdated lol

#

wait that wouldnt fix it actually

#

because lts will eventually reach the broken kernel version

#

damn 😭
Praying our father Torvalds will fix it

foggy heart
#

if it works on LTS, the LTS just got bumped so it won't update for a while

#

except for security issues

placid sage
#

one day it will reach 5.19 though

#

probably several weeks/months away but yeah

#

i'll just wait until october, if it's not fixed ill consider reporting (still way too much effort)

#

actually i never tried 5.19, it's broken on 5.19.1 but maybe not just 5.19

foggy heart
#

worth a try, they maybe broke it on the .1 patch

placid sage
#

very unlikely but i'll try it anyways

foggy heart
#

anyway lts should be 5.15 for the rest of the year at least

#

or at least until October when they release 6.0

#

imo use LTS because 5.19.1 maybe is a security patch

placid sage
#

i'll just keep using zen 5.18.16 until october

#

or 5.19 if it works fine

#

slow wifi moment

foggy heart
#

I wouldn't use 5.19, it's a security patch for your intel CPU

#

5.19.1 is

#

and all the latest patches on all the kernels

#

also I noticed in your hw-probe that you don't have the intel-microcode

placid sage
#

i have intel-ucode

foggy heart
#

oh

#

are you updating it in kernel param?

placid sage
placid sage
foggy heart
#

you have it but you're not loading it

placid sage
#

¯_(ツ)_/¯

#

do i need to

foggy heart
#

yeah show me your /boot/grub/grub.cfg

#

or rather put this on the initrd line

#

initrd /boot/intel-ucode.img /boot/initramfs-linux.img

placid sage
#

bruh i am loading it

foggy heart
#

oh

#

well dang, the modprobe doesn't show it lol

#

my bad

#

it shows for me with systemd boot

#

but you're using grub so

placid sage
foggy heart
#

ok you're good

#

grub auto detects it ig

placid sage
#

trying 5.19 now

#

5.19 doesnt work

#

so ill stick with 5.18.16 zen until 6.0 releases

#

[SOLVED] My laptop fails to reconnect to my wifi networks after waking from suspend

foggy heart
#

remember to also archive

placid sage
#

not able to