Bug 875 - automatically bringing up eth0
Summary: automatically bringing up eth0
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.1
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
: 887 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-15 10:47 UTC by Paul Eggleton
Modified: 2011-04-18 10:55 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2011-03-15 10:47:59 UTC
Our default /etc/network/interfaces file does not contain the line "auto eth0". For "minimal" images with no network agent (connman etc.) on devices with an eth0 interface, the lack of this is somewhat inconvenient as interfaces have to be started manually. However it seems that nfs root does not play well with this option[1] so we may not just be able to add it to the default file and be done with it.

[1] https://wiki.pokylinux.org/wiki/Poky_NFS_Root
Comment 1 Paul Eggleton 2011-03-15 11:27:37 UTC
According RP the issue with nfs root should now be fixed [1] so we should be able to add "auto eth0" to the default file (although it would need testing).

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=601464b4974e46d15abd02efd46663efcd530da8
Comment 2 Paul Eggleton 2011-03-28 07:28:43 UTC
*** Bug 887 has been marked as a duplicate of this bug. ***
Comment 3 Paul Eggleton 2011-03-28 07:30:00 UTC
Same applies for usb0 on beagleboard, for example (see bug #930)
Comment 4 Paul Eggleton 2011-04-14 08:21:55 UTC
I've now managed to verify that the system boots and works fine from an nfs root with "auto eth0" present (using master). Will post some patches to add auto options soon.