Install a wireless NIC Driver in centos

Source: Internet
Author: User

After installing centos, we found that the wireless NIC Driver could not be used, while the lab was in a wireless environment. Therefore, we installed the driver!

 

My Nic is atheros ar5007eg and kernel version 2.6.27.33. I found a method online and shared it as follows:
 
Download madwifi
Madwifi is a third-party atheros driver. It is enough to deal with 5007!
 
Compile and install
You must first install the kernel header file, which is generally a package such as kernel-devel.Source code.
(SUDO is not required for root login)
$ Sudo Yum install kernel-devel.i686
$ Tar zxf./madwifi-*** .tar.gz
$ Cd./madwifi -***
$ Kernelpath =/usr/src/kernel **/make
$ Sudo make install
$ Sudo modprobe ath_pci if it is the kernel header file installed from package management, you do not need to set kernelpath for make! (I don't understand this step)

 

Now I can activate the NIC. I wish you success.

 

 

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.