[search] [index]

NAME

bootp, rarpd, tftpd - Internet booting

SYNOPSIS



ip/bootp [-d]

ip/rarpd [-d] [-e etherdev]

ip/tftpd [-dr] [-h homedir]

DESCRIPTION

These programs support booting over the Internet. They should all be run on the same server to allow other systems to be booted. Bootp and tftpd are used to boot everything; rarpd is an extra piece just for Suns.

Bootp passes to Plan 9 systems their IP address, IP mask, default boot file, default file server, default authentication server, and default gateway. These come from the network database file attributes ip, ipmask, bootf, fs, auth, and ipgw attributes respectively (see ndb(6) and ndb(8)). The attributes come from the entry for the system, its subnet, and its network with the system entry having precedence, subnet next, and network last. Bootp will answer requests only if it has been specifically targeted or if it has read access to the boot file for the requester. The -d option causes debugging to be printed to standard output.

Rarpd performs the Reverse Address Resolution Protocol, translating Ethernet addresses into IP addresses. The options are:
d
print debugging to standard output
e
use the Ethernet mounted at /net/etherdev


Tftpd transfers files to systems that are booting. It runs as user none and can only access files with global read permission. The options are:
d
print debugging to standard output
h
change directory to homedir. The default is /lib/tftpd. All requests for files with non-rooted file names are served starting at this directory with the exception of files of the form xxxxxxxx.SUNyy. These are Sparc kernel boot files where xxxxxxxx is the hex IP address of the machine requesting the kernel and yy is an architecture identifier. Tftpd looks up the file in the network database using ipinfo (see ndb(2)) and responds with the boot file specified for that particular machine. If no boot file is specified, the transfer fails. Tftpd supports only octet mode.
r
restricts access to only files rooted in the homedir.

SOURCE

/sys/src/cmd/ip

SEE ALSO

ndb(6)

Copyright © 1995 Lucent Technologies. All rights reserved.