centOS7 BCM43142无线网卡驱动:

解决方法:http://elrepo.org/tiki/wl-kmod

Please note: The current Broadcom closed-source Linux drivers when built according to the instructions provided here have provided functional wireless capability to some users, but have failed for other users.

Broadcom Corp. provides closed-source IEEE 802.11a/b/g/n Linux drivers for use with Broadcom's BCM4311, BCM4312, BCM4313, BCM4321, BCM4322, BCM4352, BCM43142, BCM43224, BCM43225, BCM43227 and BCM43228 wireless chipsets. We (ELRepo) cannot create and redistribute binary RPMS for these drivers due to the Broadcom licensing restrictions (i.e., liability issues). However, we do make available no-source SRPMS (.nosrc.rpm) which contain the framework required to build the binaries, but lack the proprietary code and are not subject to Broadcom's licensing restrictions.

These no-source SRPMS can be used by the end user to build kABI-compatible binary drivers for local use. These kABI-compatible binaries should be usable after future kernel updates, so there is no need to recompile them for each new kernel. Please note that the nosrc.rpm package does not build kmod-wl for kernel-xen and kmod-wl cannot be built on a system running kernel-xen.

To build a kmod-wl binary, you will need to (1) configure a build tree, (2) download the wl-kmod*nosrc.rpm for your EL release, (3) download the closed-source tarball from Broadcom for your architecture (i.e., 32-bit vs 64-bit) into the build tree and (4) initiate the kmod-wl build. For convenience, the kernel development package for the running kernel will be used in the build process, as opposed to our normal policy of building against an older kernel development package.

The kmod-wl package can be built on any system running the same EL release/architecture as the target system. If you are building on the target system and lack network connectivity, then the downloads can be made onto a USB flash drive and copied onto your system.

Below are the detailed instructions on how to build the binary packages. If you are already familiar with using rpmbuild to build packages, then this process should only take you 5-10 minutes to complete.

Build and install kmod-wl for EL5/6/7

Please note ( EL7.0 to EL7.1 updating ):

kmod-wl built under EL7.0 will not provide wireless connectivity under EL7.1 kernels. ( Likewise, kmod-wl built under EL7.1 will not provide wireless connectivity under EL7.0 kernels. )

You will need to build the updated wl-kmod srpm (see below) and install/update the resulting kmod-wl after updating to EL7.1.

To simplify kmod-wl rebuilding/installation prior to EL7.1 updating, carry out steps 1 through 4 (see below) while you have network connectivity.

If you have already updated to EL7.1 and have lost network connectivity, then boot the previous EL7.0 kernel, carry out steps 1 through 4 (see below) and then boot the EL7.1 kernel.

1) Install needed tools/packages:

1a) EL5:

# yum groupinstall 'Development Tools'

# yum install redhat-lsb

* Install appropriate kernel*devel

- For 32-bit:     # yum install kernel-devel-$(uname -r|sed 's/PAE//') kernel-PAE-devel-$(uname -r|sed 's/PAE//')

- For 64-bit:     # yum install kernel-devel-$(uname -r)

1b) EL6:

# yum groupinstall 'Development Tools'

# yum install redhat-lsb kernel-abi-whitelists

# yum install kernel-devel-$(uname -r)

EL6 Note: Due to a bug in redhat-rpm-config-9.0.3-42.el6, a modification is required to fix the
       kabi-whitelist target in /usr/lib/rpm/redhat/find-requires.ksyms before you build kmod-wl.

Please run as root (as a single copy/paste):

[[ $(rpm -q redhat-rpm-config|grep 9.0.3-42|wc -l) -gt 0 ]] && sed -i \
       's@/lib/modules/kabi/kabi_whitelist@/lib/modules/kabi-current/kabi_whitelist@g' \
       /usr/lib/rpm/redhat/find-requires.ksyms

1c) EL7:

# yum group install 'Development Tools'

# yum install redhat-lsb kernel-abi-whitelists

# yum install kernel-devel-$(uname -r)

EL7.0 Note: Due to a bug in redhat-rpm-config-9.1.0-63.el7, a modification is required to fix the
       kabi-whitelist target in /usr/lib/rpm/redhat/find-requires.ksyms before you build kmod-wl.

Please run as root (as a single copy/paste):

[[ $(rpm -q redhat-rpm-config|grep 9.1.0-63|wc -l) -gt 0 ]] && sed -i \
       's@/lib/modules/kabi/kabi_whitelist@/lib/modules/kabi-rhel70/kabi_whitelist@g' \
       /usr/lib/rpm/redhat/find-requires.ksyms

The above modification is not needed for EL7.1 or later.

2) As a regular user (not as root), configure a build tree and minimal .rpmmacros:

$ 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

3) Download wl-kmod*nosrc.rpm

For EL5: http://elrepo.org/linux/elrepo/el5/SRPMS/wl-kmod-6_30_223_248-1.el5.elrepo.nosrc.rpm

For EL6: http://elrepo.org/linux/elrepo/el6/SRPMS/wl-kmod-6_30_223_248-2.el6.elrepo.nosrc.rpm

For EL7: http://elrepo.org/linux/elrepo/el7/SRPMS/wl-kmod-6_30_223_248-3.el7.elrepo.nosrc.rpm

4) Download the Broadcom driver matching your architecture (i.e., 32-bit vs 64-bit):

from:   http://www.broadcom.com/support/802.11/linux_sta.php

to:      ~/rpmbuild/SOURCES/

5) Build kmod-wl as a regular user (not as root):

$ rpmbuild --rebuild --target=`uname -m` --define 'packager <your-name>' /<path-to-nosrc.rpm>/wl-kmod*nosrc.rpm
   ...
    Wrote: /home/<user>/rpmbuild/RPMS/x86_64/kmod-wl-<version>.x86_64.rpm
   ...
   + exit 0

(Note: The rpmbuild option --target=`uname -m` is only required for EL5 32-bit builds.)

Note: The above build may not yield a fully functional binary driver for certain older Broadcom hardware under EL 6.  

If an EL 6 driver built using the above instructions does not appear to be fully functional, then try building it using the Wireless Extensions API:

$ rpmbuild --rebuild --define 'packager <your-name>' --define 'apiwext 1' /<path-to-nosrc.rpm>/wl-kmod*el6.elrepo.nosrc.rpm

Assuming you have already installed a faulty kmod-wl, then be sure to uninstall it (i.e., # rpm -e kmod-wl) before installing the new kmod-wl.

6) If ndiswrapper is installed and is no longer needed, then remove it:

# yum remove \*ndiswrapper\*

7) Install kmod-wl:

# rpm -Uvh /path-to-rpm/kmod-wl*rpm

OR

# yum --nogpgcheck localinstall /path-to-rpm/kmod-wl*rpm

8) Reboot or to start wireless now:

8a) EL5:

* Works immediately after installation without intervention

8b) EL6:

# modprobe -r b43 b43legacy ssb wl lib80211
     # modprobe -r bcma (Note: needed for EL 6.4 and later)
     # modprobe lib80211_crypt_tkip
     # modprobe wl

8c) EL7:

# modprobe wl

9) Store kmod-wl*rpm for safe keeping

10) Optional - Remove the build tree:

$ rm -rf ~/rpmbuild

转载于:https://my.oschina.net/websec/blog/390216

CentOS 7无线网卡驱动解决方法相关推荐

  1. Ubuntu20.04 AX210无线网卡驱动解决方法之一

    Ubuntu20.04 AX210无线网卡找不到设备解决方法 大家如果确保自己的驱动没有问题,安装了各种驱动后一切正常但就是找不到设备,则有最后一个解决办法,这也是我在一个很不容易找到的地方,一个兄弟 ...

  2. Window Server 2012无线网卡和声卡驱动解决方法

    Window Server 2012无线网卡和声卡驱动解决方法 参考文章: (1)Window Server 2012无线网卡和声卡驱动解决方法 (2)https://www.cnblogs.com/ ...

  3. 计算机如何驱动无线网络,win7如何安装无线网卡驱动 安装无线网卡驱动的方法...

    今天告诉大家win7安装无线网卡驱动?无线网卡就是既能接受无线信号,又能发射无线信号的网络设备,但无线网卡就需要安装无线网卡驱动.许多新手用户不懂安装步骤,其实安装方法简单,接下来给大家说明一下win ...

  4. linux不显示无线网卡驱动安装失败,Linux_Ubuntu无线网卡驱动安装方法,安装了Ubuntu后发现没有无线网 - phpStudy...

    Ubuntu无线网卡驱动安装方法 安装了Ubuntu后发现没有无线网络,搜索不到WiFi,但是正常情况下安装Ubuntu后,系统会自动安装无线网卡驱动,并且开机自动连接无线网.查了一下,原来我的网卡是 ...

  5. ubuntu20.04 掉无线网卡驱动解决

    笔者装好ubuntu后显示是有WiFi驱动的,甚至都装上了显卡驱动和conda环境.结果第二天开机发现没有网络了,甚至右上角连wifi选项都没了,感觉是掉驱动了.所以找来两种重新安装无线网卡驱动的方法 ...

  6. Win11系统没有声卡驱动怎么解决 Win11系统没有声卡驱动解决方法

    Win11系统没有声卡驱动如何解决?现在很多用户都升级Win11系统了,最近有些朋友在升级更新win11系统之后,发现电脑没有声音,检查后才发现原来是没有声卡驱动.那么,安装Win11安装后没有声卡驱 ...

  7. Spark SQL连接数据库找不到Mysql驱动解决方法

    这里说明一点:本文提到的解决Spark insertIntoJDBC找不到Mysql驱动的方法是针对单机模式(也就是local模式).在集群环境下,下面的方法是不行的.这是因为在分布式环境下,加载my ...

  8. CentOS 大量的TIME_WAIT解决方法

    CentOS 大量的TIME_WAIT解决方法 最近个人博客总是出现无法打开的现象,具体表现为,打开页面需要等待n长时间,登陆系统后发现系统存在大量TIME_WAIT状态的连接,google了一下解决 ...

  9. centos报acpi 错误解决方法实测有用

    centos报acpi 错误解决方法实测有用 在电脑开机启动之后按e 键,在最后面加入acpi=off 后续发现: centos报acpi 错误千万不要关闭acpi 前面为了关掉开机时acpi 的报错 ...

最新文章

  1. 十年AI学者影响力盘点:何恺明排名第一,华人学者呈正向流入
  2. apache 模块编译选项
  3. mysql七:视图、触发器、事务、存储过程、函数
  4. sap 用户权限表_干货丨SAP系统的RPA实施技巧
  5. java中的md5加密_java中的MD5加密
  6. FFmpeg 硬件加速方案概览 (下)
  7. 我的专业我的梦作文计算机,我的创新我的梦作文
  8. 如何创建一个基于 MSBuild Task 的跨平台的 NuGet 工具包
  9. [转]JSP中常见的Tomcat报错错误解析(一)
  10. cad图框尺寸标准图_基于AutoCAD2020的动态图框制作与图纸比例问题
  11. ValueError: I/O operation on closed file 解决办法
  12. 生命在此定格 路透记者遇难前拍下的最后画面
  13. MCMC算法—MH算法的Python实现(一)
  14. 制作一个简单HTML静态网页(HTML+CSS)
  15. 22fall 游戏/数字媒体/人机交互DIY留学申请经验贴
  16. python调整图片亮度_python 调整图片亮度的示例
  17. 华为stk_Aloo计算机在哪里,华为STK-AL00是什么型号
  18. 百度地图海量点尺寸和大小
  19. DAZ 3D 软件简单安装和使用
  20. 用机器学习计算工作技能匹配度

热门文章

  1. Spark Streaming VS Flink Streaming
  2. SpringBoot初体验
  3. 无线路由器的使用方法
  4. java 基础(匿名内部类)
  5. sharepoint 2010 内容类型
  6. [导入]文件,图片操作相关.
  7. 利用Spring-Boot解析Excel、用Java分析Excel、告别手动输入用程序读取Excel
  8. js轮询导致服务器瘫痪_演进:Tengine 从 Web 代理服务器 到 分布式推送服务器
  9. 微信小程序的多选改变样式_微信小程序button选中改样式-实现单选/多选
  10. matlab 方波_matlab实现方波与三角波波形