[PATCH 3/6] net: add nameserver and domainname to net devices

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sun Apr 15 09:20:44 EDT 2012


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?

Best Regards,
J.



More information about the barebox mailing list