xref: /freebsd/libexec/rbootd/rbootd.8 (revision c481aa05e89e945a535e6e5bec8e05238a6b3628)
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.
20ea022d16SRodney W. Grimes.\" 3. All advertising materials mentioning features or use of this software
21ea022d16SRodney W. Grimes.\"    must display the following acknowledgement:
22ea022d16SRodney W. Grimes.\"	This product includes software developed by the University of
23ea022d16SRodney W. Grimes.\"	California, Berkeley and its contributors.
24ea022d16SRodney W. Grimes.\" 4. Neither the name of the University nor the names of its contributors
25ea022d16SRodney W. Grimes.\"    may be used to endorse or promote products derived from this software
26ea022d16SRodney W. Grimes.\"    without specific prior written permission.
27ea022d16SRodney W. Grimes.\"
28ea022d16SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
29ea022d16SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30ea022d16SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
31ea022d16SRodney W. Grimes.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
32ea022d16SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33ea022d16SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34ea022d16SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35ea022d16SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36ea022d16SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
37ea022d16SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38ea022d16SRodney W. Grimes.\" SUCH DAMAGE.
39ea022d16SRodney W. Grimes.\"
405c8709fdSSteve Price.\"	from: @(#)rbootd.8	8.2 (Berkeley) 12/11/93
417f3dea24SPeter Wemm.\" $FreeBSD$
42ea022d16SRodney W. Grimes.\"
435c8709fdSSteve Price.\" Utah Hdr: rbootd.man 3.1 92/07/06
44ea022d16SRodney W. Grimes.\" Author: Jeff Forys, University of Utah CSS
45ea022d16SRodney W. Grimes.\"
46681e5e7aSSteve Price.Dd December 11, 1993
47ea022d16SRodney W. Grimes.Dt RBOOTD 8
48ea022d16SRodney W. Grimes.Os
49ea022d16SRodney W. Grimes.Sh NAME
50ea022d16SRodney W. Grimes.Nm rbootd
51ea022d16SRodney W. Grimes.Nd HP remote boot server
52ea022d16SRodney W. Grimes.Sh SYNOPSIS
5376081989SRuslan Ermilov.Nm
54ea022d16SRodney W. Grimes.Op Fl ad
55ea022d16SRodney W. Grimes.Op Fl i Ar interface
56ea022d16SRodney W. Grimes.Op config_file
57ea022d16SRodney W. Grimes.Sh DESCRIPTION
58ea022d16SRodney W. GrimesThe
59eb0b8290SPhilippe Charnier.Nm
60ea022d16SRodney W. Grimesutility services boot requests from Hewlett-Packard workstations over a
61ea022d16SRodney W. Grimeslocal area network.
62ea022d16SRodney W. GrimesAll boot files must reside in the boot file directory; further, if a
63ea022d16SRodney W. Grimesclient supplies path information in its boot request, it will be silently
64ea022d16SRodney W. Grimesstripped away before processing.
65ea022d16SRodney W. GrimesBy default,
66eb0b8290SPhilippe Charnier.Nm
67ea022d16SRodney W. Grimesonly responds to requests from machines listed in its configuration file.
68ea022d16SRodney W. Grimes.Pp
69ea022d16SRodney W. GrimesThe options are as follows:
70eb0b8290SPhilippe Charnier.Bl -tag -width indent
71ea022d16SRodney W. Grimes.It Fl a
72ea022d16SRodney W. GrimesRespond to boot requests from any machine.
73ea022d16SRodney W. GrimesThe configuration file is ignored if this option is specified.
74ea022d16SRodney W. Grimes.It Fl d
75ea022d16SRodney W. GrimesRun
76eb0b8290SPhilippe Charnier.Nm
77ea022d16SRodney W. Grimesin debug mode.
78ea022d16SRodney W. GrimesPackets sent and received are displayed to the terminal.
79ea022d16SRodney W. Grimes.It Fl i Ar interface
80ea022d16SRodney W. GrimesService boot requests on specified interface.
81ea022d16SRodney W. GrimesIf unspecified,
82eb0b8290SPhilippe Charnier.Nm
83ea022d16SRodney W. Grimessearches the system interface list for the lowest numbered, configured
84ea022d16SRodney W. Grimes``up'' interface (excluding loopback).
85ea022d16SRodney W. GrimesTies are broken by choosing the earliest match.
86ea022d16SRodney W. Grimes.El
87ea022d16SRodney W. Grimes.Pp
88ea022d16SRodney W. GrimesSpecifying
89ea022d16SRodney W. Grimes.Ar config_file
90ea022d16SRodney W. Grimeson the command line causes
91eb0b8290SPhilippe Charnier.Nm
92ea022d16SRodney W. Grimesto use a different configuration file from the default.
93ea022d16SRodney W. Grimes.Pp
94ea022d16SRodney W. GrimesThe configuration file is a text file where each line describes a particular
95ea022d16SRodney W. Grimesmachine.
96ea022d16SRodney W. GrimesA line must start with a machine's Ethernet address followed by an optional
97ea022d16SRodney W. Grimeslist of boot file names.
98ea022d16SRodney W. GrimesAn Ethernet address is specified in hexadecimal with each of its six octets
99ea022d16SRodney W. Grimesseparated by a colon.
100ea022d16SRodney W. GrimesThe boot file names come from the boot file directory.
101ea022d16SRodney W. GrimesThe ethernet address and boot file(s) must be separated by white-space
102ea022d16SRodney W. Grimesand/or comma characters.
103ea022d16SRodney W. GrimesA pound sign causes the remainder of a line to be ignored.
104ea022d16SRodney W. Grimes.Pp
105ea022d16SRodney W. GrimesHere is a sample configuration file:
10658eaff23SRuslan Ermilov.Bl -column 08:00:09:0:66:ad SYSHPBSD,SYSHPUX
107ea022d16SRodney W. Grimes.It #
10858eaff23SRuslan Ermilov.It "# ethernet addr	boot file(s)	comments
109ea022d16SRodney W. Grimes.It #
11058eaff23SRuslan Ermilov.It "08:00:09:0:66:ad	SYSHPBSD	# snake (4.3BSD)
11158eaff23SRuslan Ermilov.It "08:00:09:0:59:5b		# vandy (anything)
11258eaff23SRuslan Ermilov.It "8::9:1:C6:75	SYSHPBSD,SYSHPUX	# jaguar (either)
113ea022d16SRodney W. Grimes.El
114ea022d16SRodney W. Grimes.Pp
1153f162cb8SPhilippe CharnierThe
1163f162cb8SPhilippe Charnier.Nm
1173f162cb8SPhilippe Charnierutility logs status and error messages via
118ea022d16SRodney W. Grimes.Xr syslog 3 .
119ea022d16SRodney W. GrimesA startup message is always logged, and in the case of fatal errors (or
120ea022d16SRodney W. Grimesdeadly signals) a message is logged announcing the server's termination.
121ea022d16SRodney W. GrimesIn general, a non-fatal error is handled by ignoring the event that caused
122c481aa05SRuslan Ermilovit (e.g.\& an invalid Ethernet address in the config file causes that line
123ea022d16SRodney W. Grimesto be invalidated).
124ea022d16SRodney W. Grimes.Pp
125ea022d16SRodney W. GrimesThe following signals have the specified effect when sent to the server
126ea022d16SRodney W. Grimesprocess using the
127ea022d16SRodney W. Grimes.Xr kill 1
128ea022d16SRodney W. Grimescommand:
129ea022d16SRodney W. Grimes.Bl -tag -width SIGUSR1 -offset -compact
130ea022d16SRodney W. Grimes.It SIGHUP
131ea022d16SRodney W. GrimesDrop all active connections and reconfigure.
132ea022d16SRodney W. Grimes.It SIGUSR1
133ea022d16SRodney W. GrimesTurn on debugging, do nothing if already on.
134ea022d16SRodney W. Grimes.It SIGUSR2
135ea022d16SRodney W. GrimesTurn off debugging, do nothing if already off.
136ea022d16SRodney W. Grimes.El
137ea022d16SRodney W. Grimes.Sh "FILES"
138ea022d16SRodney W. Grimes.Bl -tag -width /usr/libexec/rbootd -compact
139d0353b83SRuslan Ermilov.It Pa /dev/bpf#
140ea022d16SRodney W. Grimespacket-filter device
141d0353b83SRuslan Ermilov.It Pa /etc/rbootd.conf
142ea022d16SRodney W. Grimesconfiguration file
143d0353b83SRuslan Ermilov.It Pa /tmp/rbootd.dbg
144ea022d16SRodney W. Grimesdebug output
145d0353b83SRuslan Ermilov.It Pa /usr/mdec/rbootd
146ea022d16SRodney W. Grimesdirectory containing boot files
147d0353b83SRuslan Ermilov.It Pa /var/run/rbootd.pid
148ea022d16SRodney W. Grimesprocess id
149ea022d16SRodney W. Grimes.El
150ea022d16SRodney W. Grimes.Sh SEE ALSO
151ea022d16SRodney W. Grimes.Xr kill 1 ,
152ea022d16SRodney W. Grimes.Xr socket 2 ,
153ea022d16SRodney W. Grimes.Xr signal 3 ,
154edf0e5b3SMike Pritchard.Xr syslog 3
155ea022d16SRodney W. Grimes.Sh BUGS
156ea022d16SRodney W. GrimesIf multiple servers are started on the same interface, each will receive
157ea022d16SRodney W. Grimesand respond to the same boot packets.
158