From nobody@FreeBSD.org Tue Nov 13 00:47:42 2001 Return-Path: Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A9D037B416 for ; Tue, 13 Nov 2001 00:47:42 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAD8lgb01172; Tue, 13 Nov 2001 00:47:42 -0800 (PST) (envelope-from nobody) Message-Id: <200111130847.fAD8lgb01172@freefall.freebsd.org> Date: Tue, 13 Nov 2001 00:47:42 -0800 (PST) From: Jean-Francois Dockes To: freebsd-gnats-submit@FreeBSD.org Subject: Improved language for the 'diskless' handbook section X-Send-Pr-Version: www-1.0 >Number: 31951 >Category: docs >Synopsis: Improved language for the 'diskless' handbook section >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 13 00:50:01 PST 2001 >Closed-Date: Wed Nov 14 07:56:11 PST 2001 >Last-Modified: Wed Nov 14 07:56:41 PST 2001 >Originator: Jean-Francois Dockes >Release: 4.4-STABLE >Organization: >Environment: reeBSD hautmedoc 4.4-STABLE FreeBSD 4.4-STABLE #2: Mon Oct 8 18:44:52 CEST 2001 dockes@hautmedoc:/usr/src/sys/compile/HAUTMEDOC i386 >Description: The diskless section in the doc/en_US.ISO8859-1/books/handbook/advanced-networking chapter was initially committed before I could integrate some of the suggestions for language improvement. These improvements follow in the attached patch. >How-To-Repeat: >Fix: *** chapter.sgml.ori Tue Nov 13 08:50:56 2001 --- chapter.sgml Tue Nov 13 09:36:28 2001 *************** *** 1386,1392 **** tftp dgram udp wait nobody /usr/libexec/tftpd tftpd /tftpboot ! It appears that at least some PXE versions wants the TCP version of TFTP. In this case, add a second line, replacing dgram udp with stream tcp --- 1386,1392 ---- tftp dgram udp wait nobody /usr/libexec/tftpd tftpd /tftpboot ! It appears that at least some PXE versions want the TCP version of TFTP. In this case, add a second line, replacing dgram udp with stream tcp *************** *** 1399,1408 **** ! You can place the tftpboot directory anywhere on the server, but, ! of course, the actual location, the value in ! inetd.conf, and the value in ! dhcpd.conf must be consistent ! You also need to enable NFS service and export the appropriate filesystem on the NFS server --- 1399,1408 ---- ! You can place the tftpboot directory anywhere on the ! server. Make sure that the location is set in both ! inetd.conf ! dhcpd.conf You also need to enable NFS service and export the appropriate filesystem on the NFS server *************** *** 1503,1513 **** Configuring Swap ! If needed, it is possible to do swapping over NFS, to a file ! on the server. The exact bootptab or ! dhcpd.conf options are a little mysterious ! and poorly documented. Anyway, here is what worked for me, using ! isc-dhcp 3.0rc11. Add the following lines to dhcpd.conf: --- 1503,1513 ---- Configuring Swap ! If needed, a swap file located on the server can be accessed via NFS. ! The exact bootptab or ! dhcpd.conf options are not clearly documented at ! this time. The following configuration suggestions have been reported ! to work in some installations using isc-dhcp 3.0rc11. Add the following lines to dhcpd.conf: *************** *** 1578,1590 **** you will have to create the root file system on a FreeBSD machine, then copy it to its destination, using tar or cpio. ! In this situation, it seems that there are sometimes problems with the special files in /dev, ! because of differing minor/major number integer sizes. It seems ! that a solution to this problem is to run MAKEDEV ! on a FreeBSD ! machine, in a directory mounted through NFS from the final ! server. --- 1578,1590 ---- you will have to create the root file system on a FreeBSD machine, then copy it to its destination, using tar or cpio. ! In this situation, there are sometimes problems with the special files in /dev, ! due to differing major/minor integer sizes. A solution to this ! problem is to export a directory from the non-FreeBSD server, ! mount this directory onto a FreeBSD machine, and run ! MAKEDEV on the FreeBSD machine ! to create the correct device entries. >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: murray State-Changed-When: Wed Nov 14 07:56:11 PST 2001 State-Changed-Why: Committed with minor modifications. It may take up to 24 hours for this change to reach the website. r1.110 in CVS contains the fix. Thanks for the submission! http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31951 >Unformatted: