1,查看一下有沒有裝過無線網卡驅動linux
[root@localhost network-scripts]# iwconfig centos
lo no wireless extensions. less
wlan0 802.11bgn ESSID:"755" Nickname:"rtl8192CE" //若是有這東西出現就說驅動裝好了 spa
Mode:Managed Frequency=2.437 GHz Access Point: 38:83:45:32:2C:6E orm
Bit Rate=150 Mb/s blog
Retry:on RTS thr:off Fragment thr:off ip
Encryption key:C9EA-80B7-1756-A1E9-0A03-BE18-02F3-C4A9 Security mode ci
2,查看無線網卡型號get
[root@localhost network-scripts]# lspci |grep -i network it
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01) //RTL8188CE無線網卡型號
3,查看linux內核版本
[root@localhost network-scripts]# uname -r
2.6.32-358.el6.x86_64 //內核版本,2.6.32-358
4,下載無線網卡驅動
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PFid=48&Level=5&Conn=4&ProdID=228&DownTypeID=3&GetDown=false&Downloads=true
找對應本身網卡型號和內核版本的驅動,不過也有例外,個人內核是2.6.32的,我下的是Linux driver for kernel 2.6.23 (and earlier),而不是Linux driver for kernel 2.6.24 (and later),2.6.24這個版本報了個錯,沒裝成功.
tar zxvf rtl8192ce_linux_2.6.0006.0321.2011.tar.gz
cd rtl8192ce_linux_2.6.0006.0321.2011
make && make install
若是下錯版本,裝錯了,先make clean後,在從新裝。裝好後,重啓一下電腦。搞定
centos 無線驅動