From: Steve Kenton <skenton@ou.edu>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4] Allow a single DHCP configuration via the system configuration submenu
Date: Sun, 15 Feb 2015 16:04:54 -0600 [thread overview]
Message-ID: <54E11806.2060109@ou.edu> (raw)
In-Reply-To: <87y4nzx7bh.fsf@dell.be.48ers.dk>
On 2/15/2015 2:12 PM, Peter Korsgaard wrote:
>>>>>> "Steve" == Steve Kenton<skenton@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.
Yes, two I have to test right now are an Asrock and an ECS mini-ITX and
on both
the kernel built with buildroot 2015.02-rc1 calls the network interface
"sit0"
Given that the name(s) are available why not just use it/them instead of
requiring the
entering of a configuration value for an interface name to use
BR2_SIMPLE_DHCP?
Steve
>
next prev parent reply other threads:[~2015-02-15 22:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-16 13:08 [Buildroot] [PATCH v4] Allow a single DHCP configuration via the system configuration submenu Jérémy Rosen
2015-01-16 15:19 ` Thomas Petazzoni
2015-01-16 15:30 ` Jeremy Rosen
2015-02-02 16:36 ` Peter Korsgaard
2015-02-02 16:38 ` Jeremy Rosen
2015-02-14 16:18 ` Steve Kenton
2015-02-15 20:12 ` Peter Korsgaard
2015-02-15 22:04 ` Steve Kenton [this message]
2015-02-15 22:11 ` Peter Korsgaard
2015-02-16 3:06 ` Steve Kenton
2015-02-16 8:46 ` Jeremy Rosen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54E11806.2060109@ou.edu \
--to=skenton@ou.edu \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox