Available only on Sun 386i systems running a SunOS 4.0.x release or earlier. Not a SunOS 4.1 release feature.
netconfig is used both for automatic installation of new diskful systems, and during routine booting of all systems. The sequence of actions taken by netconfig depends on which of these situations is in effect, but it always sets the hostname, domainname, time, timezone, and interface IP address. If the system is newly installed on the network, it does more, perhaps interrogating the user about system configuration.
netconfig is invoked with the -e option from the /etc/rc.boot script.
Invoked without options, netconfig may perform PNP set up, including set up of files, passwords, and secure RPCs. Unless -n is specified, it writes /etc/net.conf, which is read later by rc.boot. This includes the VERBOSE flag, derived from NVRAM data, which controls the verbosity of the commands in rc.boot.
Boot servers use information stored locally in Network Information Service (NIS) acquiring it over the network, except that they get the time from the timehost system if it is up. The following describes the steps taken by boot clients: diskful clients, diskless clients, and network clients.
Boot clients first invoke rarp to acquire an IP address. This is followed by a ICMP Netmask request to obtain the IP subnetwork mask, and then a PNP_WHOAMI RPC to determine the system's name, NIS domain, and time zone. Then the systems clock is set using the RFC 868 time service. If PNP_WHOAMI fails, a PNP_SETUP sequence is followed by set up of /etc/passwd and other files.
The Network Information Service (NIS) was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same; only the name has changed.
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97