Ubuntu – WiFi and Bluetooth can’t work simultaneously!


My laptop disconnects from the network (not only the internet, I am not even able to ping the router) after few seconds when I am using my Bluetooth Mouse (Logitech MX Anywhere 2S). This could potentially extend to all Bluetooth devices but I don't have another device to confirm.
If I disconnect from the network and reconnect, the connection lasts for few seconds till the issue happen again.
If I diconnect the mouse, the connectivity start working normally without issues.
This doesn't happen when I am running Windows (on the Same laptop), so this is a configuration issue.
If it helps, I am using Elementary OS 5 (based on 18.05LTS, 64 bit). Laptop Sony Vaio

Best Answer

Try this command sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi bt_coex_active=N" and reboot. If it works use the following command to be permanent sudo rm /etc/modprobe.d/iwlwifi-opt.conf

The command will make bluetooth and WiFi coexist. Work at the same time.

When the last command removes the file "iwlwifi-opt.conf" it will delete the configuration that is blocking the coexistence of the two.

Comment edited to be able to approve

Related Question