I’m losing my network connection each time I suspend the computer to memory on openSUSE 12.2, Gnome 3.4. Checking ‘/var/log/messages’, there’s a very interesting line, but I don’t know what’s triggering it.
Why would ifdown be called on suspend? I don’t know what pid 21233 is. It isn’t listed by ps after starting up again. I patched the system yesterday, but this began two days ago so I don’t think the problem is an update.
Shutting down an interface makes sense when suspending since when you
resume is not known; will your IP address lease via DHCP still be valid?
Will you even be on the same network? In the same country? Stopping
the network makes sense because when you resume it’ll start again and
get things setup properly.
Which program had that PID? Find out; dump the ‘ps’ output to a file
and then suspend and compare with your output to see what it was.
Wildly guessing maybe a DHCP client utility or something.
Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
On 2012-12-03 04:15, ab wrote:
> Shutting down an interface makes sense when suspending since when
> you resume is not known; will your IP address lease via DHCP still
> be valid? Will you even be on the same network? In the same
> country? Stopping the network makes sense because when you resume
> it’ll start again and get things setup properly.
Very true.
However, with the advent of systemd, things are changing. Instead of
pm-utils, systemd wants to take it over. Previously it was pm-utils
and the scripts in “/etc/pm/” and “/usr/lib/pm-utils” which took care
of what ever needed to be stopped/restarted on hibernation. Now, in
12.2 I don’t know how is it handled…
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
You’re right. That does make sense, but there’s no call to the daemon or ifup on restart. No, there are no changes in the ip address. I can’t even ping on my LAN.