Sun Microsystems Sun Quad manual To Specify the Device Instance for the ndd Utility

Page 45

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.

#grep qfe /etc/path_to_inst "/pci@1f,2000/pci@2/SUNW,qfe@0,1" 4 "qfe" "/pci@1f,2000/pci@2/SUNW,qfe@1,1" 5 "qfe" "/pci@1f,2000/pci@2/SUNW,qfe@2,1" 6 "qfe" "/pci@1f,2000/pci@2/SUNW,qfe@3,1" 7 "qfe"

In the example above, the four SUNW,qfe@x,1 instances are from a Sun Quad FastEthernet PCI adapter installed in slot 2. For clarity, the instance numbers are bold.

2.Use the instance number to select the device.

#ndd -set /dev/qfe instance instance#

The device remains selected until you change the selection.

Non-Interactive and Interactive Modes

You can use the ndd utility in two modes:

Non-interactive

Interactive

In non-interactive mode, you invoke the utility to execute a specific command. Once the command is executed, you exit the utility. In interactive mode, you can use the utility to get or set more than one parameter value. (Refer to the ndd (1M) man page for more information.)

Appendix B Configuring the Quad FastEthernet Device Driver Parameters 31

Image 45
Contents Sun Quad FastEthernet PCI Adapter Installation User’s Guide Please Recycle Regulatory Compliance Statements DOC Class a Notice Avis DOC, Classe a EMC Page Contents Specifications Running Diagnostics Tests Page How This Book Is Organized PrefaceRelated Documents Unix CommandsShell Prompts Typographic ConventionsOrdering Sun Documents Sun Welcomes Your CommentsTable P-1SunExpress Contact Information 1Sun Quad FastEthernet PCI adapter Product Overview2Sun Quad FastEthernet PCI adapter Back Panel FeaturesDisplaying the OpenBoot Prom Revision Level Checking the OpenBoot Prom Revision LevelHardware and Software Requirements 1Hardware and Software RequirementsPage Using a text editor, add the following line to the end Installing the AdapterInstalling the Adapter Ok show-devs Verifying the InstallationExamining Network Activity Perform a reconfiguration boot on the system Rebooting the SystemPage Configuring the Driver Software Installing the Driver SoftwareConfiguring the Host Files Etc/hosts file # cat /etc/hosts Reboot your systemAt the ok prompt type Booting From the NetworkConfiguring Driver Parameters Post-Installation Procedures OptionalIncreasing TCP/IP Performance As superuser root, typeType Forcing Network Speed Between 10 Mbps and 100 MbpsAuto-Negotiation Local-mac-address Property Specifications Physical DimensionsTable A-1Physical Dimensions Performance Specifications Power RequirementsTable A-2Power Requirements Table A-3Performance SpecificationsEthernet channels Interface SignalsPage Internal Transceiver Configuring the Quad FastEthernet Device Driver ParametersQfe Driver Parameter, Status, and Descriptions Driver Parameter Values and DefinitionsInter-Packet Gap Parameters Defining the Current StatusTable B-1qfe Driver Parameter, Status, and Descriptions Table B-2Read-Only Parameters Defining the Current StatusIpg1 = 8 default at initialization Operational Mode Parameters Table B-5Operational Mode ParametersTable B-4Parameters Defining lancemode and ipg0 Reporting Transceiver Capabilities Defining the Number of Back-to-Back Packets to TransmitTable B-6Back-to-back Packet Transmission Capability Table B-7Read-Only Transceiver CapabilitiesTable B-8Read-Only Link Partner Capabilities Reporting the Link Partner CapabilitiesSetting Parameters Using the ndd Utility Setting qfe Driver ParametersUse the instance number to select the device To Specify the Device Instance for the ndd UtilityTo modify a parameter value, use the -setoption Using the ndd Utility in Non-Interactive Mode# ndd /dev/qfe \? Setting Forced Mode Table B-9Setting Variables in the /etc/system File Setting Parameters in the /etc/system FileSetting the ipg1 and ipg2 Parameters Setting Parameters Using the qfe.conf FileEtc/pathtoinst file Setting ipg Driver Parameters Using a qfe.conf FileKernel/drv/qfe.conf file Set the ipg1 and ipg2 parameters for the above four devicesUsing the OpenBoot Prom FCode Selftest Running Diagnostics TestsReset the system Running the Ethernet FCode Selftest DiagnosticShut down the system Type show-devsto display the list of devicesOk setenv diag-switch? false Reset and reboot the system Set the auto-boot?configuration parameter to trueEditing IndexEditing, 11 example Creating, 12 editing, 11 examplesLEDs Watch-net-all output Page Ordering Sun Documents AIR Mail PAR Avion