[PATCH 1/2][v2] net: add nameserver IPs to kernel-parameter ip=

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Sep 22 14:24:34 EDT 2012


On 17:41 Sat 22 Sep     , Christoph Fritz wrote:
> Kernel-parameter "ip=" is used to assign network configuration.
> With linux kernel 3.7 it is also possible to set nameserver IPs.
> 
> This patch adds two new variables (nameserver0 and nameserver1) to
> barebox's $net configuration.
> 
> Signed-off-by: Christoph Fritz <chf.fritz at googlemail.com>
this is not the right way to handle this the option 6 of the DHCP allow a dhcp
server to provide n nameserver

so we need to use tehm if provided and if you add nameserver1 we need to use
it for resolve too

patch in reply

Best Regards,
J.



More information about the barebox mailing list