centos無線網卡設定

來源:互聯網
上載者:User

標籤:使用   os   檔案   io   re   c   


聯想thinkpad E430 ,安裝上centos後,無線網卡一直無法使用,經曆了艱苦曲折到網卡驅動安裝過程,曆時2個晚上終於開心到用上無線網卡。

  1.查看無線網卡到具體型號

  [[email protected] local]# lspci

  09:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)

  可見對應的驅動為:RTL8188CE

  或者

  [[email protected] local]# lspci |grep Network

  09:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)

  相比較第二個比較方便尋找。直接lspci會把所有pci上到裝置都列出來,尋找起來比較麻煩。

  2.下載

  下載相應版本,我的是64位,看好自己到核心版本。然後選擇相應到版本驅動下載到本地

  ftp://WebUser:[email protected]/cn/wlan/rtl8192ce_linux_2.6.0006.0321.2011.tar.gz

  [[email protected] ~]# mkdir /usr/local/mayfio

  [[email protected] ~]# cd /usr/local/mayfio/

  [[email protected] mayfio]# wget ftp://WebUser:[email protected]/cn/wlan/rtl8192ce_linux_2.6.0006.0321.2011.tar.gz

  [[email protected] mayfio]# chmod 777 rtl8192ce_linux_2.6.0006.0321.2011.tar.gz

  [[email protected] mayfio]# tar -zxvf rtl8192ce_linux_2.6.0006.0321.2011.tar.gz

  3.準備安裝包

  [[email protected] mayfio]# yum install kernel-headers kernel-devel gcc

  4.安裝

  [[email protected] rtl8192ce_linux_2.6.0006.0321.2011]# make

  這時候如果提示如下錯誤

  make: *** /lib/modules/2.6.32-358.el6.x86_64/build: 沒有那個檔案或目錄。 停止。

  make: *** [all] 錯誤 2

  解決辦法

  [[email protected] 2.6.32-358.el6.x86_64]# rm build -rf

  [[email protected] 2.6.32-358.el6.x86_64]# ln -s /usr/src/kernels/2.6.32-358.6.1.el6.x86_64/ build

  然後繼續make即可

  [[email protected] mayfio]# make

  make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.6.1.el6.x86_64′

  [[email protected] mayfio]# make install

  然後

  # reboot

  系統重啟後,就可以看到無線網卡啦。

  [[email protected] ~]$ iwconfig

  lo no wireless extensions.

  eth0 no wireless extensions.

  wlan0 802.11bgn ESSID:”nicai” Nickname:”rtl8192CE”

  Mode:Managed Frequency=2.462 GHz Access Point: 84:C9:B2:32:01:8C

  Bit Rate=72 Mb/s

  Retry:on RTS thr:off Fragment thr:off

  Power Management:off

  Link Quality=100/100 Signal level=0 dBm Noise level=-120 dBm

  Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0

  Tx excessive retries:0 Invalid misc:0 Missed beacon:0

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.