I tried installing a driver for a NIC that is not recognized by Linux


I bought a new model of server and When installing CentOS 6 I didn't recognize one NIC probably because the OS is old.

I have to download the NIC driver from Intel or something, It took a little time, so Keep a record.

As a flow, Install the same kernel-devel as the OS build, Install the module for driver installation, Get the information of the NIC installed in the server, Download and install the driver from Intel.


Install kernel-devel

Check the OS build and put it in a variable

# KERNEL_VERSION=`uname -r`

# cd /usr/local/src

Find the kernel-devel of the OS build from the following site and copy the URL of the rpm file http://rpm.pbone.net/

# wget "Copyed URL"


##Check what you have installed
# rpm -qa | grep kernel-devel
# ls -l /usr/src/kernels/

##Make sure the link goes through
# ls -l /lib/modules/${KERNEL_VERSION}/build/

Preparation of installation module

# yum -y install "Development Tools"
# yum -y install man

Check that the device is in order with the following command

# lspci | grep Ethernet
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (6) I219-V (rev 30)
01:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)

Obtain the device information acquisition tool from the following site https://downloadcenter.intel.com/ja/download/17289

# chmod 777 netdriverinfo.sh
# ./netdriverinfo.sh
eth1 : 00:1f.6
    Make/Model = Intel Corporation Device 0000
    Ethernet controller = Intel Corporation Ethernet Connection
    VenID:DevID = 8086:15be
    Driver name = e1000e
    Driver version = 3.5.1-NAPI
eth0 : 01:00.0
    Make/Model = Holco Enterprise Co, Ltd/Shuttle Computer Device 4076
    Ethernet controller = Intel Corporation I211 Gigabit Network Connection
    VenID:DevID = 8086:1539
    Driver name = igb
    Driver version =

If you google the "Driver name" and "Driver version" of the NIC that you do not currently recognize, The download page will appear immediately, so copy it to the server

Driver installation

Unzip the driver downloaded from the manufacturer and install

//Unzip the file(Example)
# tar zvxf e1000e-3.5.1.tar.gz

//After unzipping, move to the src directory in the directory and install
# make install

//Make sure the NIC driver is installed
# ifconfig -a

After the NIC is recognized, restart the server and You can do whatever you want from the NIC config file

Referenced page

Install Linux kernel-devel Install 10Gigabit Ethernet NIC driver

Recommended Posts

I tried installing a driver for a NIC that is not recognized by Linux
I tried installing MySQL on a Linux virtual machine on OCI Compute
I want to specify a file that is not a character string for logrotate, but is it impossible?
Windows Subsystem for Linux is not displayed
I tried to implement deep learning that is not deep with only NumPy
The NVM Checksum Is Not Valid, a solution to the problem that Intel's wired LAN is not recognized on Linux
I tried to explain what a Python generator is for as easily as possible.
I tried to make a dictionary function that does not distinguish between cases
I made a VM that runs OpenCV for Python
I tried a simple RPA for login with selenium
I tried installing the Linux kernel on virtualbox + vagrant
[1 hour challenge] I tried to make a fortune-telling site that is too suitable with Python
I wrote a miscellaneous Ansible module that enables Virtualenv to be used by installing Pythonz.
What is Linux for?
I searched for works that are highly evaluated by Naro
I tried "a program that removes duplicate statements in Python"
I tried using Tensorboard, a visualization tool for machine learning
Miscellaneous notes that I tried using python for the matter
I tried to create a bot for PES event notification
A story that is a little addicted to the authority of the directory specified by expdp (for beginners)