Linux network card driver installation of the whole process

Source: Internet
Author: User

Method One, install the driver method with the RPM package:

1. Copy the driver file bcm5700-.src.rpm to a temporary directory, and run the following command in this directory:

RPM–IVH bcm5700-.src.rpm

2. Run the following command to switch to the driver directory:

cd/usr/src/redhat/specs/

3. A file named Bcm5700.spec is generated in this directory, and the driver is compiled by running the following command:

RPMBUILD–BB Bcm5700.spec (for 4.x.x versions of RPM) or RPM-BB Bcm5700.spec

4. Run the following command to switch to the RPM directory:

cd/usr/src/redhat/rpms/i386/

5. Run the following command to install the driver:

RPM–IVH bcm5700-.i386.rpm

(For Red Hat 7.2, 7.3, 2.1AS and other systems that contain older drivers require the use of--force parameters, forcing a new driver to replace the old version of the system with the driver)

6. Run the following command to load the driver module:

Insmod bcm5700

7. Run the kudzu command, the system will automatically search the network card, configuration can be.

or restart the system, the system will automatically find the network card during the boot, the corresponding configuration can be.


Method Two, use the Tar-form driver package:

1. Copy the driver compressed file bcm5700-.tar.gz to a temporary directory and unzip it using the following command:

Tar xvzf bcm5700-.tar.gz

2. Build drivers for running kernel loadable modules

CD Bcm5700-/srcmake

3. Load test

Insmod bcm5700

4. Load Driver

Make install

5. Reboot the system and locate the NIC during startup to configure it accordingly.

or run the kudzu command directly, the system will automatically search the network card, configuration can be.

In fact, the above is the driver after the decompression of the installation documentation of the Chinese translation, but I follow the above steps to walk or encountered a problem, the use of the Make command will be error. Later only to know that I was installed in the RH when the kernel source code. Just install the kernel-source-2.4.20-8.i386.rpm in the installation CD and the package is ready. The last thing to say is that the driver to go to the official website to download the latest version, I downloaded to the old driver and failed to install the success.

I hope this article can help you ~


Linux network card driver installation of the whole process

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: info-contact@alibabacloud.com 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.