Ethernet card settings for the Solaris 10 Operating System (I)-Driver Installation

Source: Internet
Author: User
Tags gz file
Ethernet card settings for the Solaris 10 Operating System (1)-Driver Installation
The setting of the Ethernet Card (NIC) in the Solaris operating system is a common topic. There are countless materials available on the Internet. But for friends who have just been familiar with Solaris, what is most needed is a concise and easy-to-read guide. In view of this, this article will sort out and summarize some of the basic operations and common problems involved in the network card setup process, supplemented by the author's experience in setting the network card under Solaris 10, hope to provide readers with an entry-level reference.

Hardware environment:X86 PC, Asus motherboard, integrated via Rhine II Ethernet Adapter
Operating System:Solaris 10 1/06 x86

To make it easier to read, this article divides the content into three parts: Driver Installation, Nic setting entry, and nic setting improvement. If there are any mistakes in this article, I hope you will criticize and correct them.

1. Driver Installation

The NIC must work properly and must be supported by the NIC Driver. For some common models of NICs, Solaris 10 has put their drivers in the installation package. When installing the operating system, you will be prompted to set the NIC. If your network card doesn't happen to be here, you can only get yourself done.

1. How to know the NIC Model
1) view the Tag Information on the NIC
2) view it in the Device Manager of windows, or execute ipconfig/all in the command line.
3) if you are a brand machine, check the configuration information in the product manual.

My machine is a compatible machine, and the NIC is integrated on the motherboard. The information displayed in the Windows Device Manager is via Rhine II fast Ethernet adatper.

2. How to determine whether the NIC has a ready-made driver in Solaris 10
1) go to Sun's website and check the address: , Click networking. Don't be discouraged if you don't find it. Click Next page to check it out.
2) Another method is to install Solaris 10. If the installer does not prompt you to set the network from start to end, the driver of the NIC should not be found.

During the installation of Solaris 10, no link prompts me to set the NIC. After you enter the Solaris system and run ifconfig-a, there is only one local self-Loop Network lo0. It seems that you can only install it on your own.

3. Download the driver
Where can I download the NIC Driver? We recommend the following driver sources:
1) website of NIC manufacturer
5) sun's official website
6) search by Search Engine

After some searching, I finally Download the driver of via Rhine II under Solaris. Is a compressed file rh-2.0.1.tar.gz, which contains both compiled binary driver files and source code.

4. Copy the driver to the Solaris operating system.
Unable to upload driver files over the network because the network adapter is not working yet.
The following three storage media can be used to copy driver files to the Solaris File System.
2) floppy disk
3) USB storage device

I used nerosoftware in Windows to burn rh-2.0.1.tar.gz to a blank disc (the file is only 163 KB, which is a waste ). Next, log on to Solaris as the root user 10, copy the rh-2.0.1.tar.gz file from the CD to the Solaris hard disk, and decompress it.
# Cp/CDROM/cdrom0/rh-2.0.1.tar.gz/tmp
# Gzip-DC rh-2.0.1.tar.gz | tar xvf-
Generate a rh-2.0.1 directory under the/tmp directory. The driver file RH is located under the OBJ subdirectory.

5. Install the driver
Nic drivers can be released in multiple ways, so the corresponding installation methods are also different.
1) PKG package: Install the driver released by using the PKG file. You only need to execute a command to get it done:
# Pkgadd-D.

2) installation script: Some Nic drivers are released in a separate binary file mode, and the installation script and readme file are also provided. The specific installation method is provided in readme.
3) No installation script: use the original driver installation method, that is, use the add_drv command for installation. The method is to copy the driver file to the/kernel/drv or/usr/kernel/drv directory, and then execute #/usr/sbin/add_drv-n-v-I , . " , "Can be found in the result of # prtconf-PV.

The Installation Method for The rh-2.0.1 is second, with the ready-made installation script file Follow the prompts in readme to execute
# Cd/tmp/rh-2.0.1
#/Usr/CCS/bin/make install
Driver (RH) installed.
The driver is successfully installed.

6. Nic naming rules
Solaris uses a unique device name to identify each physical Nic. The naming rule for the NIC device name is That is, the driver name is followed by a number starting from 0. For example, if three NICs are installed on the machine that use the driver iprb, they are named iprb0, iprb1, and iprb2.

According to this rule, my Nic device name should be rh0. Run the command to view the network card of the currently installed driver.
# Dladm show-Link
Rh0 type: Legacy MTU: 1500 device: rh0
Indeed, there is rh0.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.