[ltp] Question on ifplugd and ACPI suspend

Andrey Kislyuk linux-thinkpad@linux-thinkpad.org
Thu, 29 Sep 2005 15:21:06 -0400


If you're on gentoo, there's a new service coming out for the new 
baselayout (1.12) called netplug, which replaces ifplugd functionality 
in a much more lightweight package. It does all I want it to do with 
zero configuration and I'm happy since now I don't have to deal with 
ifplugd bugs.

ACCEPT_KEYWORDS="~x86" emerge -avt baselayout netplug

I'm not sure if or when this will make it to other distributions.

-ak

> On 28/09, Bob Alexander wrote:
> 
>>I like ifplugd which monitors my eth0 and brings up/down the interface 
>>if its plugged/unplugged.
>>
>>There is one case which is not working though.
>>
>>1) Interface is up and running at home with address A
>>2) I suspend
>>3) Plug into my office LAN
>>4) Address remains A
>>
>>At this point if I manually unplug the cable and then plug back in 
>>ifplugd correctly intervenes and assigns address B to eth0.
>>
>>Can I force ifplugd to check things after a suspend (using swsusp2).
>>