先通过命令查看本机无线网卡的型号。
[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)到Realtek官网查找驱动型号的Linux驱动。
通过下载得到如下驱动:
[root@chen Downloads]# ls
0001-rtl8192ce_linux_2.6.0006.0321.2011.tar.gz通过解压文件:tar -zxvf 0001-rtl8192ce_linux_2.6.0006.0321.2011.tar.gz
进入解压文件,进行安装
[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]# makemake[1]: Entering directory `/usr/src/kernels/2.6.32-279.el6.x86_64' Building modules, stage 2. MODPOST 1 modulesmake[1]: Leaving directory `/usr/src/kernels/2.6.32-279.el6.x86_64'[root@chen rtl8192ce_linux_2.6.0006.0321.2011]# make installmake[1]: Entering directory `/usr/src/kernels/2.6.32-279.el6.x86_64' Building modules, stage 2. MODPOST 1 modulesmake[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 modulesmake[2]: Entering directory `/usr/src/kernels/2.6.32-279.el6.x86_64' Building modules, stage 2. MODPOST 0 modulesmake[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.kofind /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 -amake[1]: Leaving directory `/root/Downloads/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192'[root@chen rtl8192ce_linux_2.6.0006.0321.2011]#重启系统reboot,验证无线网卡正常使用