Skip to main content
Topic: Network Manager crashing after closing laptop (runit)  (Read 639 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Network Manager crashing after closing laptop (runit)

About one out of ten times I close my laptop, when I open it back up, no wireless networking is available. Instead of showing the networks around me, I just see "No Networks Available."

This is on Artix runit, tested on KDE and Cinnamon.

I tried running sv restart NetworkManager and it did nothing.

Re: Network Manager crashing after closing laptop (runit)

Reply #1
I am having this same issue whenever my laptop returns from sleep or hibernation. I'm running Runnit Artix Wayland KDE and Xserver KDE. Only reboot restores networking. Does anyone know of any other solutions?

Re: Network Manager crashing after closing laptop (runit)

Reply #2
Did this happen after a recent upgrade? I am on openrc kde, and for me it started after an upgrade a day or so ago. I don't think the original poster had the same bug, if it occured after a recent upgrade. Also on openrc rc-service restart solves it, until next sleep

Re: Network Manager crashing after closing laptop (runit)

Reply #3
Correct, like many Arch issues, this bug was squashed after waiting for a while. For the past year or so I didn't have any issues with this.

However, after upgrading to Wayland, I am having a similar issue. This one is different though. The Networks widget will open, but it won't show any networks...at all, and you can't toggle the on/off switch. The only fix I've found is to reboot. It only happens every once in a while, but still annoying enough to warrant a reply.

Re: Network Manager crashing after closing laptop (runit)

Reply #4
Try to check Networkmanager log when the bug occurs, if it delete an interface, it maybe write it in the logs.

If you don't know how activate runit log for Networkmanager, you should make a new file `/etc/runit/sv/Networkmanager/log/run` add the exec permission to it, and put inside

Code: [Select]
#!/bin/sh
exec 2>&1; set -e

[ -d /var/log/Networkmanager ] || install -dm 755 /var/log/Networkmanager

exec svlogd -tt /var/log/Networkmanager

to do it.