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

Rich Bayliss richbayliss at gmail.com
Fri Jul 19 01:08:08 PDT 2013


On 18 July 2013 23:27, Eric Bénard <eric at eukrea.com> wrote:

> 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

I will try this hack Eric, but I suppose this opens another question -
why /var/run is held on a non-TMPFS? I would think (and this is not
based on any authority) that since /var/run is mainly for tracking
state, that after a reboot of any kind it should remain blank.

I have tested deleting /var/run/ifstate and pulling the plug, and it
returns on next reboot. I think this might be the EXT4 recovery
kicking in and putting the file back?

--
Rich Bayliss



More information about the yocto mailing list