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

Paul Sokolovsky pmiscml at gmail.com
Mon Dec 10 06:32:36 UTC 2007


Hello Koen,

Friday, December 7, 2007, 11:56:50 PM, you wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1

> Khem Raj schreef:
>> On Nov 30, 2007 8:59 AM, Chris Larson <clarson at kergoth.com> wrote:
>>> 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'.
>> 
>> fwiw with this change my nfsrooted rfs does not boot. I think its a
>> nice to have nfsroot option for dev work.

> doing any form of 'ifup' on the interface that connects to you nfsroot
> with shutdown the interface before trying to bring it up. I have the
> same problem on my PVR, and as a workaround I edited
> /path/to/nfs/etc/network/interface on the nfs server and removed the auto.
> Volunteers to teach ifup not to not close the link when using nfsroot?

  I've been having this issue in my queue. There're few problems with
current OE init scripts and nfsroot. I'm going to get to this one
sweet day, but if anyone gets to this earlier, even better ;-).

> regards,

> Koen




-- 
Best regards,
 Paul                            mailto:pmiscml at gmail.com





More information about the Openembedded-devel mailing list