xref: /freebsd/libexec/rbootd/rbootd.8 (revision 43581d7b6617959e4452094d9330ef020034a6c9)
1ea022d16SRodney W. Grimes.\" Copyright (c) 1988, 1992 The University of Utah and the Center
2ea022d16SRodney W. Grimes.\"	for Software Science (CSS).
3ea022d16SRodney W. Grimes.\" Copyright (c) 1992, 1993
4ea022d16SRodney W. Grimes.\"	The Regents of the University of California.  All rights reserved.
5ea022d16SRodney W. Grimes.\"
6ea022d16SRodney W. Grimes.\" This code is derived from software contributed to Berkeley by
7ea022d16SRodney W. Grimes.\" the Center for Software Science of the University of Utah Computer
8ea022d16SRodney W. Grimes.\" Science Department.  CSS requests users of this software to return
9ea022d16SRodney W. Grimes.\" to css-dist@cs.utah.edu any improvements that they make and grant
10ea022d16SRodney W. Grimes.\" CSS redistribution rights.
11ea022d16SRodney W. Grimes.\"
12ea022d16SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without
13ea022d16SRodney W. Grimes.\" modification, are permitted provided that the following conditions
14ea022d16SRodney W. Grimes.\" are met:
15ea022d16SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright
16ea022d16SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer.
17ea022d16SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright
18ea022d16SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer in the
19ea022d16SRodney W. Grimes.\"    documentation and/or other materials provided with the distribution.
20*5efaea4cSChristian Brueffer.\" 3. Neither the name of the University nor the names of its contributors
21ea022d16SRodney W. Grimes.\"    may be used to endorse or promote products derived from this software
22ea022d16SRodney W. Grimes.\"    without specific prior written permission.
23ea022d16SRodney W. Grimes.\"
24ea022d16SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
25ea022d16SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26ea022d16SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27ea022d16SRodney W. Grimes.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
28ea022d16SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29ea022d16SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30ea022d16SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31ea022d16SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32ea022d16SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33ea022d16SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34ea022d16SRodney W. Grimes.\" SUCH DAMAGE.
35ea022d16SRodney W. Grimes.\"
365c8709fdSSteve Price.\" Utah Hdr: rbootd.man 3.1 92/07/06
37ea022d16SRodney W. Grimes.\" Author: Jeff Forys, University of Utah CSS
38ea022d16SRodney W. Grimes.\"
39681e5e7aSSteve Price.Dd December 11, 1993
40ea022d16SRodney W. Grimes.Dt RBOOTD 8
41ea022d16SRodney W. Grimes.Os
42ea022d16SRodney W. Grimes.Sh NAME
43ea022d16SRodney W. Grimes.Nm rbootd
44ea022d16SRodney W. Grimes.Nd HP remote boot server
45ea022d16SRodney W. Grimes.Sh SYNOPSIS
4676081989SRuslan Ermilov.Nm
47ea022d16SRodney W. Grimes.Op Fl ad
48ea022d16SRodney W. Grimes.Op Fl i Ar interface
49ea022d16SRodney W. Grimes.Op config_file
50ea022d16SRodney W. Grimes.Sh DESCRIPTION
51ea022d16SRodney W. GrimesThe
52eb0b8290SPhilippe Charnier.Nm
53ea022d16SRodney W. Grimesutility services boot requests from Hewlett-Packard workstations over a
54ea022d16SRodney W. Grimeslocal area network.
55ea022d16SRodney W. GrimesAll boot files must reside in the boot file directory; further, if a
56ea022d16SRodney W. Grimesclient supplies path information in its boot request, it will be silently
57ea022d16SRodney W. Grimesstripped away before processing.
58ea022d16SRodney W. GrimesBy default,
59eb0b8290SPhilippe Charnier.Nm
60ea022d16SRodney W. Grimesonly responds to requests from machines listed in its configuration file.
61ea022d16SRodney W. Grimes.Pp
62ea022d16SRodney W. GrimesThe options are as follows:
63eb0b8290SPhilippe Charnier.Bl -tag -width indent
64ea022d16SRodney W. Grimes.It Fl a
65ea022d16SRodney W. GrimesRespond to boot requests from any machine.
66ea022d16SRodney W. GrimesThe configuration file is ignored if this option is specified.
67ea022d16SRodney W. Grimes.It Fl d
68ea022d16SRodney W. GrimesRun
69eb0b8290SPhilippe Charnier.Nm
70ea022d16SRodney W. Grimesin debug mode.
71ea022d16SRodney W. GrimesPackets sent and received are displayed to the terminal.
72ea022d16SRodney W. Grimes.It Fl i Ar interface
73ea022d16SRodney W. GrimesService boot requests on specified interface.
74ea022d16SRodney W. GrimesIf unspecified,
75eb0b8290SPhilippe Charnier.Nm
76ea022d16SRodney W. Grimessearches the system interface list for the lowest numbered, configured
77ea022d16SRodney W. Grimes``up'' interface (excluding loopback).
78ea022d16SRodney W. GrimesTies are broken by choosing the earliest match.
79ea022d16SRodney W. Grimes.El
80ea022d16SRodney W. Grimes.Pp
81ea022d16SRodney W. GrimesSpecifying
82ea022d16SRodney W. Grimes.Ar config_file
83ea022d16SRodney W. Grimeson the command line causes
84eb0b8290SPhilippe Charnier.Nm
85ea022d16SRodney W. Grimesto use a different configuration file from the default.
86ea022d16SRodney W. Grimes.Pp
87ea022d16SRodney W. GrimesThe configuration file is a text file where each line describes a particular
88ea022d16SRodney W. Grimesmachine.
89ea022d16SRodney W. GrimesA line must start with a machine's Ethernet address followed by an optional
90ea022d16SRodney W. Grimeslist of boot file names.
91ea022d16SRodney W. GrimesAn Ethernet address is specified in hexadecimal with each of its six octets
92ea022d16SRodney W. Grimesseparated by a colon.
93ea022d16SRodney W. GrimesThe boot file names come from the boot file directory.
94ea022d16SRodney W. GrimesThe ethernet address and boot file(s) must be separated by white-space
95ea022d16SRodney W. Grimesand/or comma characters.
96ea022d16SRodney W. GrimesA pound sign causes the remainder of a line to be ignored.
97ea022d16SRodney W. Grimes.Pp
98ea022d16SRodney W. GrimesHere is a sample configuration file:
99a5ee0791SUlrich Spörlein.Bd -literal
100a5ee0791SUlrich Spörlein#
101a5ee0791SUlrich Spörlein# ethernet addr     boot file(s)        comments
102a5ee0791SUlrich Spörlein#
103a5ee0791SUlrich Spörlein08:00:09:0:66:ad    SYSHPBSD            # snake (4.3BSD)
104a5ee0791SUlrich Spörlein08:00:09:0:59:5b                        # vandy (anything)
105a5ee0791SUlrich Spörlein8::9:1:C6:75        SYSHPBSD,SYSHPUX    # jaguar (either)
106a5ee0791SUlrich Spörlein.Ed
107ea022d16SRodney W. Grimes.Pp
1083f162cb8SPhilippe CharnierThe
1093f162cb8SPhilippe Charnier.Nm
1103f162cb8SPhilippe Charnierutility logs status and error messages via
111ea022d16SRodney W. Grimes.Xr syslog 3 .
112ea022d16SRodney W. GrimesA startup message is always logged, and in the case of fatal errors (or
113ea022d16SRodney W. Grimesdeadly signals) a message is logged announcing the server's termination.
114ea022d16SRodney W. GrimesIn general, a non-fatal error is handled by ignoring the event that caused
115c481aa05SRuslan Ermilovit (e.g.\& an invalid Ethernet address in the config file causes that line
116ea022d16SRodney W. Grimesto be invalidated).
117ea022d16SRodney W. Grimes.Pp
118ea022d16SRodney W. GrimesThe following signals have the specified effect when sent to the server
119ea022d16SRodney W. Grimesprocess using the
120ea022d16SRodney W. Grimes.Xr kill 1
121ea022d16SRodney W. Grimescommand:
122923acecbSJoel Dahl.Bl -tag -width SIGUSR1 -offset xxxxxxxx
123ea022d16SRodney W. Grimes.It SIGHUP
124ea022d16SRodney W. GrimesDrop all active connections and reconfigure.
125ea022d16SRodney W. Grimes.It SIGUSR1
126ea022d16SRodney W. GrimesTurn on debugging, do nothing if already on.
127ea022d16SRodney W. Grimes.It SIGUSR2
128ea022d16SRodney W. GrimesTurn off debugging, do nothing if already off.
129ea022d16SRodney W. Grimes.El
130ea022d16SRodney W. Grimes.Sh "FILES"
131ea022d16SRodney W. Grimes.Bl -tag -width /usr/libexec/rbootd -compact
132d0353b83SRuslan Ermilov.It Pa /dev/bpf#
133ea022d16SRodney W. Grimespacket-filter device
134d0353b83SRuslan Ermilov.It Pa /etc/rbootd.conf
135ea022d16SRodney W. Grimesconfiguration file
136d0353b83SRuslan Ermilov.It Pa /tmp/rbootd.dbg
137ea022d16SRodney W. Grimesdebug output
138d0353b83SRuslan Ermilov.It Pa /usr/mdec/rbootd
139ea022d16SRodney W. Grimesdirectory containing boot files
140d0353b83SRuslan Ermilov.It Pa /var/run/rbootd.pid
141ea022d16SRodney W. Grimesprocess id
142ea022d16SRodney W. Grimes.El
143ea022d16SRodney W. Grimes.Sh SEE ALSO
144ea022d16SRodney W. Grimes.Xr kill 1 ,
145ea022d16SRodney W. Grimes.Xr socket 2 ,
146ea022d16SRodney W. Grimes.Xr signal 3 ,
147edf0e5b3SMike Pritchard.Xr syslog 3
148ea022d16SRodney W. Grimes.Sh BUGS
149ea022d16SRodney W. GrimesIf multiple servers are started on the same interface, each will receive
150ea022d16SRodney W. Grimesand respond to the same boot packets.
151