Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/notes/common For netboot via DHCP, "next-server" in ...



details:   https://anonhg.NetBSD.org/src/rev/2286b8573cc3
branches:  trunk
changeset: 961886:2286b8573cc3
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Apr 24 15:38:10 2021 +0000

description:
For netboot via DHCP, "next-server" in dhcpd.conf(5) is mandatory.

Pointed out by Anders Gustafsson on port-hp300@.
 https://mail-index.netbsd.org/port-hp300/2021/04/21/msg000201.html

Should be pulled up to netbsd-8 and netbsd-9.

XXX: kernel should use the dhcpd/bootp server address for nfsroot
     if the specified next-server (siaddr) is 0.0.0.0?

diffstat:

 distrib/notes/common/netboot |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 00e21d570482 -r 2286b8573cc3 distrib/notes/common/netboot
--- a/distrib/notes/common/netboot      Sat Apr 24 13:01:35 2021 +0000
+++ b/distrib/notes/common/netboot      Sat Apr 24 15:38:10 2021 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: netboot,v 1.38 2019/11/27 09:29:25 martin Exp $
+.\"    $NetBSD: netboot,v 1.39 2021/04/24 15:38:10 tsutsui Exp $
 .\"
 .\" Copyright (c) 1999-2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -345,16 +345,15 @@
 .\}
 
                 #
-                # If your DHCP server is not your NFS server, supply the
-                # address of the NFS server. Since we assume you run everything
-                # on one server, this is not needed.
+                # The host address of the NFS server. This is mandatory for
+                # NetBSD kernels even it's the same host as the DHCP server.
 .if \n[macppc] \{\
                 #
                 # macppc machines will look for their bootloader, 
                 # ofwboot.xcf, on the next-server as well.
 .\}
                 #
-                # next-server server.test.net;
+                next-server server.test.net;
         }
  #you may paste another "host" entry here for additional 
  #clients on this network



Home | Main Index | Thread Index | Old Index