B
Editing the .usertest File
SunDiag Main Window
38
1. Log into the system as root (superuser) and change directories to the
SunDiag bin directory:
zardoz# cd /opt/SUNWdiag/bin
2. Using a text editor, add the following line to the .usertest file.
hme0, nettest, IF=hme0 v
Note – The format for .usertest entries is test label, test name, and command-
line arguments.
The example given is for a single hme0 interface; for multiple channels add an
additional line for each channel using hme1, hme2, etc.
Because testing the Sun Quad FastEthernet SBus Adapter is user defined,
default options are not displayed in SunDiag interface. Test options for an
hme<num> channel can be defined in the .usertest file using the command
nettest. Type the command nettest without arguments for a list of options,
for example:
zardoz# nettest
Usage: nettest [TARGET=h1+h2...] [IF=interface] {TEST=0..7}
N=nopkts} {P=pattern} [T=seconds]
To start the SunDiag exerciser, change directories to the SunDiag bin directory
(/opt/SUNWdiag/bin) and then type sundiag. After you type the sundiag
command, the main SunDiag window is displayed on your screen (see
Figure B-1). This window is the primary interface for running the SunDiag
system exerciser. Refer to the SunDiag User's Guide, which was shipped with
the Solaris 2.4 operating environment, for more information about using this
window.
Sun Quad FastEthernet SBus Adapter Installation and User's Guide—April 1997
Need help?
Do you have a question about the Quad FastEthernet and is the answer not in the manual?
Questions and answers