Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60504 - Gentoo/ifplugd integration
Summary: Gentoo/ifplugd integration
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-08-15 17:39 UTC by Lasse Kärkkäinen
Modified: 2005-10-11 08:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lasse Kärkkäinen 2004-08-15 17:39:38 UTC
Gentoo should automatically use ifplugd for all interfaces that are configured via DHCP. Static interfaces on the other hand should work like they currently do.

Possible implementation:

When net.* start() detects that the interface is configured to use DHCP, do not attempt to bring it up, but just tell ifplugd to manage it. Similarly, on stop(), tell ifplugd to shut it down and quit monitoring it.

It should probably be configurable on per-interface (or per-alias) basis whether to use ifplugd-DHCP or only-on-boot-manual-DHCP on it. In either case, this configuration should be in iface_*, not in separate ifplugd config. Could be iface_eth0="manual dhcp" to enable this mode and just "dhcp" for ifplugd-managed mode.

Questions:

Is there any reason to use ifplugd for statically configured interfaces too?
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2004-08-18 17:07:53 UTC
This sounds like a good idea, the script just have to make sure it does not start ifplugd for wireless cards eth. , since they are managed by cardmgr.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2005-09-02 07:03:14 UTC
Just a heads up to say that baselayout-1.12.0_pre8 has support for netplug which
is like ifplugd. netplug has no configuration requirements and only works with
wired ethernet that supports netlink events with valid MAC addresses so it
should work Just Like That :)

If that proves to work, then I can look at doing a similar thing for ifplugd
Comment 3 Roy Marples (RETIRED) gentoo-dev 2005-09-08 07:52:16 UTC
baselayout-1.12.0_pre9 will ship with built in ifplugd support. Hopefully the
new init script in ifplugd-0.28-r2 will stop any conflicts :)
Comment 4 Roy Marples (RETIRED) gentoo-dev 2005-10-11 08:25:31 UTC
baselayout-1.12.0_pre9 has ifplugd support
ifplugd-0.28-r2 and higher should not cause any conflicts provded
/etc/init.d/ifplugd is updated with etc-update!