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!