[转载]Lenovo E431 装Centos7无线驱动安装
FROM: http://huangyandong.blog.51cto.com/1396940/1613096
-
查看无线网卡型号
lspci |grep Network #为BCM43142网卡
-
安装需要的工具/包
yum groupinstall 'Development Tools'
yum install kernel-abi-whitelists
yum install kernel-devel-$(uname -r)
-
以普通用户运行下面命令
mkdir -p ~/rpmbuild/{BUILD,RPMS,SPECS,SOURCES,SRPMS}
echo -e "%_topdir $(echo $HOME)/rpmbuild\n%dist .el$(lsb_release -s -r|cut -d"." -f1).local" >> ~/.rpmmacros
-
下载wl-kmod*nosrc.rpm包,
cd ~/rpmbuild/SOURCES
wget -c http://elrepo.org/linux/elrepo/el7/SRPMS/wl-kmod-6_30_223_248-3.el7.elrepo.nosrc.rpm
-
下载Broadcom驱动(64位)
wget -c http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz
-
以普通用户运行下面命令
rpmbuild --rebuild --target=`uname -m` --define 'packager huangyandong' ~/rpmbuild/SOURCES/wl-kmod*nosrc.rpm
-
以root执行下面命令
yum remove \*ndiswrapper\*
rpm -Uvh /home/huangyandong/rpmbuild/RPMS/kmod-wl*rpm
-
重启机器