Ubuntu 16.04 无线网卡驱动安装 80211

成功示意:

$dkms status

bcmwl, 6.30.223.248+bdcom: added

挫折之路:

从官网下载到的源码,编译报错:

wl_cfg80211_hybrid.c:237:12: error: ‘IEEE80211_BAND_2GHZ’ undeclared here (not in a function)

翻阅各大说法,应该始内核版本不兼容,所以开始另辟新路。下面进入重点!!!!

下载源码地址:https://github.com/tianqiwangpai/broadcom-wl

参考下面READ ME,对代码make install

READ ME

# Broadcom Linux hybrid wireless driver (64-bit)

Re-upload from the source code found on the [Broadcom Support and Downloads page][1]

**Patched for Linux >= 4.7**

Tested on a BCM4360-based 802.11ac Wireless Network Adapter (TP-LINK Archer T8E)

[1]: https://www.broadcom.com/support/download-search/?pg=&pf=Wireless+LAN+Infrastructure

## Prerequisites

The following kernel modules are incompatible with this driver and should not be loaded:
* ssb
* bcma
* b43
* brcmsmac

Make sure to unload (`rmmod` command) and blacklist those modules in order to prevent them from being automatically
reloaded during the next system startup:

`/etc/modprobe.d/blacklist.conf`
```
# wireless drivers (conflict with Broadcom hybrid wireless driver ‘wl‘)
blacklist ssb
blacklist bcma
blacklist b43
blacklist brcmsmac
```

## Compile and install

### Manually

Build and install for the running kernel:

```sh
$ make
$ make install
$ depmod -A
$ modprobe wl
```

### Automatically

Using [DKMS][2] and the included `dkms.conf` file, one can let the operating system rebuild and install the module
automatically on every new kernel installation:

```sh
$ dkms add /path/to/this/repo
$ dkms status
broadcom-wl, 6.30.223.271: added
```

Providing that the `dkms` service is enabled, the module should appear as *installed* in the list of modules managed by
DKMS after the system boots for the first time on the new kernel:

```sh
$ dkms status
broadcom-wl, 6.30.223.271, 4.7.6-200.x86_64, x86_64: installed
```

[2]: http://linux.dell.com/dkms/manpage.html

## See also

* [Official README file][3] (download)
* Arch Linux packages: [broadcom-wl][4] / [broadcom-wl-dkms][5]
* Debian packages: [broadcom-sta][6] ([source repository][7])
* [kmod-wl][8] package for RPM Fusion ([source repository][9])

[3]: https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/README_6.30.223.271.txt
[4]: https://aur.archlinux.org/packages/broadcom-wl/
[5]: https://www.archlinux.org/packages/community/x86_64/broadcom-wl-dkms/
[6]: https://packages.debian.org/source/sid/broadcom-sta
[7]: https://salsa.debian.org/broadcom-sta-team/broadcom-sta
[8]: http://download1.rpmfusion.org/nonfree/fedora/development/rawhide/Everything/x86_64/os/repoview/kmod-wl.html
[9]: https://github.com/rpmfusion/wl-kmod

原文地址:https://www.cnblogs.com/ltz1990/p/8893669.html

时间: 2024-10-11 12:01:46

Ubuntu 16.04 无线网卡驱动安装 80211的相关文章

Ubuntu 14.04 无线网卡驱动安装

安装了Ubuntu最新版本 14.04 之后,发现无线网卡不能使用,偿试安装驱动后,问题解决. 首先确定无线网卡类型: lspci -vnn -d 14e4: 比如我的网卡类型为 04:00.0 Network controller [0280]:Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] 根据网卡类型14e4:4315,对照下面这张表,找到所要安装的驱动,此处我所需要安装的就是wl种类的 安装步骤: 1.先安装b43-fw

ubuntu 16.04 + N驱动安装 +CUDA+Qt5 + opencv

Nvidia driver installation(after download XX.run installation file) 1. ctrl+Alt+F1   //go to virtual terminal 2.sudo service lightdm stop   //stop X window 3.sudo init 3 4. sudo ./XX.run    if Nouveaue is using,disable it. by [sudo update-initramfs -

我的淘宝:Ubuntu 16.04.2上安装 Oracle 11.2.0.4 RAC

进入淘宝店铺 教程:Ubuntu 16.04.2上安装 Oracle 11.2.0.4 RAC 请支持下.价格好商量!

Ubuntu 16.04 TLS下安装dotnet异常处理

从官网下载Ubuntu 16.04 TLS iSO安装在hyper-V中一切正常,网络也连通.但在执行apt-get update时,发现不能连接北美的网站,在网上找到163源,在/etc/apt/source.list中进行配置.按微软官网https://www.microsoft.com/net/core#linuxubuntu 进行配置,前面都正常执行,但在最后一步:apt-get install dotnet-sdk-2.0.0时,出现相关依赖包不能被安装的错误,比如:dotnet-ru

Ubuntu 16.04 64位安装YouCompleteMe

之前记录在OneNote上感觉有点乱,而且不适合保存shell,这次重新安装又出问题了,干脆写篇博客记录. 从零开始 1.git(用来下载vim和相关插件) sudo apt-get install git 2.cmake(用来编译clang-llvm) sudo apt-get install build-essential cmake 3.vim,这里手动编译vim,因为需要python支持,直接apt-get的话会遇到很多麻烦 过程参考https://github.com/Valloric

Ubuntu 16.04.2 LTS 安装 jdk1.6 和 tomcat6 (二)

上一篇记录和分享了jdk1.6 在Ubuntu 16.04.2 环境下的安装配置,本文开始安装和配置tomcat 6 2 安装tomcat http://tomcat.apache.org/download-60.cgi 2.2 传入文件 可以在ubunbu上直接下载,也可以在mac上下载完成,通过scp上传到服务器. scp apache-tomcat-6.0.53.tar.gz [email protected]:/home/asialantao [email protected]'s pa

Ubuntu 16.04 LTS 一键安装VNC

Ubuntu 16.04 LTS 安装VNC,在百度和谷歌找了很多教程,不是太老,就是说的驴唇不对马嘴,所以忍不住写一些以正视听. Ubuntu 16.04 LTS是最近出的LTS版本系统,估计未来也会有长期的使用频率,配置好远程桌面,会极大方便工作和生活.很多人也会采用SSH远程管理,鉴于SSH安装和使用是很简单的事情,就不赘述了. VNC有很多选择,VNC4server,tigervncserver等等,都不推荐,难装又难用.经过多次实验和测试,最后只采用 x11vnc  作为VNC服务器端

Linux(Ubuntu 16.04)中安装OpenCV + OpenCV_Contrib

近两个月来接触了Linux系统,在老板的建议下翻了Ubuntu的牌子,我安装的版本是16.04,用习惯之后感觉蛮好的,比Windows要强.好啦,废话不说啦,下面开始说在Ubuntu中安装OpemCV+OpenCV_Contrib. 首先,准备一下开发环境: Ubuntu 16.04 64位 cmake ant jdk git python 接下来,从github中down下OPenCV + OpenCV_Contrib库,可以从https://github.com/opencv上下载(注意版本

VNC实现Windows远程访问Ubuntu 16.04(无需安装第三方桌面,直接使用自带远程工具)

转自 https://www.cnblogs.com/xuliangxing/p/7642650.html 一.设置Ubuntu 16.04 允许进行远程控制 首先,我们先设置Ubuntu的远程控制,将其设置为允许被远程连接,进入系统->首项->桌面共享,或者直接搜索桌面共享,如图所示 将[允许其他人查看您的桌面]这一项勾上,然后在安全那项,勾选[要求远程用户输入此密码],并设置远程密码.并且我们取消勾选[必须为对本机器的每次访问进行确定](这样做,是为了被远程的时候不需要再确认,否则每次远程