MimiSnowing

OS:Fedora 25 KDE

系统内核:4.10.16-200.fc25.x86_64 #1

网卡:BCM43142


1、识别自己的网卡型号:
命令:lspci | grep -i broadcom 

或者 lspci | grep -i Network

03:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)

2、添加源:添加RPM Fusion源 安装需要的包
yum install --nogpgcheckhttp://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-25.noarch.rpm


3、安装

$ yum search kmod-wl
Redirecting to \'/usr/bin/dnf search kmod-wl\' (see \'man yum2dnf\')

Repository updates is listed more than once in the configuration
Repository updates-debuginfo is listed more than once in the configuration
Repository updates-source is listed more than once in the configuration
Repository fedora is listed more than once in the configuration
Repository fedora-debuginfo is listed more than once in the configuration
Repository fedora-source is listed more than once in the configuration 

====================================== N/S 匹配:kmod-wl =======================================
kmod-wl.x86_64 : Metapackage which tracks in wl kernel module for newest kernel
akmod-wl.x86_64 : Akmod package for wl kernel module(s)
kmod-wl-4.10.16-200.fc25.x86_64.x86_64 : wl kernel module(s) for 4.10.16-200.fc25.x86_64

$ yum install akmod-wl kmod-wl  
sudo dnf install kernel-devel akmod-wl        重新编译内核模块
sudo akmods                 加载内核代码
sudo modprobe wl               重启网络管理器
sudo systemctl restart NetworkManager

如果源里也没有,只能自己下载安装,这里可以到http://rpmfind.net去搜索下载,或者:http://pan.baidu.com/s/1eSKEEDc,是rpm包,下下来安装,然后又会报这个akmods包依赖rpmdev-vercmp 和kmodtool,那就安装:
yum install rpmdevtools -y


去http://rpmfind.net搜索kmodtool下载安装,或者:http://pan.baidu.com/s/1jI8vnHs
完成后再安装akmods,这回应该就过了。过了以后就可以运行:
yum install kmod-wl -y

_____________________________________________________________-

另外如果还不行的话那还有一个办法,不过比较麻烦,请直接参考:http://elrepo.org/tiki/wl-kmod
---------------------------------------------------------------------------------------

 

原址:http://blog.csdn.net/lina_acm/article/details/69663508

分类:

技术点:

相关文章: