Sun Microsystems THE SUN 805-7945-10 User Manual
Page 21
Installing and Configuring the
ge
Device Driver
17
1. At the command line, use the
grep
command to search the
/etc/path_to_inst
file for
ge
interfaces.
For Sun GigabitEthernet/P:
The following example shows the device instance from an adapter installed in slot 1.
For Sun GigabitEthernet/S:
The following example shows the device instance from an adapter installed in slot 0.
2. Create an
/etc/hostname.ge
the
ge
interface you plan to use.
If you wanted to use the adapter’s
ge
interface in the Step 1 example, you would
need to create a
/etc/hostname.ge0
file, where
0
is the number of the
ge
interface. If the instance number were 1, the file name would be
/etc/hostname.ge1
.
■
Do not create an
/etc/hostname.ge
num file for a Sun GigabitEthernet adapter
interface you plan to leave unused.
■
The
/etc/hostname.ge
num file must contain the host name for the appropriate
ge
interface.
■
The host name should have an IP address and should 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.ge0
and
/etc/hostname.ge1
cannot
share the same host name.
The following example shows the
/etc/hostname.ge
num file required for a
system called
zardoz
that has a Sun GigabitEthernet adapter (
zardoz-11)
.
# grep ge /etc/path_to_inst
“/pci@1f,4000/network@1” 0 “ge”
# grep ge /etc/path_to_inst
“/sbus@1f,0/network@1” 0 “ge”
# cat /etc/hostname.ge0
zardoz
# cat /etc/hostname.ge1
zardoz-11