mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/9] net: Allow global.net.server being a hostname
@ 2019-01-07  7:39 Sascha Hauer
  2019-01-07  7:40 ` [PATCH 1/9] net: ip_route_get: Fix error message Sascha Hauer
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Sascha Hauer @ 2019-01-07  7:39 UTC (permalink / raw)
  To: Barebox List

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-01-07  7:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-07  7:39 [PATCH 0/9] net: Allow global.net.server being a hostname Sascha Hauer
2019-01-07  7:40 ` [PATCH 1/9] net: ip_route_get: Fix error message Sascha Hauer
2019-01-07  7:40 ` [PATCH 2/9] net: ip_route_get: Hook help text to command Sascha Hauer
2019-01-07  7:40 ` [PATCH 3/9] net: dns: leave host command with error on failure Sascha Hauer
2019-01-07  7:40 ` [PATCH 4/9] net: dns: Allow to set variable with the resolved host Sascha Hauer
2019-01-07  7:40 ` [PATCH 5/9] defaultenv: Pass serverip to nfsroot string Sascha Hauer
2019-01-07  7:40 ` [PATCH 6/9] net: Allow hostnames for global.net.server Sascha Hauer
2019-01-07  7:40 ` [PATCH 7/9] net: ip_route_get: resolv hostnames Sascha Hauer
2019-01-07  7:40 ` [PATCH 8/9] defaultenv: defaultenv uses ip_route_get Sascha Hauer
2019-01-07  7:40 ` [PATCH 9/9] defaultenv: resolve global.net.server before using it Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox