xref: /dflybsd-src/libexec/bootpd/Installation (revision 86d7f5d305c6adaa56ff4582ece9859d73106103)
1*86d7f5d3SJohn Marino
2*86d7f5d3SJohn MarinoInstallation instructions for SunOS
3*86d7f5d3SJohn Marino
4*86d7f5d3SJohn MarinoCompile the executable:
5*86d7f5d3SJohn MarinoFor SunOS 4.X:
6*86d7f5d3SJohn Marino	make sunos4
7*86d7f5d3SJohn MarinoFor SunOS 5.X:  (Solaris)
8*86d7f5d3SJohn Marino	make sunos5
9*86d7f5d3SJohn Marino
10*86d7f5d3SJohn MarinoInstall the executables:
11*86d7f5d3SJohn Marino
12*86d7f5d3SJohn Marino	make install
13*86d7f5d3SJohn Marino
14*86d7f5d3SJohn MarinoEdit (or create) the bootptab:
15*86d7f5d3SJohn Marino(See bootptab.sample and bootptab.5 manual entry)
16*86d7f5d3SJohn Marino	edit /etc/bootptab
17*86d7f5d3SJohn Marino
18*86d7f5d3SJohn MarinoEdit /etc/services to add these two lines:
19*86d7f5d3SJohn Marinobootps		67/udp		bootp		# BOOTP Server
20*86d7f5d3SJohn Marinobootpc		68/udp				# BOOTP Client
21*86d7f5d3SJohn Marino
22*86d7f5d3SJohn MarinoEdit /etc/inetd.conf to add the line:
23*86d7f5d3SJohn Marinobootp	dgram	udp	wait	root	/usr/etc/bootpd bootpd -i
24*86d7f5d3SJohn Marino
25*86d7f5d3SJohn MarinoIf you compiled report.c with LOG_LOCAL2 (defined in the Makefile)
26*86d7f5d3SJohn Marinothen you may want to capture syslog messages from BOOTP by changing
27*86d7f5d3SJohn Marinoyour syslog.conf file.  (See the sample syslog.conf file here).
28*86d7f5d3SJohn MarinoTest the change with:  logger -t test -p local2.info "message"
29*86d7f5d3SJohn Marino
30