Realtek RTL8723BE 无线驱动程序配置

安装环境: CentOS7, Kernel 3.10.0
安装过程:
1.查无线网卡的型号
[root@localhost /]# lspci | grep Network
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
得到 型号: Realtek RTL8723BE
2.检查系统是否包含对应型号的网卡驱动
以CentOS7为例子,在目录/lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/net , 3.10为内核版本号
驱动程序通常以ko结尾,每个厂商开发的驱动程序都有自己的命名特点,Realtek RTL87238BE的无线驱动程序为 rtl8723be.ko
3.没有相应的驱动程序,在网上下载
从网上下载的rtlwifi_new等驱动程序,编译后总是出错,最后果断放弃,选择更新内核到4.0版本以上,系统自带rtl8723BE的驱动程序
4.更新内核的过程
a.导入key
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
b.安装elrepo的yum源
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
c.安装内核
在yum的ELRepo源中,有mainline(3.18.3)这个内核版本
yum --enablerepo=elrepo-kernel install kernel-ml-devel kernel-ml -y
5.修改内核启动程序
a.查看内核选项
# cat /boot/grub2/grub.cfg |grep menuentry
export menuentry_id_option
menuentry 'CentOS Linux (4.8.9-1.el7.elrepo.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux- 4.8.9-1.el7.elrepo.x86_64-advanced-03120905-12f9-451f-803d-8a9bbfdab21e' {
menuentry 'CentOS Linux (3.10.0-327.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-327.el7.x86_64-advanced-03120905-12f9-451f-803d-8a9bbfdab21e' {
menuentry 'CentOS Linux (0-rescue-beddb7ced0fc4450a1edd770a82784a8) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-beddb7ced0fc4450a1edd770a82784a8-advanced-03120905-12f9-451f-803d-8a9bbfdab21e' {
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-42DA-1CC9' {
b.设置最新的内核版本为首启动项
grub2-set-default "CentOS Linux (4.8.9-1.el7.elrepo.x86_64) 7 (Core)"
c.查看是否配置成功
#grub2-editenv list
saved_entry=CentOS Linux (4.8.9-1.el7.elrepo.x86_64) 7 (Core) //如若得到这样的结果,显示配置成功!
6.重新启动 reboot

posted on 2016-11-20 15:38  南极星*炎针  阅读(1535)  评论(0)    收藏  举报