gnuisance Posted March 26, 2015 Report Share Posted March 26, 2015 Each time I resume from hibernation the NetworkManager daemon needs to be restart. Does anyone else have this issue? Link to comment Share on other sites More sharing options...
0 gnuisance Posted March 26, 2015 Author Report Share Posted March 26, 2015 Thank you sputnik! I was able to resolve my issue by modifying the bash script you provide. # cat /etc/pm/sleep.d/77ethernet #!/bin/bash case $1 in resume) /etc/init.d/NetworkManager restart ;; esac Link to comment Share on other sites More sharing options...
0 spectromas Posted March 26, 2015 Report Share Posted March 26, 2015 I have been experiencing something similar actually but the behaviour hasn't been completely consistent for me so far. Link to comment Share on other sites More sharing options...
0 sputnik Posted March 26, 2015 Report Share Posted March 26, 2015 I believe I have that issue too. I rarely use hibernate, so too lazy to fix it. I do know however, I had an issue with sleep and found that the linux ethernet driver didn't like to sleep for me. The manufacturer's driver had other issues, but would sleep. So I would trade them out (I still do this): # cat /etc/pm/sleep.d/77ethernet #!/bin/bash case $1 in suspend) modprobe -r r8169 modprobe r8168 ethtool -s eth0 wol bg ;; resume) modprobe -r r8168 modprobe r8169 ethtool -s eth0 wol bg ;; esac Every new kernel I rebuild the manufacturer driver too. So there's some extra confusion if you decide to go after this. gnuisance 1 Link to comment Share on other sites More sharing options...
0 sputnik Posted March 26, 2015 Report Share Posted March 26, 2015 Oh, thank you too. I'll do that too. I love it when I don't have to think. gnuisance 1 Link to comment Share on other sites More sharing options...
0 spectromas Posted March 27, 2015 Report Share Posted March 27, 2015 So what's the issue, NM needs to be restarted after hibernation? Link to comment Share on other sites More sharing options...
0 gnuisance Posted April 2, 2015 Author Report Share Posted April 2, 2015 The issue was I want to avoid restarting NetworkManager manually after hibernation. After a much closer look I realize my computer was not in hibernation but suspended. The previously posted script allowed for network connectivity without manually restarting NetworkManager, resolving my issue. Link to comment Share on other sites More sharing options...
0 sputnik Posted April 12, 2015 Report Share Posted April 12, 2015 Hmm, kinda late, but I just wanted to point out that I did have the problem in hibernate mode and it's definitely hibernation, powered off. And yeah, the restart in the 77ethernet file does the trick. So I guess that code executes for suspend and hibernation? Hope I'm not misleading people here, it was ages ago I hunted that down. Link to comment Share on other sites More sharing options...
Question
gnuisance
Each time I resume from hibernation the NetworkManager daemon needs to be restart. Does anyone else have this issue?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts