CentOS 5.10 Installation Wireless Card driver Comprehensive summary

Source: Internet
Author: User

Reprint Please specify source: http://blog.csdn.net/bettarwang/article/details/41908987

these days, because I wanted to try CentOS, I installed a centos 5.10 on my laptop, but the problem came after the installation: It didn't have the appropriate wireless card driver after installing it like Ubuntu. So if you want to install or update the software with Yum, the first thing to do is install the wireless card driver. The middle of the process is very tortuous, because many people on the network of the article is already able to surf the Internet (for example, via wired Internet) to install the wireless network card driver, it is much simpler. In order to make it easier for later people to fix this problem, write this article intentionally.

Step One: Check your wireless adapter model

Enter the following command under root:

Lspci|grep Ethernet
My display is 05:00.0 Ethernet controller:qualcomm atheros:ar8151 v2.0 Gigabit Ethernet (REVC0)

This indicates that my NIC model is AR8151

Generally like in the win system directly to its official website to obtain the driver can, but I on its official website found it unexpectedly did not prepare the corresponding driver for Linux system, the main reason may be that the manufacturers think Linux users less, investment is not worth it.

Fortunately, there are a lot of enthusiastic netizens themselves wrote the corresponding driver, I found the corresponding driver in http://www.linuxidc.com/Linux/2012-11/75101.htm this article, once again thank the author's selfless contribution.

If a reader wants this driver, leave the email below and I can send it to you.

Step Two: Prepare for pre-installation work

The above mentioned article, in fact, omitted the installation of the preparation before the driver, that is, first install the kernel-headers and GCC compiler, otherwise after the installation of makefile:61*** Linux kernel source not found error.

It is recommended to go to CentOS's official website to find the appropriate installation package, in fact, it is not possible, but this may be a minor version incompatibility problem. It's completely unnecessary, because these are included in the ISO used to install the system, just unzip it, and then you can find kernel-headers-2.6.18-371.el5.i386.rpm under CentOS, kernel-devel-2.6.18-371.el5.i686.rpm,gcc-4.1.2-54.el5.i386.rpm these files. Of course, there is a corresponding library dependency, but these need libraries are also under CentOS.

So we just need to use a USB flash drive or CD copy the past, and then mount it to install. Here is the installation order:

RPM-IVH cpp-4.1.2-54.el5.i386.rpm

RPM-IVH kernel-headers-2.6.18-371.el5.i386.rpm

RPM-IVH kernel-devel-2.6.18-371.el5.i686.rpm

RPM-IVH glibc-headers-2.5-118.i386.rpm

RPM-IVH glibc-devel-2.5-118.i386.rpm

RPM-IVH libgomp-4.4.7-1.el5.i386.rpm

RPM-IVH gcc-4.1.2-54.el5.i386.rpm

The GCC compiler needs to be installed because the acquired driver files are actually source files that need to be compiled before they can be used.

Step three: Compile and install the wireless card driver.

      will drive file Unzip and put to/usr/local/src/ Under the Nicdriver directory (if the directory is not mkdir first), then execute the following command in turn:

1. Cd/usr/local/src/nicdriver
2. Make
3. Make install
4. CD/LIB/MODULES/2.6.18-194.EL5PAE/KERNEL/DRIVERS/NET/ATL1E (The reason you want to switch directories here is because of the actions above, Will generate a Atl1e.ko file under this directory, which is exactly what we need.
5. Insmod Atl1e.ko (when performing this step, the message "Insmod:error inserting ' Atl1e.ko ':-1 File exists" is displayed, do not bother, proceed to the following command)
6. Lsmod |grep atl1e (if this step is performed, a message similar to "ATL1E 744000" is displayed, indicating that the driver has been successfully completed)
7. Ifconfig-a (again, if you see the word "eth0" in the output of the command, it means the NIC is already normal)

After completing the above steps, you can set up other information about the network card, such as IP address, DNS, etc. At this point, if you want to set up a wireless network like win, you only need the following two commands:

First, open the NetworkManager service, under root user, execute

Chkconfig NetworkManager on
Then restart the NIC

Service NetworkManager Start

This allows a wireless network icon to appear in the upper-right corner of the graphical interface, where it can be searched for nearby network signals.


But I personally prefer to configure directly with the command line, which has been explained in great detail, I will not repeat the wheel, I would like to use the command line network configuration recommended this article: http://blog.csdn.net/centre10/article/details/6769490


CentOS 5.10 Installation Wireless Card driver Comprehensive summary

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.