You are not logged in.

#1 2016-02-23 12:06:33

JJK
Member
Registered: 2013-10-24
Posts: 56

Network manager wifi off after suspend

When I put my laptop in suspend and then wake it up again some time later, the wifi is off and I have to manually enable it.

This is a small annoyance that has bothered me for some time now. I have tried several fixes, like creating a service file that restarts network manager after I resume and some other fixes I can not remember correctly. I have all fixes removed now so everything is clean again.

I read that with pm-utils suspend suspending the wifi driver specifically might work. However I use systemctl suspend, will the same fix work here? And if so, how do I do that.

Cheers,

JJK

Offline

#2 2016-02-23 20:49:05

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: Network manager wifi off after suspend

pm-utils has quirks to work around these kind of problems. But how do you "manually enable your wifi"? Why can't you just automated it with a script in /usr/lib/systemd/system-sleep/ ? there is a command line tool nmcli to manipulate network manager. On a old laptop, I have made a script that unload and reload the wifi kernel module to work around similar problems.

Last edited by olive (2016-02-23 21:02:42)

Offline

#3 2016-02-24 12:37:09

halocaridina
Member
From: US
Registered: 2014-07-21
Posts: 77

Re: Network manager wifi off after suspend

@JJK,

If its a Dell model, the problem is likely one of the Dell-specific kernel modules. Details and a blacklisting "fix" can be found in the following thread:

https://bbs.archlinux.org/viewtopic.php?id=203404

Halocaridina

Last edited by halocaridina (2016-02-24 12:38:00)


4X Intel(R) Xeon(R) CPU E7-8870 @ 2.40GHz; 256GiB; 11TB EXT4; SL6.8
2X Intel(R) Xeon(R) CPU E5-2680 @ 2.70GHz; 256GiB; 3.4TB EXT4; SL6.8
Thinkpad X250; Broadwell-ULT Core i5; 8GiB, 525GB Crucial_CT525MX3; Arch
Thinkpad T440S; Haswell-ULT Core i7; 12GiB, 512GB SanDisk X210; Arch

Offline

#4 2016-02-24 17:10:36

JJK
Member
Registered: 2013-10-24
Posts: 56

Re: Network manager wifi off after suspend

Thank you for your reaction guys.

I have now set up a systemd service that runs "nmcli r wifi on" when my computer resumes.
I will post back if this has not fixed the issue.

JJK

ps.

With manually enable, I mean using the tray icon.

Offline

Board footer

Powered by FluxBB