Module Name:    src
Committed By:   tsutsui
Date:           Sat Apr 24 15:38:10 UTC 2021

Modified Files:
        src/distrib/notes/common: netboot

Log Message:
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?


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/distrib/notes/common/netboot

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/common/netboot
diff -u src/distrib/notes/common/netboot:1.38 src/distrib/notes/common/netboot:1.39
--- src/distrib/notes/common/netboot:1.38	Wed Nov 27 09:29:25 2019
+++ src/distrib/notes/common/netboot	Sat Apr 24 15:38:10 2021
@@ -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 @@ group {
 .\}
 
                 #
-                # 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

Reply via email to