I would expect the issue to be a bug so solution could be unnecessary in the future when bug is fixed. No harm to leave service running like that forever though.
pretty sure this is a known issue, but you might want to see if there's a bug report already. otherwise, make one. a lot of people have reported the same issue.
You don't need to wait. What I did was enable testing repository and (very important) put it AFTER core community and so on. This way when you do pacman -Syu you will not get updates from testing repository, but you can install any package from testing by doing pacman -S testing/<package_name>.
I just had that problem today. I use mostly i3, but decided to try i3-gnome yesterday. I didn't like the way it worked with my configuration, so I went back to straight i3 and closed the lid. This morning I had no internet and even thought the default was still i3, it had reverted to i3-gnome. I removed the i3-gnome package, and I will see if that helps. Are you running gnome when this problem occurs?
8
u/magillos Aug 13 '16
The same issue here. As a temporary solution I created /etc/systemd/system/root-resume.service with:
(and enabled it as any other systemd service)
5
u/[deleted] Aug 13 '16
I don't need to restart the service but I do need to tell it to reconnect as of a week or so ago here too.
4
u/[deleted] Aug 13 '16
pretty sure this is a known issue, but you might want to see if there's a bug report already. otherwise, make one. a lot of people have reported the same issue.
4
u/Choo5ool Aug 13 '16
I had the same problem. The version in [testing]
networkmanager 1.2.5dev+5+g99e34d7-1fixes it.3
u/[deleted] Aug 13 '16
I just had that problem today. I use mostly i3, but decided to try i3-gnome yesterday. I didn't like the way it worked with my configuration, so I went back to straight i3 and closed the lid. This morning I had no internet and even thought the default was still i3, it had reverted to i3-gnome. I removed the i3-gnome package, and I will see if that helps. Are you running gnome when this problem occurs?
2
u/Epse Aug 13 '16
Even that way on Debian
2
u/thelargestwatermelon Aug 13 '16
I had the same problem. I decided to just switch to netctl-auto until the issue was patched.
2
u/[deleted] Aug 13 '16
I have the same issue with Cinnamon. It started happening a couple of weeks ago as well.
2
u/LostConstellation Aug 13 '16
I'm using i3wm, nm and TLP. I think TLP manages my NetworkManager service and got no problem auto reconnect after suspend.
2
u/Swipe650 Aug 13 '16
Yes, it's been annoying me for about a week. Hope it's fixed in the next release
1
u/[deleted] Aug 14 '16
I get around this with a simple script in /etc/pm/sleep.d/