1,查看一下有没有装过无线网卡驱动 [root@localhost network-scripts]# iwconfig lo no wireless extensions. wlan0 802.11bgn ESSID:"755" Nickname:"rtl8192CE"//如果有这东西出现就说驱动装好了 Mode:Managed Frequency=2.437 GHz Access Point: 38:83:45:32:2C:6E Bit Rate=150 Mb/s Retry:on RTS thr:off Fragment thr:off Encryption key:C9EA-80B7-1756-A1E9-0A03-BE18-02F3-C4A9 Security mode
2,查看无线网卡型号 [root@localhost network-scripts]# lspci |grep -i network 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 无线驱动 |