mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 3/6] net: add nameserver and domainname to net devices
Date: Sun, 15 Apr 2012 15:29:11 +0200	[thread overview]
Message-ID: <20120415132911.GL30672@game.jcrosoft.org> (raw)
In-Reply-To: <20120415134346.GH3852@pengutronix.de>

On 15:43 Sun 15 Apr     , Sascha Hauer wrote:
> On Sun, Apr 15, 2012 at 03:20:44PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > On 15:26 Sun 15 Apr     , Sascha Hauer wrote:
> > > This adds nameserver and domainname to net devices. This may not
> > > be 100% correct since the nameserver and domainname are not network
> > > device specific. However, we currently do not have the possibility
> > > for global variables. DNS support depends on the nameserver/domainname
> > > to be set correctly. When we set both inside a script the variables
> > > will not be available to the parent context, so use device parameters
> > > which are global.
> > 
> > how about put it at bus level instead?
> > 
> > I get an issue is what happened if we have 2 ethernet?
> > 
> > and switch from one to the other?
> 
> I am aware of this issue, but what do you mean with 'put it at bus
> level?'
> 
> I thought about adding a device named 'net' which would only exist to
> store these variables. Is that what you mean?
yes exactly

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-04-15 13:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-15 13:26 dns work Sascha Hauer
2012-04-15 13:26 ` [PATCH 1/6] net dns: remove debug code Sascha Hauer
2012-04-15 13:26 ` [PATCH 2/6] net: use static string in string_to_ip Sascha Hauer
2012-04-15 13:26 ` [PATCH 3/6] net: add nameserver and domainname to net devices Sascha Hauer
2012-04-15 13:20   ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-15 13:43     ` Sascha Hauer
2012-04-15 13:29       ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-04-15 13:26 ` [PATCH 4/6] dhcp: set global domainname and nameserver Sascha Hauer
2012-04-15 13:26 ` [PATCH 5/6] dns: use global nameserver/domainname Sascha Hauer
2012-04-15 13:26 ` [PATCH 6/6] fs tftp: use resolv to resolv ip address Sascha Hauer

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=20120415132911.GL30672@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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