
3.Boot the operating system and log on to the system as superuser.
Type the following command at the system prompt and the superuser password:
zardoz # su Password:
4.Create an appropriate /etc/hostname file for the new interface.
The name of the file you create should be of the form /etc/hostname.typenum, where type is the Ethernet type identifier (some common types are eri, hme, le, nf, and ie) and num is the logical number of the interface according to the order in which it was installed in the system.
For example, the standard interface provided on the system’s main logic board is eri0 (type = eri, num = 0). If you add a SunSwift PCI Ethernet adapter card as a second eri interface, the file name should be hostname.eri1.
Note
The host name also has an associated IP address that you enter in the /etc/hosts file. See Step 6.
5.Type the host name, assigned in Step 1, into the /etc/hostname file for the new interface.
Following is an example of the /etc/hostname files required for a machine called zardoz, which has two Ethernet
zardoz # cat /etc/hostname.eri0
zardoz
zardoz # cat /etc/hostname.eri1