CentOS6.3安装RTL8188CE无线网卡驱动

1.驱动下载地址:

RTL8188无线网卡驱动下载


2.安装步骤:

[root@cloud ~]# yum -y install wireless-tools pciutils make gcc gcc-c++ kernel-devel

[root@cloud ~]# yum update

[root@cloud ~]# tar -zxvf rtl8192ce_linux_2.6.0006.0321.2011.tar.gz

[root@cloud ~]# cd rtl8192ce_linux_2.6.0006.0321.2011

[root@cloud rtl8192ce_linux_2.6.0006.0321.2011]# make

[root@cloud rtl8192ce_linux_2.6.0006.0321.2011]# make install

[root@cloud rtl8192ce_linux_2.6.0006.0321.2011]# reboot

………………

3.卸载命令:

[root@cloud rtl8192ce_linux_2.6.0006.0321.2011]# make uninstalll

4.注意事项:

CentOS6.3系统内核版本是2.6.32-279.el6.x86_64,而yum kernel-devel后/usr/src/kernel下文件名是:2.6.32-358.18.1.el6.x86_64,造成不统一,安装驱动失败,所以在make驱动前要保证内核版本、/lib/modules/内核版本、/lib/modules/内核版/build链接名、以及/usr/src/kernel下内核版本四者一致:

[root@cloud ~]# uname -r

2.6.32-358.18.1.el6.x86_64

[root@cloud ~]# 

ll /lib/modules/

总用量 8

drwxr-xr-x. 8 root root 4096 9月  26 17:43 2.6.32-279.el6.x86_64

drwxr-xr-x  7 root root 4096 9月  26 17:53 2.6.32-358.18.1.el6.x86_64

[root@cloud ~]# 

ll /lib/modules/2.6.32-358.18.1.el6.x86_64/ |grep build

lrwxrwxrwx  1 root root     51 9月  26 17:44 build -> ../../../usr/src/kernels/2.6.32-358.18.1.el6.x86_64

lrwxrwxrwx  1 root root      5 9月  26 17:32 source -> build

[root@cloud ~]# 

[root@cniaas ~]# ll /usr/src/kernels/

总用量 6520

drwxr-xr-x 22 root root    4096 9月  26 17:17 2.6.32-279.el6.x86_64

lrwxrwxrwx  1 root root      46 9月  26 17:02 2.6.32-358.18.1.el6.x86_64 -> ../../../usr/src/kernels/2.6.32-279.el6.x86_64

其他:

查看当前网卡型号:

[root@master ~]# lspci | grep Ethernet

00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V (rev 04)

02:00.0 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet (rev 10)

[root@master ~]# lspci | grep Wireless

03:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)


原文地址:https://www.cnblogs.com/myiaas/p/4161369.html