Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ifplugd and netplug annoyance
Date: Wed, 16 Aug 2006 17:39:05
Message-Id: 7573e9640608161034q6fdaa1c2o39d66ef7ca1d4b6f@mail.gmail.com
In Reply to: Re: [gentoo-user] ifplugd and netplug annoyance by Andrew Frink
1 On 8/16/06, Andrew Frink <andrew.frink@×××××.com> wrote:
2 > On 8/16/06, Mike Williams <mike@××××××××.uk> wrote:
3 > > Well, it works, dhcpcd is stopped when the cable is unplugged, and started
4 > > again when it's plugged back in. But the interface is never actually
5 > brought
6 > > down, and that's my problem, I *want* the interface brought *down*.
7
8 In /etc/conf.d/net, make a postdown that does "ifconfig ${IFACE}
9 down". See /etc/conf.d/net.example.
10
11 > > Why? IPv6. If the interface isn't brought up, stateless autoconfiguration
12 > > doesn't work.
13
14 I suspect the reason is that for many adapters (like mine), ifplugd
15 cannot detect the link state if the interface is completely down, so
16 plugging in another cable would have no effect.
17
18 -Richard
19
20 (Apologies for having to respond to Andrew's email instead of
21 Mike's...looks like I am being bit by the 'missing emails' mail list
22 bug.)
23 --
24 gentoo-user@g.o mailing list