I have recently upgraded to Ubuntu 14.04 LTS 64-bit. I had this configuration working for three years with Ubuntu 12.04 LTS. I went for a fresh installation (not distro upgrade), the only thing I kept are the home folders (/home mountpoint) of my users. Scenario:
- I can access my wi-fi network
- I can stream music via bluetooth with A2DP
If I try to do both at the same time now, e.g stream audio from deezer, the internet connection stops. I can’t even ping google.com; so I think this is not a browser related issue. If I switch-off the bluetooth everything gets back to normal. I’ve got no clue on where to start debugging my problem.
Here the output of
lspci -knn | grep Net -A2; lsusb
03:00.0 Network controller : Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] [8086:008a] (rev 34) Subsystem: Intel Corporation Centrino Wireless-N 1030 BGN [8086:5305] Kernel driver in use: iwlwifi 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 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 Bus 001 Device 004: ID 1bcf:2883 Sunplus Innovation Technology Inc. Bus 001 Device 003: ID 8086:0189 Intel Corp. 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
Here is Solutions:
You can fix it by turning off bluetooth and wireless coexistence.
Run in terminal
sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi bt_coex_active=N"
It looks like kernel developers have overdone that functionality slightly 😉
This setting can be always undone by
sudo rm /etc/modprobe.d/iwlwifi-opt.conf
You can read this to understand what it does
Run the following 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
It worked for my ubuntu 16.04 like a charm.
This effects Ubuntu 16.04 with ‘Intel(R) Dual Band Wireless AC 7260, REV=0x144’, and Bluetooth Coexist functionality but differently:
The Intel 7260 in 802.11AC Mode does not understand the the
auto _agg=0 argument which turns on Link Aggregation found in the “/etc/modprobe.d/iwlwifi.conf” file. This will cause your Wireless to stop working. Remove it, and change the command from:
echo "options iwlwifi 11n_disable=1bt_coex_active=0
swcrypto=1" | sudo tee /etc/modprobe.d/iwlwifi.conf > /dev/null
echo "options iwlwifi 11n_disable=111n_disable=8
power_save=0 swcrypto=1" | sudo tee /etc/modprobe.d/iwlwifi.conf > /dev/null
The focus of the Intel 7260 problem is that some BT speakers may be
detected by the systems Bluetooth Manager, but unable to be used as
an audio output result of the 802.11N – 13 channel Wifi band conflict
with the 79 BT channels in the 2.4Ghz range (See link 1). Changing
11n_disable=1option removes Wireless 802.11N functionality so
there is no more conflict with the unused Band. BT Loudspeakers are
able to be detected, and connected, but not selected for audio output
in the Sound Settings Control Panel (Pulse Audio).
11n_disable=8option replaces the
auto_agg=0option and enables Link Aggregation needed for the Wireless AC 7260 to operate. Without it the Intel Wireless 7260 will not connect!
bt_coex_active=0can enable the Bluetooth to operate
without WLAN disconnect issues when enabling and disabling the Bluetooth “hci0” by allowing the BT device to become independent but both now *unmanaged (See link 2). In your case the disconnect or interruption of wireless service may happen when this option is set to
bt_coex_active=1because the BT blocks the Wireless because the BT thinks itself is always broadcasting. Ie. The WLAN half of the Multi-card NIC broadcasts and the BT Half thinks it is responsible for the transmission. Thus is not able to tell the difference and never shuts off while the Wireless is transmitting therefore causing interference, lagginess, etc from the conflict. However this option may remain set to
bt_coex_active=1as it isn’t effected on the Intel 7260 Wireless Adapter. The following link provides visual aid to help explain why to set this option to enable if you can:
These setting used together will allow connected Bluetooth Loudspeakers to be used as an output device once selected in Sound Settings when otherwise connected without audio. Speakers such as the JBL Flip 4 can now output sound once these changes are made and a reboot has been completed. You may need to choose the “Audio Sink” Profile in the addon “Blueman Applet” but isn’t needed after that)
This should work
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
If this doesn’t work, replace
I hope this was even at all helpful.
Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂