好的,所以我重新启动了我的计算机,但情况有所不同...我的 Wifi 连接面板不见了!好像我没有wifi适配器了!
奇怪的是,使用 lshw确实检测到适配器......
➜ lshw -C network
WARNING: you should run this program as super-user.
*-network UNCLAIMED
description: Network controller
product: BCM4352 802.11ac Wireless Network Adapter
vendor: Broadcom Inc. and subsidiaries
physical id: 0
bus info: pci@0000:04:00.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: latency=0
resources: memory:a3400000-a3407fff memory:a3200000-a33fffff
*-network
description: Ethernet interface
product: Ethernet Connection (7) I219-V
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: eno1
version: 10
serial: 40:b0:76:de:79:9a
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.5-4 ip=192.168.178.48 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:127 memory:a3500000-a351ffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
到底是怎么回事?!
更新
➜ sudo dkms build bcmwl/6.30.223.271+bdcom
Kernel preparation unnecessary for this kernel. Skipping...
applying patch 0002-Makefile.patch...patching file Makefile
Hunk #1 succeeded at 113 with fuzz 1.
Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).
applying patch 0003-Make-up-for-missing-init_MUTEX.patch...patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 111 with fuzz 2 (offset 12 lines).
applying patch 0010-change-the-network-interface-name-from-eth-to-wlan.patch...patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 221 (offset -14 lines).
applying patch 0013-gcc.patch...patching file Makefile
applying patch 0019-broadcom-sta-6.30.223.248-3.18-null-pointer-fix.patch...patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 2169 (offset 12 lines).
applying patch 0020-add-support-for-linux-4.3.patch...patching file src/shared/linux_osl.c
applying patch 0021-add-support-for-Linux-4.7.patch...patching file src/wl/sys/wl_cfg80211_hybrid.c
applying patch 0022-add-support-for-Linux-4.8.patch...patching file src/wl/sys/wl_cfg80211_hybrid.c
Hunk #1 succeeded at 2391 (offset 3 lines).
Hunk #2 succeeded at 2501 (offset 3 lines).
Hunk #3 succeeded at 2933 (offset 9 lines).
applying patch 0023-add-support-for-Linux-4.11.patch...patching file src/include/linuxver.h
patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 2919 (offset 4 lines).
applying patch 0024-add-support-for-Linux-4.12.patch...patching file src/wl/sys/wl_cfg80211_hybrid.c
Hunk #1 succeeded at 55 (offset 5 lines).
Hunk #2 succeeded at 472 (offset 5 lines).
Hunk #3 succeeded at 2371 (offset 5 lines).
Hunk #4 succeeded at 2388 (offset 5 lines).
applying patch 0025-add-support-for-Linux-4.14.patch...patching file src/shared/linux_osl.c
Hunk #1 succeeded at 1080 (offset 4 lines).
applying patch 0026-add-support-for-Linux-4.15.patch...patching file src/wl/sys/wl_linux.c
Hunk #2 succeeded at 2306 (offset 4 lines).
Hunk #3 succeeded at 2368 (offset 4 lines).
Building module:
cleaning build area...
make -j12 KERNELRELEASE=5.3.0-20-generic -C /lib/modules/5.3.0-20-generic/build M=/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build...(bad exit status: 2)
ERROR (dkms apport): kernel package linux-headers-5.3.0-20-generic is not supported
Error! Bad return status for module build on kernel: 5.3.0-20-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more information.
难道是内核 5.3.0-20 破坏了驱动程序?
如果您使用 Ubuntu 18.04 和 5.3 内核,则需要在终端中执行
然后重启您的问题可能与几件事有关。
1) 安全启动
您是否检查过 BIOS 中的安全启动选项是否被禁用(它可能会阻止 Broadcom 无线网卡被识别)。
2) rfkill
您是否检查过 rfkill 列表以查看硬件或软件上是否有任何东西阻止您使用无线网卡?使用此命令
rfkill list
3)重新安装驱动
bcmwl-kernel-source
我不确定它会解决你的问题,但至少它会删除列表中的一些选项。作为替代方案,您可以在此处找到一些信息:安装 Broadcom 无线驱动程序