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)centos
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/