[yocto] [meta-raspberrypi] Network not working after first boot success

Eric Bénard eric at eukrea.com
Thu Jul 18 15:27:13 PDT 2013


Hi Rich,

Le Thu, 18 Jul 2013 15:07:01 +0100,
Rich Bayliss <richbayliss at gmail.com> a écrit :

> On 18 July 2013 14:50, Rich Bayliss <richbayliss at gmail.com> wrote:
> > Configuring network interfaces... ifup: interface lo already configured
> > ifup: interface eth0 already configured
> > done.
> >
> I wonder if the dirty reboot by power pull as making the boot process
> longer, and thus UDEV is failing to bring eth0 up in time? What do you
> guys think?
> 
this problem occured here when /var/run/network/ifstate is on a RW
persistent storage and not in a tmpfs : the interface state can exist
when booting after a dirty reboot.

A workaround is to hack
meta/recipes-core/init-ifupdown/init-ifupdown-1.0/init and add
ifdown -a
just before ifup -a in the start) section

Eric



More information about the yocto mailing list