Sun Microsystems Sun Quad manual Etc/hosts file

Page 26

1.At the command line, use the grep command to search the /etc/path_to_inst file for qfe devices.

#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.Create an /etc/hostname.qfe<num> file, where <num> corresponds to the instance number of each interface you plan to use.

If you wanted to use all of the adapter’s interfaces in Step 1’s example, you would need to create four files:

Filename

Instance

Adapter Ethernet Channel

 

Number

(See FIGURE 1-2on page 2)

 

 

 

/etc/hostname.qfe4

4

0

/etc/hostname.qfe5

5

1

/etc/hostname.qfe6

6

2

/etc/hostname.qfe7

7

3

 

 

 

Do not create /etc/hostname.qfe<num> files for Sun Quad FastEthernet PCI adapter channels you plan to leave unused.

The /etc/hostname.qfe<num> file must contain the hostname for the appropriate network 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.hme0 and /etc/hostname.qfe2 cannot share the same host name.

12 Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997

Image 26
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 Preface How This Book Is OrganizedUnix Commands Related DocumentsTypographic Conventions Shell PromptsTable P-1SunExpress Contact Information Ordering Sun DocumentsSun Welcomes Your Comments Product Overview 1Sun Quad FastEthernet PCI adapterFeatures 2Sun Quad FastEthernet PCI adapter Back PanelHardware and Software Requirements Checking the OpenBoot Prom Revision LevelDisplaying the OpenBoot Prom Revision Level 1Hardware and Software RequirementsPage Installing the Adapter Using a text editor, add the following line to the endInstalling the Adapter Verifying the Installation Ok show-devsExamining Network Activity Rebooting the System Perform a reconfiguration boot on the systemPage Configuring the Host Files Configuring the Driver SoftwareInstalling the Driver Software Etc/hosts file Reboot your system # cat /etc/hostsBooting From the Network At the ok prompt typeIncreasing TCP/IP Performance Post-Installation Procedures OptionalConfiguring Driver Parameters As superuser root, typeForcing Network Speed Between 10 Mbps and 100 Mbps TypeAuto-Negotiation Local-mac-address Property Table A-1Physical Dimensions SpecificationsPhysical Dimensions Table A-2Power Requirements Power RequirementsPerformance Specifications Table A-3Performance SpecificationsInterface Signals Ethernet channelsPage Configuring the Quad FastEthernet Device Driver Parameters Internal TransceiverDriver Parameter Values and Definitions Qfe Driver Parameter, Status, and DescriptionsTable B-1qfe Driver Parameter, Status, and Descriptions Defining the Current StatusInter-Packet Gap Parameters Table B-2Read-Only Parameters Defining the Current StatusIpg1 = 8 default at initialization Table B-4Parameters Defining lancemode and ipg0 Operational Mode ParametersTable B-5Operational Mode Parameters Table B-6Back-to-back Packet Transmission Capability Defining the Number of Back-to-Back Packets to TransmitReporting Transceiver Capabilities Table B-7Read-Only Transceiver CapabilitiesReporting the Link Partner Capabilities Table B-8Read-Only Link Partner CapabilitiesSetting qfe Driver Parameters Setting Parameters Using the ndd UtilityTo Specify the Device Instance for the ndd Utility Use the instance number to select the deviceUsing the ndd Utility in Non-Interactive Mode To modify a parameter value, use the -setoption# ndd /dev/qfe \? Setting Forced Mode Setting Parameters in the /etc/system File Table B-9Setting Variables in the /etc/system FileSetting Parameters Using the qfe.conf File Setting the ipg1 and ipg2 ParametersSetting ipg Driver Parameters Using a qfe.conf File Etc/pathtoinst fileSet the ipg1 and ipg2 parameters for the above four devices Kernel/drv/qfe.conf fileRunning Diagnostics Tests Using the OpenBoot Prom FCode SelftestShut down the system Running the Ethernet FCode Selftest DiagnosticReset the system Type show-devsto display the list of devicesOk setenv diag-switch? false Set the auto-boot?configuration parameter to true Reset and reboot the systemEditing, 11 example IndexEditing Creating, 12 editing, 11 examplesLEDs Watch-net-all output Page Ordering Sun Documents AIR Mail PAR Avion