You are not logged in.

#1 2025-10-13 15:10:21

Kirbo4u
Member
Registered: 2025-08-01
Posts: 5

[Resolved] Wifi disconnects after each shutdown or sleep

I recently updated al the packages on my laptop and ever since, each time it goes into a sleep or shutdown state, It asks me to reenter the password for the network, it's always the last network that I was connected to that pops up, I tried all GUI methods of fixing things, and a simple restart didn't work, updating everything a second time also didn't work  and a     sudo systemctl restart iwd    didn't work either, what do I do now?

Additional maybe useful info: I run a Thinkpad T490 with KDE plasma 6.4.5

Last edited by Kirbo4u (2025-10-13 21:28:57)

Offline

#2 2025-10-13 15:16:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,084

Re: [Resolved] Wifi disconnects after each shutdown or sleep

How are you configuring your network? You mention GUI tools, but then also mention IWD, you're going to have to tell us how you're actually set up.

Offline

#3 2025-10-13 15:44:22

Kirbo4u
Member
Registered: 2025-08-01
Posts: 5

Re: [Resolved] Wifi disconnects after each shutdown or sleep

Well IWD is the network backend that GUI tools use, no?
I mostly use the GUI network tool to manage my networks (it's the one that comes with KDE I think it's network manager, but im not sure, I used archinstall for this install)
But when the GUI tool doesn't work, I go strait to IWCTL end it usually fixes the problem, but even IWD doesn't work now.

Offline

#4 2025-10-13 15:50:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,084

Re: [Resolved] Wifi disconnects after each shutdown or sleep

No, most GUI tools, including the one that comes with Plasma, interface with NetworkManager. NM then uses wpa_supplicant (by default). Even if you've changed NM to use IWD, you would never use iwctl, you would only use NM's tools. It sounds like you have conflicting network management tools enabled, what does `tree /etc/systemd/system/` show?

Edit: after seeing https://bbs.archlinux.org/viewtopic.php?id=307333, I'm sure of it. Using automated tools you don't understand tends to come back to bite you in Arch.

Last edited by Scimmia (2025-10-13 17:00:54)

Offline

#5 2025-10-13 17:57:13

Kirbo4u
Member
Registered: 2025-08-01
Posts: 5

Re: [Resolved] Wifi disconnects after each shutdown or sleep

It shows this:

/etc/systemd/system/
├── bluetooth.target.wants
│   └── bluetooth.service -> /usr/lib/systemd/system/bluetooth.service
├── dbus-org.bluez.service -> /usr/lib/systemd/system/bluetooth.service
├── dbus-org.freedesktop.nm-dispatcher.service -> /usr/lib/systemd/system/NetworkManager-dispatcher.service
├── dbus-org.freedesktop.timesync1.service -> /usr/lib/systemd/system/systemd-timesyncd.service
├── display-manager.service -> /usr/lib/systemd/system/ly.service
├── getty.target.wants
│   └── getty@tty1.service -> /usr/lib/systemd/system/getty@.service
├── multi-user.target.wants
│   ├── NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service
│   └── remote-fs.target -> /usr/lib/systemd/system/remote-fs.target
├── network-online.target.wants
│   └── NetworkManager-wait-online.service -> /usr/lib/systemd/system/NetworkManager-wait-online.service
├── sockets.target.wants
│   └── systemd-userdbd.socket -> /usr/lib/systemd/system/systemd-userdbd.socket
├── sysinit.target.wants
│   └── systemd-timesyncd.service -> /usr/lib/systemd/system/systemd-timesyncd.service
└── timers.target.wants
    └── fstrim.timer -> /usr/lib/systemd/system/fstrim.timer

8 directories, 12 files

I don't think it's the usage of multiple, maybe conflicting, tools that is the problem, at least from what I understand of this tree...

Offline

#6 2025-10-13 19:41:06

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,230

Re: [Resolved] Wifi disconnects after each shutdown or sleep

each time it goes into a sleep or shutdown state, It asks me to reenter the password for the network

You mean *before* you sleep or shutdown? Or after the system wakes up?
Why is the connection not stored? Do you usually have to enter the network key when connecting to that AP?
Cause this (suspend and wake the system) and then please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#7 2025-10-13 21:09:21

Kirbo4u
Member
Registered: 2025-08-01
Posts: 5

Re: [Resolved] Wifi disconnects after each shutdown or sleep

So the issue is fixed now, but idk how it got fixed.

Basically, my laptop shutdown cause the battery was dead, it's now recharging, and the issue is fixed.
I'm kinda confused, but on the bright side it works now!

Thanks anyway for the help.

Do you still want the journal? I can still send it.

Offline

#8 2025-10-13 21:14:43

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,230

Re: [Resolved] Wifi disconnects after each shutdown or sleep

If you're curious what *might* have been the cause (but you'd have to post an older boot, "…-b -2…" or so)

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB