[Buildroot] [PATCH v4] Allow a single DHCP configuration via the system configuration submenu

Jeremy Rosen jeremy.rosen at openwide.fr
Mon Feb 16 08:46:28 UTC 2015


----- Mail original -----
> >>>>> "Steve" == Steve Kenton <skenton at ou.edu> writes:
> 
>  >>> 
>  >>>> +config BR2_SIMPLE_DHCP
>  >>> 
>  >>> We're not completely consist with this, but the new system
>  >>> options
>  >>> are
>  >>> called BR2_SYSTEM_*, so I've renamed to the option.
>  >>> 
>  > On this topic, what about the following idea?
> 
>  > If the interface name is blank do not perform DHCP as currently
>  > If the interface name is "*" then run something like this script
>  > to automatically find and use the first network interface for DHCP
>  > I'd like to be able to use the same BR config on slightly
>  > different
>  > boards that may sometimes have different network interface
>  > names/orders
>  > The kernel handles that OK with modules so maybe buildroot could
>  > to?
> 
> So those boards have network interfaces not using eth%d names? That
> sounds pretty uncommon to me. Another approach would simply be add an
> init script to rename those to eth0 with nameif.
> 

there is the (still pretty uncommon) case of networkd that does interface
naming based on the physical layout and not the module loading order

interfaces are never named eth* in that case.



Regards

Jeremy Rosen



More information about the buildroot mailing list