I dual-booted my laptop with ubuntu 20.04 and windows 10. In Ubuntu when I'm trying to use wifi and Bluetooth simultaneously they are interfering with each other. I'm unable to use the internet through wifi when connected to a Bluetooth headset. A quick google search showed me that they both use the 2.5GHz ISM band, which is why they are interfering. But in Windows 10 everything works fine. My laptop has a Realtek RTL8723BE network adapter which doesn't support the 5GHz band.
Solutions I have already tried
- Turned off wifi and Bluetooth coexistence with the below command.
sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi bt_coex_active=N"
Source: https://techvorm.com/fix-wifi-not-working-slows-ubuntu-bluetooth-turned
- Tried running this command
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
Source: wi-fi and bluetooth not working simultaneously
- I tried to remove the
backport-iwlwifi-dkms
package using this
sudo apt remove backport-iwlwifi-dkms
Source: https://github.com/Dunedan/mbp-2016-linux/issues/143
- Lastly I tried this
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
Source: https://github.com/Dunedan/mbp-2016-linux/issues/143
Here is the output of the 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