Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bootptest(8) [netbsd man page]

BOOTPTEST(8)						      System Manager's Manual						      BOOTPTEST(8)

bootptest - send BOOTP queries and print responses SYNOPSIS
bootptest [ -f bootfile ] [ -h ] [ -m magic_number ] server-name [template-file] DESCRIPTION
bootptest sends BOOTP requests to the host specified as server-name at one-second intervals until either a response is received, or until ten requests have gone unanswered. After a response is received, bootptest will wait one more second listening for additional responses. OPTIONS
-f bootfile Fill in the boot file field of the request with bootfile. -h Use the hardware (Ethernet) address to identify the client. By default, the IP address is copied into the request indicating that this client already knows its IP address. -m magic_number Initialize the first word of the vendor options field with magic_number. A template-file may be specified, in which case bootptest uses the (binary) contents of this file to initialize the options area of the request packet. CREDITS
The bootptest program is a combination of original and derived works. The main program module (bootptest.c) is original work by Gordon W. Ross The packet printing module (print-bootp.c) is a slightly modified version of a file from the BSD tcpdump program. This program includes software developed by the University of California, Lawrence Berkeley Laboratory and its contributors. (See the copyright notice in print-bootp.c) SEE ALSO
bootpd(8) REFERENCES
10 June 1993 BOOTPTEST(8)

Check Out this Related Man Page

bootpd(8)						      System Manager's Manual							 bootpd(8)

       bootpd - Server to help boot diskless clients

       /usr/etc/bootpd [ -d ] [ -i ]

       The server is for the Internet BOOTP protocol (a UDP-based protocol).  This allows a diskless machine to find out its Internet address, the
       address of a bootserver, and the name of a file to boot.

       The server is either started from or from If is started from the -i flag must be supplied by The server reads its configuration file,  when
       it starts up. When a new request arrives, checks to see if the file has been modified, and if so, reads it again.

       If  started  by	waits  until  no new requests arrive for one minute.  This limits the overhead of restarting the daemon without tying up a
       process slot when nothing is happening.	The following is an example of the format of the configuration file:
       # /etc/bootptab:  database for bootp server (/usr/etc/bootpd)
       # Blank lines and lines beginning with '#' are ignored.
       # home directory


       # default bootfile


       # end of first section


       # The remainder of this file contains one line per client
       # interface with the information shown by the table headings
       # below. The host name is also tried as a suffix for the
       # bootfile when searching the home directory (that is,
       # host	      htype haddr	  iaddr 	 bootfile

       hostx	      1 02:60:8c:06:35:05	 ultrix
       hosty	      1 02:07:01:00:30:02	 vms
       hostz	      1 02:60:8c:00:77:78	 lps40
       node1	      1 02:60:8c:00:99:47	 tops20
       The first two lines specify the home (default) directory and the default bootfile, respectively.  A line starting with  two  percent  signs
       (%%) separates these first lines from the host information table, which contains an entry for each bootable host.

       You  should  start with a configuration file similar to this and edit the host entries to correspond to your local systems.  The host field
       does not have to be a formal host name; it is used for identification in the log file and also as a  possible  extension  to  the  bootfile

       The  is	always	1  and	corresponds to the hardware type assigned Ethernet by the Assigned Numbers RFC.  The field can use a period (.), a
       hyphen (-), or a colon (:) as separators.  The entry is the file used if the client does not know the name of the file it  wants  to  boot.
       This is frequently the case when a diskless workstation is booted.

       The server logs interesting events using

       -d   Logs all requests and indicates what responses are made.

       -i   If is started from the -i flag must be supplied by

       Configuration file

See Also
       inetd(8c), tftpd(8c)

Man Page