[oe] RFC: auto eth0 and auto eth1 in netbase

Chris Larson clarson at kergoth.com
Fri Nov 30 16:59:41 UTC 2007


On Nov 30, 2007 4:48 AM, Rod Whitby <rod at whitby.id.au> wrote:
> Chris Larson wrote:
> > Afaik, the execution of the hotplug/coldplug scripts on startup should
> > generate the hotplug events for the ethernet interfaces and bring them
> > up that way.  In debian, the hotplug scripts bring them up with ifup
> > --allow=hotplug [iface], such that you need an 'allow-hotplug eth0' in
> > interfaces to have them brought up that way.  I'm too rusty with OE to
> > say how we do it today, but it's not likely that auto is needed.
>
> Unfortunately, the busybox ifup applet does not support the
> allow-hotplug keyword.
>
> Based on the feedback, I'll add 'auto eth0'.

Network interfaces should still be brought up when hotplugged.
Lacking the keyword just means there's no way to prevent it from
happening via interfaces(5).
-- 
Chris Larson - clarson at kergoth dot com
Dedicated Engineer - MontaVista - clarson at mvista dot com
Core Developer/Architect - TSLib, BitBake, OpenEmbedded, OpenZaurus




More information about the Openembedded-devel mailing list