C H A P T E R 2 |
Configuring the Driver Software |
This chapter includes information and instructions for configuring the driver software used by the Sun eri FastEthernet PCI adapter.
This chapter includes the following sections:
The 64-bit driver is included with the Solaris CD.
Before using eri as your network interface, you will need to create and edit system host files, as described in the next section.
1. At the command line, use the grep command to search the /etc/path_to_inst file for eri devices. For example:
2. Create an /etc/hostname.eri num file, where num is the instance number of each interface you plan to use.
If you want to use the network interface from the example in Step 1 , you will need to create a file:
Do not create /etc/hostname.erinum files for Sun eri FastEthernet network interfaces you plan to leave unused.
The /etc/hostname.erinum file must contain the host name for the appropriate network interface.
The host name should have an IP address that will need to be entered in the
/etc/hosts file.
The host name should be different from any other host name of any other interface, for example: /etc/hostname.hme0 and /etc/hostname.eri0 cannot share the same host name.
Using the instance examples in
Step 1
, the following example shows the two
/etc/hostname.erinum files required for a system called
zardoz
that has a Sun eri FastEthernet (
zardoz, zardoz-11
).
3. Create an appropriate entry in the /etc/hosts file for each active eri 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 |
To use a Sun eri interface as the boot device, perform the following tasks:
The show-nets command lists the system devices. You should see the full path name of the eri devices, similar to the following examples:
Note Note - You need to select only one of these eri devices for booting. |
To customize the performance of the Sun eri FastEthernet driver, perform the tasks in the following sections.
The eri device driver, which is loaded from the Solaris CD-ROM, controls the SUNW,eri Ethernet devices. The device driver selects the link speed using the auto-negotiation protocol with the link partner.
You can manually set the eri device driver parameters to customize each SUNW,eri device in your system in one of three ways.
Set a parameter on a per-device basis by creating the eri.conf file in the /kernel/drv directory.
Use the ndd utility to temporarily change a parameter. This change is lost when you reboot the system.
Set the eri driver parameters generally for all SUNW,eri devices in the system by entering the parameter variables in the /etc/system file.
See Chapter 4 "Setting Parameters" for more information.
1. At the ok prompt, use the show-nets command to list the system devices.
You should see the full path names of the eri devices, similar to the following example:
3. Type the following, pressing the Return key at the end of line 0:
Note Note - If you already have commands in NVRAM, append these lines to the end of the file. |
4. Press Control-C after typing full_ path_name_of_a_ eri _device.
Perform Steps 2 to 4 to set the network speed for each eri network interface.
Note Note - In the preceding example, the speed is forced to 10 Mbps. To force the speed to 100 Mbps, replace 10 with 100. |
See Setting Forced Mode for more information on forcing network speed.
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.