2010年8月25日 星期三

Centos5.5安裝無線網路卡驅動程式

為了安裝這無線網卡驅動程式,可花了不少時間! 在google的幫忙下,參考了不少文件!
安裝機器: HP NC6220 NOTEBOOK

nc6220 使用 intel的無線網路卡,可以用下列指令找到型號(在)文字模式下:
#lspci | grep intel
可以在回應的內容中找到 Network Controller:Intel Corporation PRO/Wireless 2200BG 字串
#dmesg | grep Network ' can find ipw2200 module

modprobe -r ipw2200; modprobe ipw2200
{
在常常開關機的情況下,常常會遇到無線網路卡啟用失敗的狀況,就需使用下列方式重新啟動無線網路卡
modprobe -r ipw2200 ; modprobe ipw2200 ; ifup eth1
}

#vi /etc/sysconfig/network-scripts/ifcfg-eth1
內有一行 SECURITYMODE= 的參數 ,原本用UI介面設定,只有open 和另一個shared,但好像都不行連上AP
後來填入WEP 可正常連上AP,但會出現錯誤訊息,改成 restricted 就OK啦!
......
-------------------------------------------------
參考網站:
http://linux.vbird.org/linux_server/0130internet_connect.php
http://wiki.centos.org/zh-tw/HowTos/Laptops/Wireless