Configuring Host Files
After installing the SunSwift PCI Adapter, you must create a hostname.hme<num>
file for its Ethernet interface. You must also assign an IP address and a hostname for
its Ethernet interface in the /etc/hosts file.
Your system motherboard Ethernet interface (network) uses the hme device driver
as well, with an interface identified as hme0. (The number 0 following hme
represents the first instance of the interface.) You can find the interface numbers in
the /etc/path_to_inst file.
To Prepare Your System for the Adapter
1. At the command line, use the grep command to search the /etc/path_to_inst
file for hme devices.
# grep hme /etc/path_to_inst
"/pci@1f,4000/network@1,1" 0 "hme"
"/pci@1f,2000/pci@2/SUNW,hme@0,1" 1 "hme"
In the example above, the network@1,1 instance is the on-board FastEthernet
device, and the
SUNW,hme@0,1
instance numbers are bold. In this example, you would create an
/etc/hostname.hme1 file because the adapter's hme instance number is 1.
2. Create an /etc/hostname.hme<num> file.
Replace the <num> following the hme ending with the instance number of the
SunSwift PCI adapter's instance number. For example, if the system's
/etc/path_to_inst file lists the adapter's instance number as 1, you would create
a file called /etc/hostname.hme1.
Note – If you have replaced a Sun FastEthernet PCI adapter with the SunSwift PCI
adapter, using the same PCI slot, you will need to rename the existing
hostname.hme<num> file to reflect the new instance number used by the SunSwift
PCI adapter. For example, if the previous file had a *.hme1 extension, and the new
instance number is 2, you would rename the file to hostname.hme2.
instance is the SunSwift PCI adapter. For clarity, the
Chapter 3
Using the SunSwift PCI Adapter
11
Need help?
Do you have a question about the SunSwift and is the answer not in the manual?
Questions and answers