Wifi 适配器好像不见了……有点

Wifi 适配器好像不见了……有点

好吧,我重启了电脑,发现有些不同……我的 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 破坏了驱动程序??

答案1

如果你使用的是 Ubuntu 18.04 和 5.3 内核,则需要在终端中执行

wget http://mirrors.kernel.org/ubuntu/pool/multiverse/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-11_all.deb
sudo dpkg -i broadcom-sta-dkms_6.30.223.271-11_all.deb
然后重启

答案2

您的问题可能与几件事有关。

1)安全启动

您是否检查过 BIOS 中的安全启动选项是否被禁用(这可能会导致 Broadcom 无线网卡无法被识别)。

2)rfkill

您是否检查过 rfkill 列表,看看硬件或软件上是否有任何东西阻止您使用无线网卡?使用此命令rfkill list

3)重新安装驱动程序bcmwl-kernel-source

sudo apt-get remove --purge bcmwl-kernel-source
sudo apt-get install bmcwl-kernel-source

我不确定它是否能解决您的问题,但至少它会删除列表中的一些选项。作为替代方案,您可以在此处找到一些信息:安装 Broadcom 无线驱动程序

相关内容