从 14.04 升级到 Ubuntu 16.04 后,我无法查看任何 wifi 网络。尝试升级到 Ubuntu 15.10 时也出现了此问题。这是我的网络窗口的样子:
另外,右上角的下拉菜单中没有 Wifi 选项。屏幕截图来自 Ubuntu GNOME,但它也不适用于标准 Ubuntu。我该如何启用 wifi 网络?
输出lspci -knn | grep Net -A2
:
07:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: XAVi Technologies Corp. BCM43142 802.11b/g/n [1b9a:3002]
Kernel modules: bcma, wl
输出sudo apt-get install bcmwl-kernel-source
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
bcmwl-kernel-source is already the newest version (6.30.223.248+bdcom-0ubuntu8).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
输出sudo apt-get install --reinstall bcmwl-kernel-source
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/1,515 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 153417 files and directories currently installed.)
Preparing to unpack .../bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu8_amd64.deb ...
Removing all DKMS Modules
Done.
Unpacking bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu8) over (6.30.223.248+bdcom-0ubuntu8) ...
Setting up bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu8) ...
Loading new bcmwl-6.30.223.248+bdcom DKMS files...
Building only for 4.4.0-21-generic
Building for architecture x86_64
Building initial module for 4.4.0-21-generic
Done.
wl:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.4.0-21-generic/updates/dkms/
depmod....
DKMS: install completed.
modprobe: ERROR: could not insert 'wl': Required key not available
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.122ubuntu8) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-21-generic
输出sudo modprobe wl
:
modprobe: ERROR: could not insert 'wl': Required key not available
答案1
我认为是网络管理器问题。我在使用 Intel Wireless-AC 7260 时也遇到了同样的问题。
我执行了iwconfig
- 并且卡在那里但是它已关闭(iwlist scan
失败) - 所以我运行这些命令来手动启动它:
sudo ifconfig wlp4s0 up
service network-manager restart
它就像一个护身符一样出现在侏儒中。
答案2
modprobe: ERROR: could not insert 'wl': Required key not available
您需要关闭安全启动。
安全启动是由 PC 行业成员制定的安全标准,旨在帮助确保您的 PC 仅使用 PC 制造商信任的软件进行启动
关闭安全启动
消除
bcmwl-kernel-source
sudo apt-get purge bcmwl-kernel-source
重新安装
bcmwl-kernel-source
内核头:sudo apt-get install linux-generic bcmwl-kernel-source
重启
答案3
对我来说,这个命令有效:
sudo /etc/init.d/network-manager restart
每当我的 Chromebook 从挂起状态唤醒时,我都需要这个命令。它来自一些线程。
编辑:
所以这只是一个临时解决方案。为了使它永久生效,我将其放在某个脚本中(对我来说是 ~/bin/fixwifi),然后将该脚本符号链接到 /etc/rc2.d,名称为 S06fixwifi。
换句话说
在某处创建一个包含以下文本的脚本:
#!/usr/bin/env bash
/etc/init.d/network-manager restart
使其可执行
chmod a+x <scriptname>
其中 scriptname 是您刚刚创建的脚本的名称。
然后将其符号链接到创业公司
sudo ln -s </path/to/scriptname> /etc/rc2.d/S06fixwifi
答案4
对我来说,重新安装驱动程序就足够了,首先重新启动服务以使其正常工作
service network-manager restart
sudo apt-get purge bcmwl-kernel-source
sudo apt-get update
sudo apt-get install bcmwl-kernel-source
我正在将 hp dv4 从 14.04 升级到 16.04