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