Install the AR8162 NIC Driver in Linux

Source: Internet
Author: User

When I installed CentOS for Lenovo's G480 notebook, I found that the AR8162 Nic had no driver. I found the information on the Internet because I encountered some other problems, therefore, only a few posts are combined to solve the problem. Download compat-wireless-3.6.8-1-snpc.tar.bz2

Run the following command:

Tar-xvf compat-wireless-3.6.8-1-snpc.tar [Extract files]
Cd/home/zhao/compat-wireless-3.6.8-1-snpc [switch to the unzipped folder location]
./Scripts/driver-select alx [load driver]
Sudo make & make install

An error occurred while executing the make command. The prompt is:

/Lib/modules/3.5.0-17-generic/build: the file or directory does not exist.

I searched the internet and found this error when many people compile the driver. Find a simple method: Execute the command:

Apt-get install linux-headers-'uname-R'

Note that in the command, it is not a single quotation mark, but the symbol on the left of the Number 1. Check the meaning.

Then you can execute the make and make install commands normally. OK, the problem is solved!

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.