System Administration Guide: IP Services

ProcedureHow to Set Up a Network Configuration Server

Information for setting up installation servers and boot servers is found in Oracle Solaris 10 9/10 Installation Guide: Basic Installations.

  1. Assume the Primary Administrator role, or become superuser.

    The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

  2. Change to the root (/) directory of the prospective network configuration server.

  3. Turn on the in.tftpd daemon by creating the directory /tftpboot:


    # mkdir /tftpboot
    

    This command configures the system as a TFTP, bootparams, and RARP server.

  4. Create a symbolic link to the directory.


    # ln -s /tftpboot/. /tftpboot/tftpboot
    
  5. Enable the tftp line in the /etc/inetd.conf file.

    Check that the entry reads as follows:


    tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot

    This line prevents in.tftpd from retrieving any file other than the files that are located in /tftpboot.

  6. Edit the hosts database.

    Add the host names and IP addresses for every client on the network.

  7. Edit the ethers database.

    Create entries for every host on the network that runs in network client mode.

  8. Edit the bootparams database.

    See bootparams Database. Use the wildcard entry or create an entry for every host that runs in network client mode.

  9. Convert the /etc/inetd.conf entry into a Service Management Facility (SMF) service manifest, and enable the resulting service:


    # /usr/sbin/inetconv
    
  10. Verify that in.tftpd is working correctly.


    # svcs network/tftp/udp6
    

    You should receive output resembling the following:


    STATE          STIME    FMRI
    online         18:22:21 svc:/network/tftp/udp6:default
Administering the in.tftpd Daemon

The in.tftpd daemon is managed by the Service Management Facility. Administrative actions on in.tftpd, such as enabling, disabling, or restarting, can be performed using the svcadm command. Responsibility for initiating and restarting this service is delegated to inetd. Use the inetadm command to make configuration changes and to view configuration information for in.tftpd. You can query the service's status by using the svcs command. For an overview of the Service Management Facility, refer to Chapter 18, Managing Services (Overview), in System Administration Guide: Basic Administration.