Joined: 17 Jul 2005
Location: Edinburgh, UK
|Posted: Tue Jun 02, 2015 4:45 pm Post subject: [SOLVED]NetworkManager starts wired connection after suspend
This just reached the top of my list: whenever I resume my laptop from sleep, NetworkManager (via plasma-nm) attempts repeatedly to start the default wired connection, even though it's not connected and wasn't before the computer went to sleep.
Hotplugging detection works as expected during normal operation. Here's the connection profile:
|happy ~ # cat /etc/NetworkManager/system-connections/Wired\ connection\ 1
id=Wired connection 1
I see a lot of bugs and problems regarding how NM behaves on resume, but I haven't seen this one mentioned anywhere so perhaps the problem is at a lower level (ifplugd?). Any ideas would be welcome.
Thanks in advance
SOLVED: The issue was lower still, in the r8169 ethernet driver, apparently. I noticed in its kernel documentation it was "recommended" to build it as a module, which does indeed seem to have made a difference (touch wood, 3 resumes and counting). I'm quite surprised and curious that this'd be the case: one would think it would be the other way round. Very odd.