xref: /freebsd/libexec/rbootd/rbootd.8 (revision 5c8709fd6d878c8d42eceef7f86609e97767eda0)
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
415c8709fdSSteve Price.\"	$Id: rbootd.8,v 1.6 1997/06/23 04:02:13 steve Exp $
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
53ea022d16SRodney W. Grimes.Nm rbootd
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
59ea022d16SRodney W. Grimes.Nm rbootd
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,
66ea022d16SRodney W. Grimes.Nm rbootd
67ea022d16SRodney W. Grimesonly responds to requests from machines listed in its configuration file.
68ea022d16SRodney W. Grimes.Pp
69ea022d16SRodney W. GrimesThe options are as follows:
70ea022d16SRodney W. Grimes.Bl -tag -width Fl
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
76ea022d16SRodney W. Grimes.Nm rbootd
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,
82ea022d16SRodney W. Grimes.Nm rbootd
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
91ea022d16SRodney W. Grimes.Nm rbootd
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:
106ea022d16SRodney W. Grimes.Bl -column 08:00:09:0:66:ad SYSHPBSD,SYSHPUX "# vandy (anything)"
107ea022d16SRodney W. Grimes.It #
108ea022d16SRodney W. Grimes.It # ethernet addr	boot file(s)	comments
109ea022d16SRodney W. Grimes.It #
110ea022d16SRodney W. Grimes.It 08:00:09:0:66:ad	SYSHPBSD	# snake (4.3BSD)
111ea022d16SRodney W. Grimes.It 08:00:09:0:59:5b		# vandy (anything)
112ea022d16SRodney W. Grimes.It 8::9:1:C6:75	SYSHPBSD,SYSHPUX	# jaguar (either)
113ea022d16SRodney W. Grimes.El
114ea022d16SRodney W. Grimes.Pp
115ea022d16SRodney W. Grimes.Nm Rbootd
116ea022d16SRodney W. Grimeslogs status and error messages via
117ea022d16SRodney W. Grimes.Xr syslog 3 .
118ea022d16SRodney W. GrimesA startup message is always logged, and in the case of fatal errors (or
119ea022d16SRodney W. Grimesdeadly signals) a message is logged announcing the server's termination.
120ea022d16SRodney W. GrimesIn general, a non-fatal error is handled by ignoring the event that caused
121ea022d16SRodney W. Grimesit (e.g. an invalid Ethernet address in the config file causes that line
122ea022d16SRodney W. Grimesto be invalidated).
123ea022d16SRodney W. Grimes.Pp
124ea022d16SRodney W. GrimesThe following signals have the specified effect when sent to the server
125ea022d16SRodney W. Grimesprocess using the
126ea022d16SRodney W. Grimes.Xr kill 1
127ea022d16SRodney W. Grimescommand:
128ea022d16SRodney W. Grimes.Bl -tag -width SIGUSR1 -offset -compact
129ea022d16SRodney W. Grimes.It SIGHUP
130ea022d16SRodney W. GrimesDrop all active connections and reconfigure.
131ea022d16SRodney W. Grimes.It SIGUSR1
132ea022d16SRodney W. GrimesTurn on debugging, do nothing if already on.
133ea022d16SRodney W. Grimes.It SIGUSR2
134ea022d16SRodney W. GrimesTurn off debugging, do nothing if already off.
135ea022d16SRodney W. Grimes.El
136ea022d16SRodney W. Grimes.Sh "FILES"
137ea022d16SRodney W. Grimes.Bl -tag -width /usr/libexec/rbootd -compact
138ea022d16SRodney W. Grimes.It /dev/bpf#
139ea022d16SRodney W. Grimespacket-filter device
140ea022d16SRodney W. Grimes.It /etc/rbootd.conf
141ea022d16SRodney W. Grimesconfiguration file
142ea022d16SRodney W. Grimes.It /tmp/rbootd.dbg
143ea022d16SRodney W. Grimesdebug output
144ea022d16SRodney W. Grimes.It /usr/mdec/rbootd
145ea022d16SRodney W. Grimesdirectory containing boot files
146ea022d16SRodney W. Grimes.It /var/run/rbootd.pid
147ea022d16SRodney W. Grimesprocess id
148ea022d16SRodney W. Grimes.El
149ea022d16SRodney W. Grimes.Sh SEE ALSO
150ea022d16SRodney W. Grimes.Xr kill 1 ,
151ea022d16SRodney W. Grimes.Xr socket 2 ,
152ea022d16SRodney W. Grimes.Xr signal 3 ,
153edf0e5b3SMike Pritchard.Xr syslog 3
154ea022d16SRodney W. Grimes.Sh BUGS
155ea022d16SRodney W. GrimesIf multiple servers are started on the same interface, each will receive
156ea022d16SRodney W. Grimesand respond to the same boot packets.
157