xref: /netbsd-src/usr.sbin/bootp/bootpd/Installation (revision 5e9d01f29abc0332e6c0b0b2871b5eb629c2e7ab)
1*5e9d01f2Sgwr
2*5e9d01f2SgwrInstallation instructions for SunOS
3*5e9d01f2Sgwr
4*5e9d01f2SgwrCompile the executable:
5*5e9d01f2SgwrFor SunOS 4.X:
6*5e9d01f2Sgwr	make sunos4
7*5e9d01f2SgwrFor SunOS 5.X:  (Solaris)
8*5e9d01f2Sgwr	make sunos5
9*5e9d01f2Sgwr
10*5e9d01f2SgwrInstall the executables:
11*5e9d01f2Sgwr
12*5e9d01f2Sgwr	make install
13*5e9d01f2Sgwr
14*5e9d01f2SgwrEdit (or create) the bootptab:
15*5e9d01f2Sgwr(See bootptab.sample and bootptab.5 manual entry)
16*5e9d01f2Sgwr	edit /etc/bootptab
17*5e9d01f2Sgwr
18*5e9d01f2SgwrEdit /etc/services to add these two lines:
19*5e9d01f2Sgwrbootps		67/udp		bootp		# BOOTP Server
20*5e9d01f2Sgwrbootpc		68/udp				# BOOTP Client
21*5e9d01f2Sgwr
22*5e9d01f2SgwrEdit /etc/inetd.conf to add the line:
23*5e9d01f2Sgwrbootp	dgram	udp	wait	root	/usr/etc/bootpd bootpd -i
24*5e9d01f2Sgwr
25*5e9d01f2SgwrIf you compiled report.c with LOG_LOCAL2 (defined in the Makefile)
26*5e9d01f2Sgwrthen you may want to capture syslog messages from BOOTP by changing
27*5e9d01f2Sgwryour syslog.conf file.  (See the sample syslog.conf file here).
28*5e9d01f2SgwrTest the change with:  logger -t test -p local2.info "message"
29*5e9d01f2Sgwr
30