Centos wireless Nic settings

Source: Internet
Author: User


Lenovo ThinkPad e430. After centos is installed, the wireless network card has been unable to be used. It has gone through two twists and turns to the installation process of the network card driver. It took two nights to finally enjoy using the wireless network card.

1. view the specific model of the wireless network card

[[Email protected] local] # lspci

. 0 network controller: RealTek semiconduco., Ltd. rtl8188ce 802.11b/G/n WiFi adapter (Rev 01)

The driver is rtl8188ce.

Or

[[Email protected] local] # lspci | grep Network

. 0 network controller: RealTek semiconduco., Ltd. rtl8188ce 802.11b/G/n WiFi adapter (Rev 01)

Compared with the second one, it is easier to find. Directly, lspci lists all PCI devices, which is difficult to find.

2. Download

Download the corresponding version. I use 64-bit. I am optimistic about the version from the kernel. Then select the appropriate version to download the driver to the local device.

FTP: // webuser: [email protected]/CN/WLAN/rtl8192ce_linux_2.6.0006.0321.2011.tar.gz

[[Email protected] ~] # Mkdir/usr/local/mayfio

[[Email protected] ~] # Cd/usr/local/mayfio/

[[Email protected] mayfio] # wget ftp: // webuser: [email protected]/CN/WLAN/rtl8192ce_linux_2.6.0006.0321.2011.tar.gz

[[Email protected] mayfio] # chmod 777 rtl8192ce_linux_2.6.0006.0321.2011.tar.gz

[[Email protected] mayfio] # tar-zxvf rtl8192ce_linux_2.6.0006.0321.2011.tar.gz

3. Prepare the installation package

[[Email protected] mayfio] # Yum install kernel-headers kernel-devel gcc

4. Installation

[[Email protected] rtl8192ce_linux_2.6.0006.0321.2011] # Make

If the following error is prompted

Make: ***/lib/modules/2.6.32-358. el6.x86 _ 64/Build: the file or directory does not exist. Stop.

Make: *** [all] Error 2

Solution

[[Email protected] 2.6.32-358. el6.x86 _ 64] # rm build-RF

[[Email protected] 2.6.32-358. el6.x86 _ 64] # ln-S/usr/src/kernels/2.6.32-358.6.1.el6.x86 _ 64/build

Then proceed with make.

[[Email protected] mayfio] # Make

Make [1]: Leaving directory '/usr/src/kernels/2.6.32-358.6.1.el6.x86 _ 64 ′

[[Email protected] mayfio] # make install

Then

# Reboot

After the system is restarted, you can see the wireless network card.

[[Email protected] ~] $ Iwconfig

Lo no wireless extensions.

Eth0 no wireless extensions.

Wlan0 802.11bgn Essid: "nicai" nickname: "rtl8192ce"

Mode: managed frequency = 2.462 GHz Access Point: 84: C9: B2: 32: 01: 8C

Bit Rate = 72 MB/S

Retry: on RTS thr: Off fragment thr: Off

Power Management: Off

Link quality = 100/100 signal level = 0 dBm noise level =-120 dBm

RX invalid nwid: 0 RX invalid crypt: 0 RX invalid frag: 0

TX excessive retries: 0 invalid MISC: 0 missed Beacon: 0

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.