2

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:

  1. I can access my wi-fi network
  2. 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 [0280]: 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
  • Please edit your question and add output of lspci -knn | grep Net -A2; lsusb terminal command. – Pilot6 Jul 6 '15 at 9:08
  • Pilot6 I played further with it this morning, and seems that I managed to get something working more stably when installing blueman for xfce. In fact with the new installation I'm also evaluating the possibility to migrate desktop manager. But this is another story. The overall behaviour of bluetooth is still a bit obscure, and far from being reproducible, but I made a step forward. – Andrea Borga Jul 6 '15 at 11:55
10

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"

and reboot.

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

  • Great!:) that fixed it indeed. Thanks for the informative link as well, I'll read further about bluetooth-coexistence. I'm interested in low level software and hardware in general. – Andrea Borga Jul 6 '15 at 21:03
  • @guntbert I amended commands to make a separate file. – Pilot6 Aug 26 '15 at 20:09
  • @guntbert By testing – Pilot6 Aug 27 '15 at 20:56
  • 1
    It didn't fix mine. multiple key strokes for a single stroke :( – neckTwi May 27 '17 at 5:58
  • 1
    Worked for me on 18.04.1 LTS. – Kamil Maciorowski Sep 12 '18 at 18:37
1

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.conf > /dev/null

It worked for my ubuntu 16.04 like a charm.

  • Thank you so much. its indeed a charm! I can't thank you enough! – neckTwi May 27 '17 at 6:24
  • but I need to delete it and run it again after desktop starts. and it works for some 30 min – neckTwi May 27 '17 at 6:56
  • it seems reloading the driver every 30min is doing the trick – neckTwi May 27 '17 at 6:59

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.