Charles.Forsyth20060303-partialeea662d19 years agoHistory
163 lines · 3.2 KB · Text
RawDownload
.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)