diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-01 17:07:04 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-01 17:07:04 +0000 |
commit | 96cc71db7208ba0a9308325c4bddb3f1962c7f76 (patch) | |
tree | 8782a72d6f57112741b57000a4014c5c373f46af /usr.sbin/bootpd | |
parent | 26c8825f1ec210bd98ef227f2dadc7fb73fdfeb5 (diff) |
new mdoc'd bootpef(8), bootptest(8), vttest(1) man pages; kwesterback@home.com
also repairs to mdoc.samples(7) and tcpdump(8)
Diffstat (limited to 'usr.sbin/bootpd')
-rw-r--r-- | usr.sbin/bootpd/bootpef.8 | 86 | ||||
-rw-r--r-- | usr.sbin/bootpd/bootptest.8 | 91 |
2 files changed, 87 insertions, 90 deletions
diff --git a/usr.sbin/bootpd/bootpef.8 b/usr.sbin/bootpd/bootpef.8 index 0f0b1fc7b43..edd725f8092 100644 --- a/usr.sbin/bootpd/bootpef.8 +++ b/usr.sbin/bootpd/bootpef.8 @@ -1,52 +1,58 @@ .\" bootpef.8 -.TH BOOTPEF 8 "4 Dec 1993" "MAINTENANCE COMMANDS" -.SH NAME -bootpef \- BOOTP Extension File compiler -.SH SYNOPSIS -.LP -.B bootpef -.RI [ "-c chdir" ] -.RI [ "-d debug-level" ] -.RI [ "-f config-file" ] -.RI [ client-name " [...]]" -.SH DESCRIPTION -.B bootpef +.Dd 12 June, 1999 +.Os +.Dt BOOTPEF 8 +.Sh NAME +.Nm bootpef +.Nd BOOTP Extension File compiler +.Sh SYNOPSIS +.Nm bootpef +.Op Fl c Ar chdir +.Op Fl d Ar debug-level +.Op Fl f Ar config-file +.Op Ar client-name Op Ar ... +.Sh DESCRIPTION +.Nm builds the -.I Extension Path -files described by RFC 1497 (tag 18). +.Sy Extension Path +files described by +.Tn RFC 2132 +(tag 18). If any -.I client-name +.Ar client-name arguments are specified, then -.I bootpef +.Nm compiles the extension files for only those clients. -.SH OPTIONS -.TP -.BI \-c \ chdir\-path +.Sh OPTIONS +.Bl -tag -width "-d debug-level" +.It Fl c Ar chdir-path Sets the current directory used by -.I bootpef +.Nm while creating extension files. This is useful when the extension file names are specified as relative pathnames, and -.I bootpef +.Nm needs to use the same current directory as the TFTP server -(typically /tftpboot). -.TP -.BI \-d \ debug\-level +(typically +.Pa /tftpboot ) . +.It Fl d Ar debug-level Sets the -.I debug\-level +.Ar debug-level variable that controls the amount of debugging messages generated. -For example, -d4 or -d 4 will set the debugging level to 4. -.TP -.BI \-f \ config\-file -Set the name of the config file that specifies the option +For example, +.Fl d Ns 4 +or +.Fl d No 4 +will set the debugging level to 4. +.It Fl f Ar config-file +Sets the name of the config file that specifies the option data to be sent to each client. -.SH "SEE ALSO" -bootpd(8), tftpd(8) -.SH REFERENCES -.TP -RFC951 -BOOTSTRAP PROTOCOL (BOOTP) -.TP -RFC1497 -BOOTP Vendor Information Extensions - - +.Sh SEE ALSO +.Xr bootpd 8 , +.Xr tftpd 8 +.Pp +.Bl -tag -width "RFC 2132" -compact +.It Tn RFC 951 +Bootstrap Protocol (BOOTP), +.It RFC 2132 +DHCP Options and BOOTP Vendor Extensions +.El diff --git a/usr.sbin/bootpd/bootptest.8 b/usr.sbin/bootpd/bootptest.8 index 4a142e90d1b..9950ed0a21c 100644 --- a/usr.sbin/bootpd/bootptest.8 +++ b/usr.sbin/bootpd/bootptest.8 @@ -1,72 +1,63 @@ .\" bootptest.8 -.TH BOOTPTEST 8 "10 June 1993" "MAINTENANCE COMMANDS" -.SH NAME -bootptest \- send BOOTP queries and print responses -.SH SYNOPSIS -.LP -.B bootptest -[ -.B \-f -.I bootfile -] -[ -.B \-h -] -[ -.B \-m -.I magic_number -] -.I server\-name -.RI [ template-file ] -.SH DESCRIPTION -.B bootptest +.Dd 12 June, 1999 +.Os +.Dt BOOTPTEST 8 +.Sh NAME +.Nm bootptest +.Nd send BOOTP queries and print responses +.Sh SYNOPSIS +.Nm bootptest +.Op Fl f Ar bootfile +.Op Fl h +.Op Fl m Ar magic_number +.Ar server-name +.Op Ar template-file +.Sh DESCRIPTION +.Nm sends BOOTP requests to the host specified as -.I server\-name -at one\-second intervals until either a response is received, +.Ar server-name +at one-second intervals until either a response is received, or until ten requests have gone unanswered. After a response is received, -.B bootptest +.Nm will wait one more second listening for additional responses. -.SH OPTIONS -.TP -.BI \-f \ bootfile +.Sh OPTIONS +.Bl -tag -width "-m magic_number" +.It Fl f Ar bootfile Fill in the boot file field of the request with -.IR bootfile . -.TP -.B \-h +.Ar bootfile . +.It Fl 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. -.TP -.BI \-m \ magic_number +.It Fl m Ar magic_number Initialize the first word of the vendor options field with -.IR magic_number . -.LP +.Ar magic_number . +.El +.Pp A -.I template-file +.Ar template-file may be specified, in which case -.B bootptest +.Nm uses the (binary) contents of this file to initialize the -.I options +.Fa options area of the request packet. -.SH CREDITS -.LP +.Sh 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 <gwr@mc.com>. The packet printing module (print-bootp.c) is a slightly modified version of a file from the BSD tcpdump program. -.LP +.Pp This program includes software developed by the University of California, Lawrence Berkeley Laboratory and its contributors. (See the copyright notice in print-bootp.c) -.SH "SEE ALSO" -.LP -bootpd(8) -.SH REFERENCES -.TP -RFC951 -BOOTSTRAP PROTOCOL (BOOTP) -.TP -RFC1048 -BOOTP Vendor Information Extensions +.Sh SEE ALSO +.Xr bootpd 8 +.Pp +.Bl -tag -width "RFC 2132" -compact +.It Tn RFC 951 +Bootstrap Protocol (BOOTP) +.It RFC 2132 +DHCP Options and BOOTP Vendor Extensions +.El |