[ltp] Question on ifplugd and ACPI suspend

Jan Girlich linux-thinkpad@linux-thinkpad.org
Wed, 28 Sep 2005 11:26:12 +0200


This is a cryptographically signed message in MIME format.

--------------ms090106010908090806040104
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Bob Alexander schrieb:
> I like ifplugd which monitors my eth0 and brings up/down the interface =

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

Sure, the easiest would be restarting ifplugd in your suspend-script=20
right after waking up. But you might find a more elegant way to let=20
ifplugd recognize the new LAN when studying man ifplugd.

HTH
Jan

--=20
Diese Mail ist gem=E4=DF dem Standard X.509 signiert. Bei Problemen bitte=
=20
dieses Stammzertifikat installieren:
http://www.trustcenter.de/certservices/cacerts/tcclass1-2011.der

--------------ms090106010908090806040104
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIHqjCC
A9EwggM6oAMCAQICDXQAAQACA/dl0H2IVHUwDQYJKoZIhvcNAQEEBQAwgbwxCzAJBgNVBAYT
AkRFMRAwDgYDVQQIEwdIYW1idXJnMRAwDgYDVQQHEwdIYW1idXJnMTowOAYDVQQKEzFUQyBU
cnVzdENlbnRlciBmb3IgU2VjdXJpdHkgaW4gRGF0YSBOZXR3b3JrcyBHbWJIMSIwIAYDVQQL
ExlUQyBUcnVzdENlbnRlciBDbGFzcyAxIENBMSkwJwYJKoZIhvcNAQkBFhpjZXJ0aWZpY2F0
ZUB0cnVzdGNlbnRlci5kZTAeFw0wNT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