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

Koen Kooi k.kooi at student.utwente.nl
Fri Dec 7 21:56:50 UTC 2007


-----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?

regards,

Koen

- --
koen at dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi at student.utwente.nl instead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHWcGiMkyGM64RGpERAiAnAJ0ZHNyCyLjmRlRjXnIi9bWxfWIUGACfTwip
qPwF61BdfukK/IxyHKWNJ5o=
=lxi4
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list