[oe] confused by netbase/udev

Petr Štetiar ynezz at true.cz
Tue Feb 9 13:29:13 UTC 2010


Steffen Sledz <sledz at dresearch.de> [2010-02-09 14:18:08]:

>  # Wired or wireless interfaces
>  auto eth0
>  iface eth0 inet dhcp
>  iface eth1 inet dhcp
> 
> But i'm not sure what this part means (especially what means 'auto'
> here. Where can i found some documentation about the content of this
> config file. The busybox and ifup/ifdown manpages are not very helpful
> here. :(

man 5 interfaces?

Quote:

" lines beginning with the word "auto" are used to identify the physical
interfaces to be brought up when ifup is run with  the  -a  option.   (This
option  is  used  by  the  system  boot scripts.)  Physical interface names
should follow the word "auto" on the same line.  There can be multiple "auto"
stanzas.  ifup brings the named interfaces up in the order listed.  "

> And another problem is the mentioned naming. If every connected
> USB-NIC gets a new name i cannot refer to it in this config file.

You can get unique name/symlink using udev rule.

-- ynezz




More information about the Openembedded-devel mailing list