Wifi 和蓝牙不能同时工作

Ank*_*dhu 5 wireless bluetooth networking drivers wifi-direct

我用 ubuntu 20.04 和 Windows 10 双启动了我的笔记本电脑。在 Ubuntu 中,当我尝试同时使用 wifi 和蓝牙时,它们会相互干扰。连接到蓝牙耳机时,我无法通过 wifi 使用互联网。谷歌快速搜索显示,它们都使用 2.5GHz ISM 频段,这就是它们产生干扰的原因。但在 Windows 10 中一切正常。我的笔记本电脑有一个不支持 5GHz 频段的 Realtek RTL8723BE 网络适配器。

我已经尝试过的解决方案

  1. 使用以下命令关闭 wifi 和蓝牙共存。

sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi bt_coex_active=N"

来源:https : //techvorm.com/fix-wifi-not-working-slows-ubuntu-bluetooth-turned

  1. 尝试运行此命令

echo "options iwlwifi 11n_disable=1 bt_coex_active=0 power_save=0 auto_agg=0 swcrypto=1" | sudo tee /etc/modprobe.d/iwlwifi-options.conf > /dev/null

来源:wi-fi 和蓝牙不能同时工作

  1. 我试图backport-iwlwifi-dkms用这个删除包

sudo apt remove backport-iwlwifi-dkms

来源:https : //github.com/Dunedan/mbp-2016-linux/issues/143

  1. 最后我试过这个
sudo modprobe -r rtl8723be
sudo modprobe rtl8723be ant_sel=2
echo "options rtl8723be ant_sel=2" | sudo tee /etc/modprobe.d/rtl8723-ant-sel.confecho
Run Code Online (Sandbox Code Playgroud)

来源:https : //github.com/Dunedan/mbp-2016-linux/issues/143

这里是输出 lspci -knn | grep Net -A2; lsusb

02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
    Subsystem: Lite-On Communications Inc RTL8723BE PCIe Wireless Network Adapter [11ad:1724]
    Kernel driver in use: rtl8723be
    Kernel modules: rtl8723be
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:b719 Realtek Semiconductor Corp. Bluetooth Radio 
Bus 001 Device 002: ID 13d3:5a01 IMC Networks USB2.0 VGA UVC WebCam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Run Code Online (Sandbox Code Playgroud)

chi*_*555 5

首先,您已经为iwlwifi(英特尔设备的无线驱动程序)做了一些驱动程序参数选择。你没有;你的是Realtek。

虽然参数选择没有坏处,但它们是不必要的,只是占用空间。我建议你删除它们。

sudo rm /etc/modprobe.d/iwlwifi-options.conf
Run Code Online (Sandbox Code Playgroud)

其次,如果设备不支持 5 GHz 频道,我会感到非常惊讶;让我们确认:

sudo iwlist freq
Run Code Online (Sandbox Code Playgroud)

您的路由器支持 5 GHz 吗?

nmcli device wifi list
Run Code Online (Sandbox Code Playgroud)

如果是这样,我建议您在路由器的管理页面中重命名 5 GHz 频段,例如 redhu5 或类似名称,然后连接到它。

接下来,您尝试 ant_sel=2 没有成功。请尝试 ant_sel=1:

echo "options rtl8723be ant_sel=1" | sudo tee /etc/modprobe.d/rtl8723-ant-sel.conf
Run Code Online (Sandbox Code Playgroud)

重启看看有没有改善。

最后,按照建议,尝试在路由器中设置一个固定通道,1、6 或 11。进行任何更改后,重新启动路由器。看看这些是否会带来改进。


san*_*lio 0

您已经使用了天线选择。但也许选择不同的天线会有帮助,请参阅这个这个

可能有助于诊断问题的一项操作是尝试查看 Win 10 和 Ubuntu 之间的差异。天线选择请参见此,蓝牙协作请参见此,并与 Ubuntu 进行比较。