Ubuntu 16.04 无线网卡驱动安装 80211

Posted ltz1990

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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














































































以上是关于Ubuntu 16.04 无线网卡驱动安装 80211的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu系统下电脑驱动的安装(wifi无线网卡)

我用联想r720拯救者win10装了ubuntu16.04 .03双系统无法链接无线网

解决ubuntu 16.04上不了无线

ubuntu无线网设置完成,无线联结wifi连接1 从不是啥原因?

ubuntu linux中如何设置无线网络连接

ubuntu16.04安装I219-V网卡驱动问题解决方法