Linux配置无线网卡驱动实现无线上网

本机装Linux,需要配置的无线驱动。一般Ubuntu都集成无线驱动,基本上无线可以直接使用!

01、查看无线网卡的型号

 [root@Mr-zhao software]# lspci    | grep  -i  network

03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL 8188CE 802.11b/g/n WiFi Adapter (rev 01)

可以看到我的网卡类型为 RTL8188CE

02、RTL驱动下载:

https://github.com/lwfinger/rtlwifi_new

03、解压包,进行编译安装,先要有编译工具,不然会报错!

root@Mr-zhao software]# yum  install  gcc  -y                //安装gcc编译工具

                                      yum install kernel-devel  -y

make clean ,再执行make; make install。就ok啦!

 如果报错,基本上都是kernel相关,执行系列命令即可解决!

yum install -y kernel*

04、启动无线网卡

modprobe  rtl8192ee  #网卡的类型

ifconfig    

参考下列:

1、在内核中配置8192ee
2、git clone https://github.com/lwfinger/rtlwifi_new.git
3、make
4、make install
5、复制到/lib/firmware/rtlwifi/rtl8192eefw.bin  #或者直接启动   modprobe rtl8192ee

参考:

http://www.linuxidc.com/Linux/2014-10/108418.htm

http://blog.chinaunix.net/uid-11581508-id-4514379.html

http://www.360doc.com/content/14/1230/22/2613145_436989190.shtml

http://tieba.baidu.com/p/3656245229

http://www.51ou.com/browse/linuxwt/58546.html

原文地址:https://www.cnblogs.com/xiaochina/p/5767002.html