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 |