To configure bootpd,
you will edit three files: the services file, which lists the individual
services that comprise the suite of Internet Services, the inetd
configuration file, which informs the Internet daemon about running
bootpd on this
host, and the bootpd
configuration file, which contains client and relay
information. These tasks are explained in the following sections.
Editing the Services File |
|
The services file associates official service names and aliases
with the port number and protocol the services use. To enable bootpd,
you must edit the services file. Perform the following:
Open the services file with an MPE text editor. You may edit
the /etc/services
file from the POSIX shell or the SERVICES.NET.SYS
file from MPE/iX, whichever you prefer. Both names should point
to the same file.
Verify that the following lines exist in the file
or add them if they do not:
bootps 67/udp # Bootstrap protocol server
bootpc 68/udp # Bootstrap protocol client
If the lines already exist in the file and they
are preceded by a pound symbol (#),
delete the symbol and any spaces before the service name to enable
the service.
Save the file and exit the editor program.
Adding BOOTP Server to inetd Configuration |
|
The configuration file for inetd
determines which installed Internet Services are available to users.
To add bootpd
to your system, you need to edit the configuration file for inetd,
then have inetd
re-read the configuration. Perform the following:
Open the inetd
configuration file with a text editor. You may edit the /etc/inetd.conf
file from the POSIX shell or the INETDCNF.NET.SYS
file from MPE/iX, whichever you prefer. Both names should point
to the same file.
Verify that the following line exists in the file
or add it if it does not:
bootps dgram udp wait MANAGER.SYS /SYS/NET/BOOTPD bootpd
If the line already exists in the file and it is
preceded by a pound symbol (#),
delete the symbol and any spaces before the service name to enable
the service.
Save the file and exit the editor program.
Signal inetd
to reread the configuration file by entering the following command
at the CI prompt:
:INETD.NET.SYS -c
Or you may enter this command from the POSIX shell:
$/etc/inetd -c
If you have added bootpd
to the inetd
configuration file while the Internet daemon is not running, you
must start inetd
to start the BOOTP server. To do
so, stream the job JINETD.NET.SYS
from the CI prompt.
:STREAM JINETD.NET.SYS
For more detailed information about editing this file, read
Chapter 2 “Internet Daemon”