View previous topic :: View next topic |
Author |
Message |
gabrielg Tux's lil' helper
Joined: 16 Nov 2012 Posts: 137
|
Posted: Sat Aug 29, 2020 5:06 pm Post subject: |
|
|
Hi!
Some advice sought on this matter: I am using iwd (with its native DHCP client) and dhcpcd for ethernet networking management. It all works well, and much better than my last set up (wpa_supplicant, netifrc, ifplugd).
However, link detection stops working under a specific scenario: if my system is plugged in on ethernet, I suspend to disk, unplug and then resume the system, dhcpcd does not detect that the ethernet link disappeared and thus the routes stay and networking doesn't work until I do a rebind or plain dhcpcd restart. Wireless works, but with ethernet routes, it doesn't get me anywhere.
Is there any config setting I may be missing? If not, what is the best way to execute a dhcpcd --rebind after resuming my system, since I don't see any hooks for s2disk/resume?
Thanks! |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22730
|
Posted: Sat Aug 29, 2020 5:22 pm Post subject: |
|
|
How are you triggering the suspend-to-disk? My first suggestion would be to use the wrapper script /usr/bin/hibernate (from sys-power/hibernate-script) to initiate the suspend. It can be configured to use in-kernel hibernate, s2disk hibernate, or tuxonice hibernate. The configuration file can also specify shell snippets to run on suspend or resume, which you could use to explicitly execute the rebind operation. |
|
Back to top |
|
|
gabrielg Tux's lil' helper
Joined: 16 Nov 2012 Posts: 137
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|