.TH BOOTPD 8.SH NAMEbootpd, tftpd \- Internet booting.SH SYNOPSIS.B ip/bootpd[.B -dsq] [.BI -f " dbfile"] [.BI -x " network"].PP.B ip/tftpd.RB [ -dr ][.BI -p " port"] [.BI -h " homedir"] [.BI -x " network"].SH DESCRIPTION.I Bootpdlistens for Internet BOOTP requests and broadcasts a suitable replyto each request that matches an entryin the network database.I dbfile(default:.BR /lib/ndb/local ).The BOOTP protocol is typically used by a remote system as it boots, to obtain its Internet addressand other configuration data such as the addresses of servers(see for instance the.B bootpfile in.IR ip (3))..PP.I Dbfileis in.IR ndb (6)format, as interpreted by.IR attrdb (2)..I Bootpduses the following attributes:.TF ipmask.TP.B authauthentication server name or address.TP.B bootfname of the client's boot file.TP.B domfully-qualified domain name.TP.B etherhardware (MAC) address; only Ethernet is supported.TP.B fsfile server name or address.TP.B ipclient's Internet address.TP.B ipgwgateway from client's subnet (IP address).TP.B ipmasksubnet mask.TP.B ipnetnetwork name.TP.B syssystem name (client identifier).PD.PP.I Bootpdreplies to an incoming request only if its hardware address matches the value of the.B etherattribute of an entry in.I dbfile .If found, the reply contains all the other requested data that is contained in the entry;if an item is missing, it is sought in the entries for successively higher networks (described by.B ipnetentries) that contain the requesting system's address.The `vendor specific' part of the reply conveys the file server and authentication server addressesto Inferno clients.Before answering a request,.I bootpdrereads.I dbfileif it has changed since last read..PPThe.B -soption causes.I bootpdto sniff the network for BOOTP traffic and print it, but not reply.The.B -doption prints debugging information; giving it twice prints even more.The.B -xoption tells.I bootpdto use a.I networkother than.BR /net .Currently.I bootpdprints a message to standard output each time it replies; the.B -qoption keeps it quiet..PP.I Tftpdis mainly used to send kernels and configuration files to machines booting from the network.It listens for incoming TFTP file transfer requests on the given UDP.I port(default: 69) and responds by sending or receiving a file as requested..I Homediris the current directory for transfers,.B /services/tftpdby default,and requests that use a relative path name refer to files in or below that directory.If the.B -roption is given, absolute path names are also restricted to.IR homedir ..I Tftpdruns as.B none(the least privileged user) and can send only files with general read permission, or write filesthat are generally writable.Normally.I tftpduses the network directory.BR /net ,but another can be specified with the.B -xoption.The.B -doption prints a debugging trace on standard output..SH FILES.TF /services/tftpd/xxxxx.TP.B /lib/ndb/localnetwork configuration file.TP.B /services/tftpddefault directory for relative pathnames.SH SOURCE.B /appl/cmd/ip/bootpd.b.br.B /appl/cmd/ip/tftpd.b.SH SEE ALSO.IR attrdb (2),.IR ip (3),.IR ndb (6),.IR cs (8),.IR dns (8)
.TH BOOTPD 8
.SH NAME
bootpd, tftpd \- Internet booting
.SH SYNOPSIS
.B ip/bootpd
[
.B -dsq
] [
.BI -f " dbfile"
] [
.BI -x " network"
]
.PP
.B ip/tftpd
.RB [ -dr ]
[
.BI -p " port"
] [
.BI -h " homedir"
] [
.BI -x " network"
]
.SH DESCRIPTION
.I Bootpd
listens for Internet BOOTP requests and broadcasts a suitable reply
to each request that matches an entry
in the network database
.I dbfile
(default:
.BR /lib/ndb/local ).
The BOOTP protocol is typically used by a remote system as it boots, to obtain its Internet address
and other configuration data such as the addresses of servers
(see for instance the
.B bootp
file in
.IR ip (3)).
.PP
.I Dbfile
is in
.IR ndb (6)
format, as interpreted by
.IR attrdb (2).
.I Bootpd
uses the following attributes:
.TF ipmask
.TP
.B auth
authentication server name or address
.TP
.B bootf
name of the client's boot file
.TP
.B dom
fully-qualified domain name
.TP
.B ether
hardware (MAC) address; only Ethernet is supported
.TP
.B fs
file server name or address
.TP
.B ip
client's Internet address
.TP
.B ipgw
gateway from client's subnet (IP address)
.TP
.B ipmask
subnet mask
.TP
.B ipnet
network name
.TP
.B sys
system name (client identifier)
.PD
.PP
.I Bootpd
replies to an incoming request only if its hardware address matches the value of the
.B ether
attribute of an entry in
.I dbfile .
If found, the reply contains all the other requested data that is contained in the entry;
if an item is missing, it is sought in the entries for successively higher networks (described by
.B ipnet
entries) that contain the requesting system's address.
The `vendor specific' part of the reply conveys the file server and authentication server addresses
to Inferno clients.
Before answering a request,
.I bootpd
rereads
.I dbfile
if it has changed since last read.
.PP
The
.B -s
option causes
.I bootpd
to sniff the network for BOOTP traffic and print it, but not reply.
The
.B -d
option prints debugging information; giving it twice prints even more.
The
.B -x
option tells
.I bootpd
to use a
.I network
other than
.BR /net .
Currently
.I bootpd
prints a message to standard output each time it replies; the
.B -q
option keeps it quiet.
.PP
.I Tftpd
is mainly used to send kernels and configuration files to machines booting from the network.
It listens for incoming TFTP file transfer requests on the given UDP
.I port
(default: 69) and responds by sending or receiving a file as requested.
.I Homedir
is the current directory for transfers,
.B /services/tftpd
by default,
and requests that use a relative path name refer to files in or below that directory.
If the
.B -r
option is given, absolute path names are also restricted to
.IR homedir .
.I Tftpd
runs as
.B none
(the least privileged user) and can send only files with general read permission, or write files
that are generally writable.
Normally
.I tftpd
uses the network directory
.BR /net ,
but another can be specified with the
.B -x
option.
The
.B -d
option prints a debugging trace on standard output.
.SH FILES
.TF /services/tftpd/xxxxx
.TP
.B /lib/ndb/local
network configuration file
.TP
.B /services/tftpd
default directory for relative pathnames
.SH SOURCE
.B /appl/cmd/ip/bootpd.b
.br
.B /appl/cmd/ip/tftpd.b
.SH SEE ALSO
.IR attrdb (2),
.IR ip (3),
.IR ndb (6),
.IR cs (8),
.IR dns (8)