[Buildroot] [PATCH v4] Allow a single DHCP configuration via the system configuration submenu
peter at korsgaard.com
Sun Feb 15 20:12:34 UTC 2015
>>>>> "Steve" == Steve Kenton <skenton at ou.edu> writes:
>>>> +config BR2_SIMPLE_DHCP
>>> We're not completely consist with this, but the new system options
>>> 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.
Bye, Peter Korsgaard
More information about the buildroot