bootptest.8 (229494cb512a44164597bd9358fbf8bf568c7ac6) | bootptest.8 (bd26f2dafc69e9909c6bd48f61e9a16c3c29c247) |
---|---|
1.\" $FreeBSD$ 2.\" 3.\" bootptest.8 | 1.\" $FreeBSD$ 2.\" 3.\" bootptest.8 |
4.TH BOOTPTEST 8 "10 June 1993" "MAINTENANCE COMMANDS" 5.SH NAME 6bootptest \- send BOOTP queries and print responses 7.SH SYNOPSIS 8.LP 9.B bootptest 10[ 11.B \-f 12.I bootfile 13] 14[ 15.B \-h 16] 17[ 18.B \-m 19.I magic_number 20] 21.I server\-name 22.RI [ template-file ] 23.SH DESCRIPTION 24.B bootptest | 4.Dd June 10, 1993 5.Dt BOOTPTEST 8 6.Os 7.Sh NAME 8.Nm bootptest 9.Nd "send BOOTP queries and print responses" 10.Sh SYNOPSIS 11.Nm 12.Op Fl f Ar bootfile 13.Op Fl h 14.Op Fl m Ar magic_number 15.Ar server\-name 16.Op Ar template\-file 17.Sh DESCRIPTION 18.Nm |
25sends BOOTP requests to the host specified as | 19sends BOOTP requests to the host specified as |
26.I server\-name | 20.Ar server\-name |
27at one\-second intervals until either a response is received, 28or until ten requests have gone unanswered. 29After a response is received, | 21at one\-second intervals until either a response is received, 22or until ten requests have gone unanswered. 23After a response is received, |
30.B bootptest | 24.Nm |
31will wait one more second listening for additional responses. | 25will wait one more second listening for additional responses. |
32.SH OPTIONS 33.TP 34.B \-f 35.I bootfile | 26.Sh OPTIONS 27.Bl -tag -width indent 28.It Fl f Ar bootfile |
36Fill in the boot file field of the request with | 29Fill in the boot file field of the request with |
37.IR bootfile . 38.TP 39.B \-h | 30.Ar bootfile . 31.It Fl h |
40Use the hardware (Ethernet) address to identify the client. 41By default, the IP address is copied into the request 42indicating that this client already knows its IP address. | 32Use the hardware (Ethernet) address to identify the client. 33By default, the IP address is copied into the request 34indicating that this client already knows its IP address. |
43.TP 44.B \-m 45.I magic_number | 35.It Fl m Ar magic_number |
46Initialize the first word of the vendor options field with | 36Initialize the first word of the vendor options field with |
47.IR magic_number . 48.LP | 37.Ar magic_number . 38.El 39.Pp |
49A | 40A |
50.I template-file | 41.Ar template\-file |
51may be specified, in which case | 42may be specified, in which case |
52.B bootptest | 43.Nm |
53uses the (binary) contents of this file to initialize the | 44uses the (binary) contents of this file to initialize the |
54.I options | 45.Em options |
55area of the request packet. | 46area of the request packet. |
56.SH CREDITS 57.LP 58The bootptest program is a combination of original and derived works. 59The main program module (bootptest.c) is original work by 60Gordon W. Ross <gwr@mc.com>. 61The packet printing module (print-bootp.c) is a slightly modified 62version of a file from the BSD tcpdump program. 63.LP | 47.Sh AUTHORS 48The 49.Nm 50program is a combination of original and derived works. 51The main program module 52.Pq Pa bootptest.c 53is original work by 54.An "Gordon W. Ross" Aq gwr@mc.com . 55The packet printing module 56.Pq Pa print\-bootp.c 57is a slightly modified 58version of a file from the 59.Bx 60.Xr tcpdump 1 61program. 62.Pp |
64This program includes software developed by the University of 65California, Lawrence Berkeley Laboratory and its contributors. | 63This program includes software developed by the University of 64California, Lawrence Berkeley Laboratory and its contributors. |
66(See the copyright notice in print-bootp.c) 67.SH "SEE ALSO" 68.LP 69bootpd(8) 70.SH REFERENCES 71.TP 72RFC951 73BOOTSTRAP PROTOCOL (BOOTP) 74.TP 75RFC1048 76BOOTP Vendor Information Extensions | 65(See the copyright notice in 66.Pa print\-bootp.c . ) 67.Sh SEE ALSO 68.Xr bootpd 8 69.Rs 70.%O RFC951 71.%T "BOOTSTRAP PROTOCOL (BOOTP)" 72.Re 73.Rs 74.%O RFC1048 75.%T "BOOTP Vendor Information Extensions" 76.Re |