Solution to QCA8172 wired NIC Driver compilation error in Ubuntu12.04

Source: Internet
Author: User
Because the previous laptop configuration was too low to meet scientific research requirements, I bought a fairly new computer. I have installed Ubuntu12.04 + WIN7 in a Linux environment. However, the problem is that my wired network card cannot be found under Ubuntu, and the network card under WIN7 is normal. Run the following command in Ubuntu to query the NIC model: lspci-k | grep-i-A2net: 02: 00.0 Ethernetc

Because the previous laptop configuration was too low to meet scientific research requirements, I bought a fairly new computer.

This is because I have installed Ubuntu 12.04 + WIN7 in a Linux environment. However, the problem is that my wired network card cannot be found under Ubuntu, and the network card under WIN7 is normal.

Run the following command in Ubuntu to query the NIC model:

Lspci-k | grep-I-A2 net

The following information is displayed:

. 0 Ethernet controller: Qualcomm Atheros QCA8172 Fast Ethernet (rev 10)

Subsystem: Lenovo Device 3804

Kernel driver in use: alx (this line is not available before the driver is installed)

--

. 0 Network controller: Qualcomm Atheros ar9133 Wireless Network Adapter (rev 01)

Subsystem: Lenovo Device 3218

Kernel driver in use: ath9k

My wired Nic is: Qualcomm Atheros QCA8172 Fast Ethernet

Find the tutorial on the internet, learned to re-compile the driver, download through the following official website: http://www.linuxfoundation.org/collaborate/workgroups/networking/alx

A problem occurs during compilation according to the steps, and many redefinition compilation errors may occur.

Solution:

Find the location for redefinition one by one, open the source code, comment out all the redefinition functions, and make again to solve the problem.

The Wired Nic can be used normally.

Recommended reading:

Ubuntu 14.04Download, install, configure related knowledge http://www.linuxidc.com/Linux/2014-04/100370.htm

Ubuntu 14.04: Http://www.linuxidc.com/Linux/2014-04/100352.htm

Ubuntu 14.04 text tutorial on hard drive installation in Windows 7Http://www.linuxidc.com/Linux/2014-04/100369.htm

U disk installation Ubuntu 14.04 LTS official edition http://www.linuxidc.com/Linux/2014-04/100446.htm

 

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-05/101186.htm

Related Article

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.