Redhat 6.3安装RTL8188CE无线驱动

  1. 先通过命令查看本机无线网卡的型号。

    [root@chen Desktop]# lspci
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
    05:00.0 System peripheral: Ricoh Co Ltd Device e823 (rev 07)
    06:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)

  2. 到Realtek官网查找驱动型号的Linux驱动。

    www.realtek.com/downloads

    通过下载得到如下驱动:

    [root@chen Downloads]# ls
    0001-rtl8192ce_linux_2.6.0006.0321.2011.tar.gz

  3. 通过解压文件:tar -zxvf  0001-rtl8192ce_linux_2.6.0006.0321.2011.tar.gz

  4. 进入解压文件,进行安装

    [root@chen Downloads]# cd rtl8192ce_linux_2.6.0006.0321.2011

    [root@chen rtl8192ce_linux_2.6.0006.0321.2011]# ls
    firmware  HAL  Makefile  modules.order  Module.symvers  readme.txt  realtek  release_note  rtllib  runwpa  wpa1.conf  wpa_supplicant-0.6.9.tar.gz
    [root@chen rtl8192ce_linux_2.6.0006.0321.2011]# make
    make[1]: Entering directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
      Building modules, stage 2.
      MODPOST 1 modules
    make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
    [root@chen rtl8192ce_linux_2.6.0006.0321.2011]# make install
    make[1]: Entering directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
      Building modules, stage 2.
      MODPOST 1 modules
    make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
    make[1]: Entering directory `/root/Downloads/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192'
    make -C /lib/modules/2.6.32-279.el6.x86_64/build M=/root/Downloads/rtl8192ce_linux_2.6.0006.0321.2011 CC=gcc modules
    make[2]: Entering directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
      Building modules, stage 2.
      MODPOST 0 modules
    make[2]: Leaving directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
    find /lib/modules/2.6.32-279.el6.x86_64 -name "r8192ce_*.ko" -exec ls -l {} \;
    -rw-r--r--. 1 root root 13453802 Sep  2 10:38 /lib/modules/2.6.32-279.el6.x86_64/kernel/drivers/net/wireless/r8192ce_pci.ko
    find /lib/modules/2.6.32-279.el6.x86_64 -name "r8192ce_*.ko" -exec rm {} \;
    install -p -m 644 r8192ce_pci.ko /lib/modules/2.6.32-279.el6.x86_64/kernel/drivers/net/wireless/
    depmod -a
    make[1]: Leaving directory `/root/Downloads/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192'
    [root@chen rtl8192ce_linux_2.6.0006.0321.2011]#

  5. 重启系统reboot,验证无线网卡正常使用


你可能感兴趣的:(linux)