我是 Ubuntu 新手,所以如果我问了一些显而易见的问题或者需要非常简单的解释,请原谅。
我创建了一个装有 Ubuntu 的 USB 记忆棒。我使用操作指南创建了一个具有持久存储的记忆棒(我对此非常满意,因为我不懂技术!)。https://www.howtogeek.com/howto/14912/create-a-persistent-bootable-ubuntu-usb-flash-drive/
由于某种原因,我无法访问 Wifi - 显示未找到 Wifi 适配器。我在使用 MacBook Pro,使用 MacOS 启动时访问 Wifi 没有任何问题。
我已经尝试了一些解决方案。我导航到附加驱动程序,它说我有来自 bcmwl-kernel-source 的 Broadcom 802.11 Linux STA 无线驱动程序源。
我尝试打开终端并执行以下操作,但没有帮助:
ubuntu@ubuntu:~$ sudo apt-get install -y 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.271+bdcom-0ubuntu7~20.04.3).
0 to upgrade, 0 to newly install, 0 to remove and 261 not to upgrade.
ubuntu@ubuntu:~$ sudo apt-get install --reinstall bcmwl-kernel-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 261 not to upgrade.
Need to get 0 B/1,546 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 cdrom://Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819) focal/restricted amd64 bcmwl-kernel-source amd64 6.30.223.271+bdcom-0ubuntu7~20.04.3 [1,546 kB]
(Reading database ... 234583 files and directories currently installed.)
Preparing to unpack .../bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu7~20.04.3_amd64.deb ...
Removing all DKMS Modules
Done.
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu7~20.04.3) over (6.30.223.271+bdcom-0ubuntu7~20.04.3) ...
Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu7~20.04.3) ...
Loading new bcmwl-6.30.223.271+bdcom DKMS files...
Building for 5.11.0-27-generic 5.11.0-43-generic
Building for architecture x86_64
Building initial module for 5.11.0-27-generic
Done.
wl.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.11.0-27-generic/updates/dkms/
depmod...
DKMS: install completed.
Building initial module for 5.11.0-43-generic
Done.
wl.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.11.0-43-generic/updates/dkms/
depmod...
DKMS: install completed.
update-initramfs is disabled since running on read-only media
这与最后一句关于只读媒体的内容有关吗?它确实具有持久内存,因为重启后我仍然可以看到相同的下载。
非常感谢你的帮助。
编辑(按要求):
ubuntu@ubuntu:~$ lspci -nnk | grep 0280 -A3
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
Subsystem: Apple Inc. BCM4360 802.11ac Wireless Network Adapter [106b:0112]
Kernel modules: bcma, wl
04:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SS9183 PCIe SSD Controller [1b4b:9183] (rev 14)
ubuntu@ubuntu:~$ sudo modprobe wl && sudo dmesg | grep wl
[ 10.198859] wl: loading out-of-tree module taints kernel.
[ 10.198867] wl: module license 'MIXED/Proprietary' taints kernel.
[ 10.202226] wl: module verification failed: signature and/or required key missing - tainting kernel
编辑2:
ubuntu@ubuntu:~$ lsmod | grep bcma
ubuntu@ubuntu:~$ lsmod grep bcma
Usage: lsmod
ubuntu@ubuntu:~$ sudo dmesg | grep bcma
[ 0.881994] bcma-pci-bridge 0000:03:00.0: bus0: Found chip with id 0x4360, rev 0x03 and package 0x00
[ 0.882039] bcma-pci-bridge 0000:03:00.0: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2B, class 0x0)
[ 0.882064] bcma-pci-bridge 0000:03:00.0: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x2A, class 0x0)
[ 0.882110] bcma-pci-bridge 0000:03:00.0: bus0: Core 2 found: ARM CR4 (manuf 0x4BF, id 0x83E, rev 0x02, class 0x0)
[ 0.882158] bcma-pci-bridge 0000:03:00.0: bus0: Core 3 found: PCIe Gen2 (manuf 0x4BF, id 0x83C, rev 0x01, class 0x0)
[ 0.882183] bcma-pci-bridge 0000:03:00.0: bus0: Core 4 found: USB 2.0 Device (manuf 0x4BF, id 0x81A, rev 0x11, class 0x0)
[ 0.937872] bcma: Unsupported SPROM revision: 11
[ 0.937991] bcma-pci-bridge 0000:03:00.0: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[ 0.937994] bcma-pci-bridge 0000:03:00.0: bus0: Using fallback SPROM failed (err -2)
[ 0.937997] bcma-pci-bridge 0000:03:00.0: bus0: No SPROM available
[ 0.941667] bcma-pci-bridge 0000:03:00.0: bus0: Bus registered
答案1
我认为你已经完成大部分工作了。
您只需要使用 启动 wifi 即可modprobe wl
。
如果你更新内核,你的 wifi 驱动程序很可能会卸载。为此,
sudo apt install linux-headers-$(uname -r)
这将帮助您轻松安装所需的 wifi 驱动程序,并且您将再次需要激活它。