Install Linux NIC Driver manually and easily

Source: Internet
Author: User

Although Microsoft is popular today, many people do not want to abandon Linux. If you want to install Linux, you will find that Linux comes with many Linux Nic drivers, but there are also some uncommon Nic drivers. In this case, you need to install the Linux NIC Driver on your own.

NIC Driver Installation and problems in Linux:

1. Check whether the NIC is installed.

View PCI details # lspci \ If Ethernet information exists, it indicates that the NIC hardware exists

View Nic details # kudzu -- probe -- class = network \ you can see the specific model information of the NIC

Note: Some NICs integrated into the motherboard MUST be activated in the BIOS settings;

BIOS Main Menu-> IntegratedPeripherals-> onbroadlan Enabled

2. view the built-in NIC Driver in Linux.

Linux has many built-in drivers # cd/lib/modules // kernel/drivers/net/

If a NIC Driver is available, it is automatically installed when the system is installed. You can also manually install the driver on your own;

In the above directory # The insmod NIC Driver 2.4 kernel is the. o file, and the 2.6 kernel is the. ko file)

Lsmod view Driver Installation

3. Install the NIC Driver

For Some uncommon NICs, you need to install them by yourself.

First, make sure that the following software exists in your Linux system: kernel-source, kernel, gcc, make

Download the NIC driver to the src directory

# Makeinstall

The. o or. ko file is successfully compiled.

# Insmod. o or. ko

# Lsmod check whether the driver is installed

4. IP configuration

Configure ifconfig or configure the/etc/sysconfig/network-scripts/ifcfg-eth0 File

Note: Sometimes the restart system NIC driver is not loaded automatically. Check whether aliaseth0XXX exists in the/etc/modprobe. conf file.

No XXX is manually added as the NIC Driver name)

In this way, you have manually completed the Linux NIC Driver configuration.

  1. Setting Linux to delete automatic backup saves system space
  2. Configure and use Samba to share directories in Linux
  3. Abandon the Linux operating system and select Microsoft?
  4. Better online shopping for Linux Online Banking
  5. Business empire's "cloud computing" Linux operating system

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.