beautypg.com

Setting parameters using ndd, Identifying device instances – Sun Microsystems Ethernet Device Driver none User Manual

Page 28

background image

20

Platform Notes: The hme Fast Ethernet Device DriverMay 1996

4

To set parameters so they remain in effect after you reboot the system:

Add the parameter values to

/etc/system

when you want to configure

parameters for all devices in the system.

Create the

hme.conf

file and add parameter values to

hme.conf

when you

need to set a particular parameter for a device in the system.

If you want to test parameter settings, use the

ndd

utility described in Chapter

3. With

ndd,

the parameters are effective until you reboot the system. To

make the parameter settings permanent, enter the values in

/etc/system

or

hme.conf

as described in this chapter.

Setting Parameters Using

ndd

Use the

ndd

utility to configure parameters that are valid until you reboot the

system. The

ndd

utility supports any networking driver, which implements the

Data Link Provider Interface (DLPI).

The following sections describe how you can use the

hme

driver and the

ndd

utility to modify (with the

-set

option) or display (without the

-set

option)

the parameters for each

SUNW,hme

device.

Identifying Device Instances

Before you use the

ndd

utility to get or set a parameter for the

hme

device, you

must specify the device instance for the utility if there is more than one

SUNW,hme

device.

Note –

If there is only one

SUNW,hme

device, the device is automatically

chosen by the

ndd

utility.

To specify the device instance for the

ndd

utility

1. Check the

/etc/path_to_inst

file to identify the instance associated

with a particular device.