CentOS下安装无线网卡驱动 (转)

1. 确定自己的网卡和内核版本:
lspci | grep Network  #根据输出的信息确定网卡的型号。
uname -a             #确定内核版本

2. 配置yum使用RPMForge
yum install yum-priorities

3. 编辑 /etc/yum/pluginconf.d/priorities.conf
确保其中含有下面的内容:
[main]
enable=1

4. 编辑/etc/yum.repos.d/下的.repo files
对每个repository条目设置priority=N,推荐的设置如下:
[base], [addons], [updates], [extras] ... priority=1 
[centosplus],[contrib] ... priority=2
Third Party Repos such as rpmforge ... priority=N  (where N is > 10 and based on your preference)

5. 安装DAG's GPG key:
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt 6. 下载并安装rpmforge-release包:
i386 http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
x86_64 http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
验证包:rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm
安装:rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm
验证安装:yum check-update,应该看到Loading "priorities" plugin 7. 安装无线网卡的驱动
 yum install iwl4965-firmware 8. 装入驱动:
rmmod iwl4965; modprobe iwl4965 9. 启动
重启NetworkManager: service NetworkManager restart
设置开机启动: chkconfig NetworkManager on
正常情况下,无线就可以使用了。 参考文档:
http://wiki.centos.org/zh/PackageManagement/Yum/Priorities
http://wiki.centos.org/HowTos/Laptops/Wireless#head-572fdaacad98481eae74b97be5e0b9e88175b43b
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge?action=show&redirect=Repositories%2FRPMForge
原文地址:http://blog.163.com/pursue100@yeah/blog/static/165732158201142992645963/
上一篇:安全基线自动化扫描、生成报告、加固的实现(以Tomcat为例)


下一篇:ABP框架使用Mysql数据库,以及基于SQLServer创建Mysql数据库的架构和数据