安装驱动前,需要将内核版本升级到3.x,然后再进行下面的操作。
git clone git://github.com/lwfinger/rtl8723be.git cd rtl8723be git checkout 604aa9058fb9e5bb1cf571c99989d081f8fc8b9 make make install modprobe rtl8723be
安装过程:
[root@localhost ~]#git clone git://github.com/lwfinger/rtl8723be.git
[root@localhost ~]#cd rtl8723be
[root@localhost rtl8723be]#git checkout 604aa9058fb9e5bb1cf571c99989d081f8fc8b9 //这步是必须的,否则下面make会报错
[root@localhost rtl8723be]# make
make -C /lib/modules/3.10.52/build M=/root/rtl8723be modules
make[1]: Entering directory `/usr/src/linux-3.10.52'
CC [M] /root/rtl8723be/base.o
CC [M] /root/rtl8723be/rc.o
CC [M] /root/rtl8723be/debug.o
CC [M] /root/rtl8723be/regd.o
CC [M] /root/rtl8723be/efuse.o
CC [M] /root/rtl8723be/cam.o
CC [M] /root/rtl8723be/ps.o
CC [M] /root/rtl8723be/core.o
CC [M] /root/rtl8723be/stats.o
CC [M] /root/rtl8723be/pci.o
LD [M] /root/rtl8723be/rtlwifi.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/rtl8723be/rtlwifi.mod.o
LD [M] /root/rtl8723be/rtlwifi.ko
make[1]: Leaving directory `/usr/src/linux-3.10.52'
make[1]: Entering directory `/root/rtl8723be/btcoexist'
make -C /lib/modules/3.10.52/build M=/root/rtl8723be/btcoexist modules
make[2]: Entering directory `/usr/src/linux-3.10.52'
CC [M] /root/rtl8723be/btcoexist/halbtc8723b2ant.o
CC [M] /root/rtl8723be/btcoexist/halbtcoutsrc.o
CC [M] /root/rtl8723be/btcoexist/rtl_btc.o
LD [M] /root/rtl8723be/btcoexist/btcoexist.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/rtl8723be/btcoexist/btcoexist.mod.o
LD [M] /root/rtl8723be/btcoexist/btcoexist.ko
make[2]: Leaving directory `/usr/src/linux-3.10.52'
make[1]: Leaving directory `/root/rtl8723be/btcoexist'
make[1]: Entering directory `/root/rtl8723be/rtl8723be'
make -C /lib/modules/3.10.52/build M=/root/rtl8723be/rtl8723be modules
make[2]: Entering directory `/usr/src/linux-3.10.52'
CC [M] /root/rtl8723be/rtl8723be/hw.o
CC [M] /root/rtl8723be/rtl8723be/table.o
CC [M] /root/rtl8723be/rtl8723be/sw.o
CC [M] /root/rtl8723be/rtl8723be/trx.o
CC [M] /root/rtl8723be/rtl8723be/led.o
CC [M] /root/rtl8723be/rtl8723be/fw.o
CC [M] /root/rtl8723be/rtl8723be/phy.o
CC [M] /root/rtl8723be/rtl8723be/rf.o
CC [M] /root/rtl8723be/rtl8723be/dm.o
CC [M] /root/rtl8723be/rtl8723be/pwrseq.o
CC [M] /root/rtl8723be/rtl8723be/pwrseqcmd.o
LD [M] /root/rtl8723be/rtl8723be/rtl8723be.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/rtl8723be/rtl8723be/rtl8723be.mod.o
LD [M] /root/rtl8723be/rtl8723be/rtl8723be.ko
make[2]: Leaving directory `/usr/src/linux-3.10.52'
make[1]: Leaving directory `/root/rtl8723be/rtl8723be'
[root@localhost rtl8723be]#make install
make -C /lib/modules/3.10.52/build M=/root/rtl8723be modules
make[1]: Entering directory `/usr/src/linux-3.10.52'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-3.10.52'
make[1]: Entering directory `/root/rtl8723be/btcoexist'
make -C /lib/modules/3.10.52/build M=/root/rtl8723be/btcoexist modules
make[2]: Entering directory `/usr/src/linux-3.10.52'
Building modules, stage 2.
MODPOST 1 modules
make[2]: Leaving directory `/usr/src/linux-3.10.52'
make[1]: Leaving directory `/root/rtl8723be/btcoexist'
make[1]: Entering directory `/root/rtl8723be/rtl8723be'
make -C /lib/modules/3.10.52/build M=/root/rtl8723be/rtl8723be modules
make[2]: Entering directory `/usr/src/linux-3.10.52'
Building modules, stage 2.
MODPOST 1 modules
make[2]: Leaving directory `/usr/src/linux-3.10.52'
make[1]: Leaving directory `/root/rtl8723be/rtl8723be'
find /lib/modules/3.10.52 -name "btcoexist_*.ko" -exec rm {} \;
find /lib/modules/3.10.52 -name "r8723be_*.ko" -exec rm {} \;
[root@localhost rtl8723be]#modprobe rtl8723be //载人rtl8723be模块,无线网卡可以使用了
[root@localhost rtl8723be]#lspci -vnn
07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b723]
Subsystem: Lenovo Device [17aa:b728]
Flags: bus master, fast devsel, latency 0, IRQ 47
I/O ports at 5000 [size=256]
Memory at e4d00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-23-b7-fe-ff-4c-e0-00
Capabilities: [150] Latency Tolerance Reporting
Capabilities: [158] #1e
Kernel driver in use: rtl8723be
Kernel modules: rtl8723be
本文结束。
Leave a comment