C H A P T E R  1

Configuring the Driver Software for SunFDDI Adapters

This chapter includes information and instructions for configuring the driver software used by the SunFDDI adapter. Unless otherwise noted, all instructions apply to both the SunFDDI PCI adapter (pf) and the SunFDDI SBus adapter (nf).


Installing the Driver Software

The Solaris CD-ROM contains the software that must be installed in order to use the SunFDDI adapter.



Note - Do not use the installation CD-ROM that shipped with your SunFDDI adapter. The software on the Solaris CD-ROM is more current and replaces previous versions of the driver.



Before using the SunFDDI adapter, you will need to create and edit system host files, as described in the next section


Configuring the Host File

After installing the SunFDDI driver software, you must create a hostname file forthe adapter's interface. You must also create both an IP address and a host name for the interface in the /etc/hosts file.


procedure icon  To Configure the Host File

1. At the command line, use the grep command to search the /etc/path_to_inst file for pf or nf devices.

For a SunFDDI PCI adapter:

# grep pf /etc/path_to_inst
"/pci@1f,2000/pci@2/pf@0" 0 "pf"

In the example above, the pf@0 instance shows a SunFDDI PCI adapter installed in slot 1.

For a SunFDDI SBus adapter:

# grep nf /etc/path_to_inst
"/sbus@1f,0/SUNW,nf@1,7880" 1 "nf"

In the example above, the nf@1 instance shows a SunFDDI SBus adapter installed in slot 2.

2. Create an /etc/hostname.pf num or hostname.nf num file, where num is the instance number of the interface you plan to use.

Using the instance example in SBus Step 1 , the following example shows the
/etc/hostname.nf num files required for a system called zardoz that has a SunFDDI adapter ( zardoz-11) .

# cat /etc/hostname.hme0
zardoz
# cat /etc/hostname.nf0
zardoz-11

1. Create an appropriate entry in the /etc/hosts file for each active nf or pf network interface.

Using the previous example, you will have:

# cat /etc/hosts
#
# Internet host table
#
127.0.0.1     localhost
129.144.10.57 zardoz    loghost
129.144.11.83 zardoz-11

2. Reboot your system.



Note Note - The Internet Protocol, version 6 (IPv6), expands the capabilities of IPv4, which is the current version and the default. The SunFDDI device driver included in this release of the Solaris operating environment supports both IPv4 and IPv6. IPv4 uses the /etc/hosts configuration file, but IPv6 uses a different configuration file. To transition to, manage, and implement IPv6, refer to the Solaris 8 System Administration Guide, Volume 3.




Booting From the Network

To use a SunFDDI adapter interface as the boot device, perform the following tasks:


procedure icon  To Boot From the Network

1. At the ok prompt type:

ok show-devs

The show-devs command lists the system devices. You should see the full path name of the pf or nf devices, similar to the following examples:

For SunFDDI PCI adapter :

/pci@1f,2000/pci@2/pf@0,1

For SunFDDI SBus adapter :

/sbus@1f,0/nf@1,7880



Note Note - You need to select only one of these FDDI devices for booting.



2. At the ok prompt type:

ok boot full_path_name_of_the_fddi_device


local-mac-address Property

Each of the network interfaces of the SunFDDI adapter has been assigned a unique Media Access Control (MAC) address, which represents the 48-bit Ethernet address for that network interface. The OpenBoot firmware reports this MAC address via the local-mac-address property in the device nodes corresponding to the network interfaces.

A system is not obligated to use this assigned MAC address if it has a systemwide MAC address. In such cases, the systemwide MAC address applies to all network interfaces on the system.

The device driver, or any other adapter utility, can use the network device's MAC address ( local-mac-address ) while configuring it. A network interface's MAC address can be used when booting over the network.

The mac-address property of the network device specifies the network address (systemwide or local-mac-address ) used for booting the system. To start using the MAC addresses assigned to the network interfaces of the SunFDDI adapter, set the NVRAM configuration variable local-mac-address? to true

ok setenv local-mac-address? true

.