Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of installing driver in linux

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail how to install the driver for linux. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

There are generally two formats for linux drivers: tar and rpm.

Rpm installation steps:

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 change to the driver directory:

Cd / usr/src/redhat/SPECS/

3. A file named bcm5700.spec will be generated in this directory, and run the following command to compile the driver:

Rpmbuild-bb bcm5700.spec (for 4.x.x versions of RPM) or rpm-bb bcm5700.spec

4. Run the following command to change 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, you need to use the parameter-- force to force the replacement of old drivers with new ones)

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

Insmod bcm5700

7. Run the kudzu command, and the system will automatically search the hardware and configure it.

Or restart the system, during the startup process, the system will automatically find the hardware and configure it accordingly.

Installation steps in tar format:

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

Tar xvzf bcm5700-.tar.gz

2. Build the driver to run the kernel loadable module

Cd bcm5700-/src

Make

3. Load test

Insmod bcm5700

4. Load the driver

Make install

5. Restart the system, find the hardware during the boot process, and configure it accordingly.

Or run the kudzu command directly, and the system will automatically search the hardware and configure it.

On the linux driver installation method to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report