So far global.net.server has been an IPv4 address. Add support for it being a hostname which is resolved to an address when necessary. This also adds the NFS server address to the nfsroot string passed to Linux so that Linux can boot from servers other than the one specified in the DHCP answer. Sascha Sascha Hauer (9): net: ip_route_get: Fix error message net: ip_route_get: Hook help text to command net: dns: leave host command with error on failure net: dns: Allow to set variable with the resolved host defaultenv: Pass serverip to nfsroot string net: Allow hostnames for global.net.server net: ip_route_get: resolv hostnames defaultenv: defaultenv uses ip_route_get defaultenv: resolve global.net.server before using it Documentation/user/networking.rst | 4 ++-- commands/ip-route-get.c | 7 ++++--- common/Kconfig | 2 ++ defaultenv/defaultenv-2-base/boot/net | 8 +++++++- net/dns.c | 21 ++++++++++++++++----- net/eth.c | 4 ++-- net/net.c | 19 ++++++++++++++----- 7 files changed, 47 insertions(+), 18 deletions(-) -- 2.19.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox