我想用我的 Broadcom 无线适配器 [14e4:43a0] (Ubuntu 18.04 LTS) 连接到 5GHz wifi。我觉得我尝试了谷歌为我提供的所有选项。有一次,我让 wifi 在 2.4GHz 下工作,但重启后它就消失了。我开始怀疑这是否可行。
目前专有的 bcmwl 驱动程序(尝试使用 GUI 和 apt-get 安装)未正确加载(至少我认为 UNCLAIMED 是这个意思):
sudo lshw -C network
显示:
*-network UNCLAIMED
description: Network controller
product: BCM4360 802.11ac Wireless Network Adapter
vendor: Broadcom Inc. and subsidiaries
physical id: 0
bus info: pci@0000:06:00.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:f9400000-f9407fff memory:f9200000-f93fffff
卡详细信息:
lspci -knn | grep -A4 -i "Network controller"
06:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
Subsystem: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:0619]
Kernel modules: bcma, wl
07:00.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch [10b5:8747] (rev ca)
Kernel driver in use: pcieport
当我打电话时,wl 出现了lsmod
,并且我将 bcma 列入了黑名单/etc/modprobe/blacklist.config
如果您认为我无法通过这张卡实现我的目标:您能告诉我另一张可以使用的卡吗?我无法更改路由器上的频道。
编辑1:
sudo modprobe wl
没有输出
编辑2:
dmesg | grep wl
[ 5.877439] wl: module license 'MIXED/Proprietary' taints kernel.
[ 5.887137] wl 0000:06:00.0: enabling device (0100 -> 0102)
[ 5.904976] Modules linked in: kvm_intel(+) kvm snd_hda_codec_realtek irqbypass wl(POE+) snd_hda_codec_generic ledtrig_audio hid_generic(+) snd_hda_intel snd_intel_nhlt usbhid snd_hda_codec drm_kms_helper hid snd_hda_core drm snd_hwdep snd_pcm ipmi_devintf ipmi_msghandler snd_seq_midi fb_sys_fops snd_seq_midi_event eeepc_wmi syscopyarea crct10dif_pclmul crc32_pclmul asus_wmi snd_rawmidi sysfillrect ghash_clmulni_intel sparse_keymap sysimgblt cfg80211(OE) aesni_intel snd_seq compat(OE) video aes_x86_64 wmi_bmof intel_wmi_thunderbolt snd_seq_device mxm_wmi crypto_simd cryptd glue_helper snd_timer intel_cstate mei_me snd intel_rapl_perf mei soundcore lpc_ich mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 igb e1000e i2c_algo_bit dca ahci libahci wmi
[ 5.905063] wl_cfg80211_attach+0xed/0x6d0 [wl]
[ 5.905092] ? wl_cfg80211_attach+0xed/0x6d0 [wl]
[ 5.905102] wl_pci_probe+0x476/0xf75 [wl]
[ 5.905132] Modules linked in: kvm_intel(+) kvm snd_hda_codec_realtek irqbypass wl(POE+) snd_hda_codec_generic ledtrig_audio hid_generic(+) snd_hda_intel snd_intel_nhlt usbhid snd_hda_codec drm_kms_helper hid snd_hda_core drm snd_hwdep snd_pcm ipmi_devintf ipmi_msghandler snd_seq_midi fb_sys_fops snd_seq_midi_event eeepc_wmi syscopyarea crct10dif_pclmul crc32_pclmul asus_wmi snd_rawmidi sysfillrect ghash_clmulni_intel sparse_keymap sysimgblt cfg80211(OE) aesni_intel snd_seq compat(OE) video aes_x86_64 wmi_bmof intel_wmi_thunderbolt snd_seq_device mxm_wmi crypto_simd cryptd glue_helper snd_timer intel_cstate mei_me snd intel_rapl_perf mei soundcore lpc_ich mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 igb e1000e i2c_algo_bit dca ahci libahci wmi
[ 5.905191] wl_cfg80211_attach+0xed/0x6d0 [wl]
[ 5.905219] ? wl_cfg80211_attach+0xed/0x6d0 [wl]
[ 5.905228] wl_pci_probe+0x476/0xf75 [wl]
[ 5.905244] ERROR @wl_alloc_wdev :
[ 5.905277] ERROR @wl_cfg80211_detach :
[ 5.905277] NULL ndev->ieee80211ptr, unable to deref wl
[ 5.905285] Modules linked in: kvm_intel(+) kvm snd_hda_codec_realtek irqbypass wl(POE+) snd_hda_codec_generic ledtrig_audio hid_generic(+) snd_hda_intel snd_intel_nhlt usbhid snd_hda_codec drm_kms_helper hid snd_hda_core drm snd_hwdep snd_pcm ipmi_devintf ipmi_msghandler snd_seq_midi fb_sys_fops snd_seq_midi_event eeepc_wmi syscopyarea crct10dif_pclmul crc32_pclmul asus_wmi snd_rawmidi sysfillrect ghash_clmulni_intel sparse_keymap sysimgblt cfg80211(OE) aesni_intel snd_seq compat(OE) video aes_x86_64 wmi_bmof intel_wmi_thunderbolt snd_seq_device mxm_wmi crypto_simd cryptd glue_helper snd_timer intel_cstate mei_me snd intel_rapl_perf mei soundcore lpc_ich mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 igb e1000e i2c_algo_bit dca ahci libahci wmi
[ 5.905336] wl_free+0xcb/0x280 [wl]
[ 5.905367] ? wl_cfg80211_attach+0x47d/0x6d0 [wl]
[ 5.905376] wl_pci_probe+0x648/0xf75 [wl]
答案1
我有在 5Ghz 上运行的 BCM4360,但有一些注意事项。
lspci -knn | grep -A4 -i "Network controller"
04:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
Subsystem: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:0619]
Kernel driver in use: wl
Kernel modules: bcma, wl
uname -a
Linux hostname 5.3.0-42-generic #34~18.04.1-Ubuntu SMP Fri Feb 28 13:42:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
请注意这里的 PCI 设备 ID,因为 BCM4360 有两个变体,并且据我所知,另一个变体没有 Linux 驱动程序。
目前驱动程序存在一个错误,导致 48 以上的 5Ghz 通道无法运行,因此请将路由器锁定到 48 及以下的通道之一。我的路由器无法连接 20 或 40Mhz 以外的通道宽度,因此不要将您的路由器锁定到 80 或其他值并希望它能连接。我还坚持在路由器上只使用无线 N,因为 AC 似乎也有一些问题。考虑到所有因素,我对结果感到满意:
iperf3 -c 10.0.0.222
Connecting to host 10.0.0.222, port 5201
[ 4] local 10.0.0.146 port 46570 connected to 10.0.0.222 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 17.2 MBytes 145 Mbits/sec 0 267 KBytes
[ 4] 1.00-2.00 sec 17.8 MBytes 150 Mbits/sec 0 332 KBytes
[ 4] 2.00-3.00 sec 17.0 MBytes 143 Mbits/sec 0 351 KBytes
[ 4] 3.00-4.00 sec 16.8 MBytes 141 Mbits/sec 0 372 KBytes
[ 4] 4.00-5.00 sec 17.5 MBytes 147 Mbits/sec 0 392 KBytes
[ 4] 5.00-6.00 sec 16.8 MBytes 141 Mbits/sec 0 413 KBytes
[ 4] 6.00-7.00 sec 14.9 MBytes 125 Mbits/sec 0 413 KBytes
[ 4] 7.00-8.00 sec 16.7 MBytes 140 Mbits/sec 0 434 KBytes
[ 4] 8.00-9.00 sec 17.4 MBytes 146 Mbits/sec 0 434 KBytes
[ 4] 9.00-10.00 sec 17.2 MBytes 144 Mbits/sec 0 437 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 169 MBytes 142 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 167 MBytes 140 Mbits/sec receiver
这比我的 USB 2.4GHz 加密狗好大约 3 倍。希望驱动程序能够不断改进,我们以后可以做得更好。
仅供参考,我的 dmesg 在启用后显示一些不同的东西。
dmesg | grep wl
[ 3.075673] wl: loading out-of-tree module taints kernel.
[ 3.075675] wl: module license 'MIXED/Proprietary' taints kernel.
[ 3.094410] wl: module verification failed: signature and/or required key missing - tainting kernel
[ 3.095637] wl 0000:04:00.0: enabling device (0000 -> 0002)
[ 3.164364] wlan0: Broadcom BCM43a0 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)
[ 3.193075] wl 0000:04:00.0 wlp4s0: renamed from wlan0
[ 3.202615] rtl8192cu 1-3:1.0 wlxblahblah: renamed from wlan1
听起来也像 - 由于有多个驱动程序/版本可用 - 人们错误地将其列入黑名单,或安装了将工作驱动程序列入黑名单的软件包。
也许检查一下:
cat /usr/lib/modprobe.d/broadcom-wl.conf
答案2
我认为 Pilot6 是对的,该卡不受支持。我从亚马逊购买了这款卡,连接 5GHz 时没有遇到任何问题:https://www.amazon.co.uk/gp/product/B07FSG5W9Q/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1