This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / libexec / bootpd / README
CommitLineData
e24c98a2
MR
1This is a port of bootpd (CMU version 2.2a) to NetBSD-current.
2
3BOOTPD is a useful adjunct to the nfs diskless boot EPROM code.
4
5The alternatives for initiating a boot of a kernel across a network
6are to use RARP protocol, or BOOTP protocol. BOOTP is more flexible;
7it allows additional items of information to be returned to the
8booting client; it also supports booting across gateways.
9
10There are two parts to this package:
11
12- The bootpd sources to be compiled and installed.
13
14- A patch to etc/services and etc/inetd.conf to define the bootpd
15network service names and to define the bootpd task to inetd. These
16items are in the PATCH file.
17
18If you have problems or questions about this port, send me email at
19mckim@lerc.nasa.gov
20
21- Jim McKim
22
23enclosed below is the original README:
24
25
26This directory contains the source for the CMU BOOTP server. The files
27include:
28
29README This file
30bootpd.8 The manual page
31bootp.h The protocol header file
32bootpd.h The server header file
33bootpd.c The main server module
34readfile.c The configuration file-reading routines
35hash.h The hash table header file
36hash.c The hash table module
37Version.c The version module
38newvers.sh A shell script to generate new version numbers
39Makefile The makefile
40bootptab An example database file for the server
41gmods Text describing optional gateway modifications
42
43
44Notes:
451) BOOTP was originally designed and implemented by Bill Croft at Stanford.
46 Much of the credit for the ideas and the code goes to him. We've added
47 code to support the vendor specific area of the packet as specified in
48 RFC1048. We've also improved the host lookup algorithm and added some
49 extra logging.
50
512) The server now uses syslog to do logging. Specifically it uses the 4.3bsd
52 version. I've #ifdef'd all of these calls. If you are running 4.2 you
53 should compile without the -DSYSLOG switch.
54
553) You must update your /etc/services file to contain the following two lines:
56 bootps 67/udp # bootp server
57 bootpc 68/udp # bootp client
58
594) The code and the bootptab should be reasonably well commented. If you
60 have any questions, just let us know.
61
62Construction:
63 Make sure all of the files exist first. If anything is missing,
64 please contact either Walt Wimer or Drew Perkins by E-mail or phone.
65 Addresses and phone numbers are listed below.
66
67 Type 'make'. The options at present are: -DSYSLOG which enables logging
68 code, -DDEBUG which enables table dumping via signals, and -DVEND_CMU
69 which enables the CMU extensions for CMU PC/IP.
70
71 Edit the bootptab. The man page and the comments in the file should
72 explain how to go about doing so. If you have any problems, let me know.
73
74 Type 'make install'. This should put all of the files in the right place.
75
76 Edit your /etc/rc.local or /etc/inetd.conf file to start up bootpd upon
77 reboot.
78
79Care and feeding:
80 If you change the interface cards on your host or add new hosts you will
81 need to update /etc/bootptab. Just edit it as before. Once you write
82 it back out, bootpd will notice that there is a new copy and will
83 reread it the next time it gets a request.
84
85 If your bootp clients don't get a response then several things might be
86 wrong. Most often, the entry for that host is not in the database.
87 Check the hardware address and then check the entry and make sure
88 everything is right. Other problems include the server machine crashing,
89 bad cables, and the like. If your network is very congested you should
90 try making your bootp clients send additional requests before giving up.
91
92
93November 7, 1988
94
95
96Walter L. Wimer Drew D. Perkins
97ww0n@andrew.cmu.edu ddp@andrew.cmu.edu
98(412) 268-6252 (412) 268-8576
99
1004910 Forbes Ave
101Pittsburgh, PA 15213
102