![BCM43142 上没有 wifi(但蓝牙可以工作)](https://linux22.com/image/1088979/BCM43142%20%E4%B8%8A%E6%B2%A1%E6%9C%89%20wifi%EF%BC%88%E4%BD%86%E8%93%9D%E7%89%99%E5%8F%AF%E4%BB%A5%E5%B7%A5%E4%BD%9C%EF%BC%89.png)
我的 wifi 卡总是出问题。我使用的是 Ubuntu 14.04,有时没有 wifi,而且直到我重启电脑后才出现“启用 wifi”选项。
有一天,它突然停止工作了,无计可施。我升级到了 Ubuntu 16.10,它仍然无法工作。
安装后bcmwl-kernel-source
,蓝牙可以使用,但 wifi 却不行,和以前一样。
我尝试了很多解决方案,但没有一个对我有用:
sudo ifconfig wlan0 up
(wlan0不存在)
service network-manager restart
(我猜网络管理器没有问题)
apt-get purge bcmwl-kernel-source
apt-get install b43-fwcutter firware-b43-installer
(我最终bcmwl-kernel-source
从附加驱动程序选项卡重新安装)
sudo modprobe wl
sudo modprobe b43
(进程继续运行,但什么也没发生)
检查 Bios 中的安全模式;已被禁用
做好准备
我当时非常绝望,以为我的以太网卡有一些秘密的无线功能 XD 所以这就是我所做的
sudo lspci | grep -i ethernet
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 05)
sudo modprobe -rfv wl rt2800pci
sudo apt-get purge bcmwl-kernel-source
sudo modprobe -v rt2800pci
我应该撤消它来修复此问题吗?以及如何修复?
当然,我最终还是重新安装了,bcmwl-kernel-source
就像我说的,附加驱动程序。
当然,wifi 已打开(Fn+F2在我的 Dell inspiron 15 上)
以下是一些可能有用的输出:
lspci
$ lspci -nn | grep Net*
02:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
$ lspci -k | grep -i network -A 2
02:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)
Subsystem: Device 1128:0016
Kernel driver in use: wl
lsusb
$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0c45:649a Microdia
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ifconfig
接口 wlan0 根本不存在
$ sudo ifconfig
enp1s0 Link encap:Ethernet HWaddr 74:86:7a:61:2d:19
UP BROADCAST MULTICAST MTU:1500 Metric:1
Packets reçus:5723 erreurs:0 :0 overruns:0 frame:0
TX packets:5836 errors:2 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:3856720 (3.8 MB) Octets transmis:718950 (718.9 KB)
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:65536 Metric:1
Packets reçus:4302 erreurs:0 :0 overruns:0 frame:0
TX packets:4302 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1
Octets reçus:321187 (321.1 KB) Octets transmis:321187 (321.1 KB)
iwconfig
$ iwconfig
lo no wireless extensions.
enp1s0 no wireless extensions.
rfkill list
正如我所说,只有蓝牙可以工作
$ rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
ls -1 /etc/modprobe.d
bcm43 被列入黑名单,这是正常的吗?或者我应该做些什么?
$ ls -1 /etc/modprobe.d/
alsa-base.conf
blacklist-ath_pci.conf
blacklist-bcm43.conf
blacklist.conf
blacklist-firewire.conf
blacklist-framebuffer.conf
blacklist-modem.conf
blacklist-oss.conf
blacklist-rare-network.conf
blacklist-watchdog.conf
dkms.conf
fbdev-blacklist.conf
intel-microcode-blacklist.conf
iwlwifi.conf
mlx4.conf
vmwgfx-fbdev.conf
dmesg
$ dmesg | grep wl
[ 17.618389] wl: module license 'MIXED/Proprietary' taints kernel.
[ 17.620902] wl: module verification failed: signature and/or required key missing - tainting kernel
[ 17.634296] wl driver 6.30.223.248 (r487574) failed with code 1
[ 17.634405] Modules linked in: wl(POE+) snd_rawmidi snd_seq dell_wmi sparse_keymap intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp mei_me snd_seq_device snd_timer kvm_intel cfg80211 kvm mei snd dell_laptop dcdbas dell_smm_hwmon irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel joydev input_leds cryptd serio_raw shpchp lpc_ich soundcore mac_hid parport_pc ppdev lp parport autofs4 rtsx_usb_sdmmc rtsx_usb i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse ahci drm r8169 libahci mii wmi video fjes
[ 17.634930] RIP: 0010:[<ffffffffc07f3673>] [<ffffffffc07f3673>] wl_cfg80211_detach+0xf3/0x100 [wl]
[ 17.635549] [<ffffffffc07eaf06>] ? wl_free_if.isra.15+0x26/0xa0 [wl]
[ 17.635620] [<ffffffffc07eb780>] wl_free+0x60/0x270 [wl]
[ 17.635747] [<ffffffffc07ebd3d>] wl_pci_probe+0x3ad/0x740 [wl]
[ 17.642095] [<ffffffffc03f2084>] wl_module_init+0x84/0x1000 [wl]
[ 17.659643] RIP [<ffffffffc07f3673>] wl_cfg80211_detach+0xf3/0x100 [wl]
答案1
您已安装正确的驱动程序bcmwl-kernel-source
。
问题是无法加载,因为您的 BIOS 中启用了安全启动选项。禁用它,一切应该都可以正常工作。
如果您已这样做,则需要将blacklist wl
其删除。/etc/modprobe.d/blacklist.conf
答案2
您的dmesg
硬件和驱动程序组合非常不理想。我建议您清除并重新安装驱动程序:
sudo apt-get purge bcmwl-kernel-source
在网络连接正常的情况下:
wget http://mirrors.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu11_amd64.deb
sudo dpkg -i bcmwl*.deb
注意:假设您安装的是 64 位系统;请检查:arch
重启并再次检查:
dmesg | grep wl
如果您仍然看到这些令人震惊的错误:
[ 17.634296] wl driver 6.30.223.248 (r487574) failed with code 1
[ 17.634405] Modules linked in: wl(POE+) snd_rawmidi snd_seq dell_wmi sparse_keymap intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp mei_me snd_seq_device snd_timer kvm_intel cfg80211 kvm mei snd dell_laptop dcdbas dell_smm_hwmon irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel joydev input_leds cryptd serio_raw shpchp lpc_ich soundcore mac_hid parport_pc ppdev lp parport autofs4 rtsx_usb_sdmmc rtsx_usb i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse ahci drm r8169 libahci mii wmi video fjes
[ 17.634930] RIP: 0010:[<ffffffffc07f3673>] [<ffffffffc07f3673>] wl_cfg80211_detach+0xf3/0x100 [wl]
[ 17.635549] [<ffffffffc07eaf06>] ? wl_free_if.isra.15+0x26/0xa0 [wl]
[ 17.635620] [<ffffffffc07eb780>] wl_free+0x60/0x270 [wl]
[ 17.635747] [<ffffffffc07ebd3d>] wl_pci_probe+0x3ad/0x740 [wl]
[ 17.642095] [<ffffffffc03f2084>] wl_module_init+0x84/0x1000 [wl]
[ 17.659643] RIP [<ffffffffc07f3673>] wl_cfg80211_detach+0xf3/0x100 [wl]
然后,基于 14.04 和 16.10 上都失败的事实,我怀疑是硬件本身的问题。卡是否牢固地固定在连接器上?天线是否连接牢固?卡是否存在电气缺陷?
我们从您的粘贴中看到内核错误仍然存在。我建议您将驱动程序列入黑名单:
sudo -i
echo "blacklist wl" >> /etc/modprobe.d/blacklist.conf
exit
重启。现在,让我们尝试另一个驱动程序:
sudo modprobe brcmsmac
有什么改善吗?日志里有什么线索吗?
dmesg | grep brcm
如果您尝试使用 Broadcom 专有驱动程序韦也韓國,那么我建议您提交错误报告:https://help.ubuntu.com/community/ReportingBugs
最后,我会投资购买 USB 无线设备,直到修复该错误。在这里和 ubuntuforums.org 上搜索会发现几个。