Solution to NIC Driver problems of Atheros AR8161/AR8162 in CentOS 6.4

Source: Internet
Author: User

Solution to NIC Driver problems of Atheros AR8161/AR8162 in CentOS 6.4

This is a terrible problem, so I will write this article only for later users.

CentOS 6.4 is installed on the physical machine and Win7 to form a dual system, but CentOS has been unable to connect to the network, a closer look to find that the network cable interface is not bright. The NIC driver does not exist! Eth0 is not displayed when you execute the ifconfig command!

In Windows, it is extremely convenient for the driver genie to solve the driver problem. However, in Linux, the driver will find it by himself.

Now I have found out. For the CentOS 6.X series, if your network card is set to the Atheros AR8161/AR8162 series, download the attachment below this blog post (look carefully, the word is relatively small, can't find a message for me), put it in CentOS, decompress it, enter the directory, make it directly, and then enter the src subdirectory, and then execute insmod alx. ko command.

[Root @ KD src] # ls
Alx_compat.c alx. h alx. mod. c
Alx_compat_ethtool.c alx_hwcom.h alx. mod. o
Alx_compat.h alx. ko alx. o
Alx_compat.o alx. ko. unsigned alx_param.c
Alx_ethtool.c alx_main.c alx_param.o
Alx_ethtool.o alx_main.o alx_sw.h
[Root @ KD src] # insmod alx. ko
Check that your network cable interface is shining. Run the ifconfig command to view eth0!

Note: This method will expire after restart. You must enter the src subdirectory again after each restart or startup and execute the insmod alx. ko command again. You can write a script to fix it. I don't know why it will expire after restart ~

Go to the next pppoe dial-up software. For more information, see 【].

Install CentOS7.0 on a vmwarevm

64-bit CentOS 6.5 Installation Method

64-bit CentOS 6.4 dual-system installation in Win7

Precautions for installing CentOS and Windows systems

Install Windows 8 and CentOS on UEFI + GPT

Windows 8.1 and CentOS6.5 dual-system installation

Basic Optimization after CentOS 5.6 Linux is installed

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.