我刚刚安装了带有 4.10 内核的 Ubuntu 16.04 桌面版,但无法访问 wifi。我使用以下命令安装了 Broadcom 驱动程序。
$ sudo dpkg -i dkms_2.2.0.3-2ubuntu11.3_all.deb
(Reading database ... 175310 files and directories currently installed.)
Preparing to unpack dkms_2.2.0.3-2ubuntu11.3_all.deb ...
Unpacking dkms (2.2.0.3-2ubuntu11.3) over (2.2.0.3-2ubuntu11.3) ...
Setting up dkms (2.2.0.3-2ubuntu11.3) ...
Processing triggers for man-db (2.7.5-1) ...
$ sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu1~1.1_amd64.deb
(Reading database ... 175310 files and directories currently installed.)
Preparing to unpack bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu1~1.1_amd64.deb ...
Removing all DKMS Modules
Done.
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~1.1) over (6.30.223.271+bdcom-0ubuntu1~1.1) ...
Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~1.1) ...
Loading new bcmwl-6.30.223.271+bdcom DKMS files...
Building only for 4.10.0-28-generic
Building for architecture x86_64
Building initial module for 4.10.0-28-generic
Done.
wl:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.10.0-28-generic/updates/dkms/
depmod....
DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: Generating /boot/initrd.img-4.10.0-28-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915
并且无法访问 wifi。
答案1
正如您看到的lshw
,您根本没有 WiFi 卡。
解决这个问题的方法是购买一个并安装它。
答案2
您是否尝试过重新启动网络管理器?以下是代码
sudo service network-manager restart
如果不起作用,请使用以下方法安装缺失的固件
cd /lib/firmware
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/iwlwifi-7260-17.ucode
然后重启进入内核 4.10
iwlwifi-7260-17.ucode 文件不在 14.04 的 linux-firmware 包中