Very slow, intermittent WiFi speeds with 14.04 and Intel PRO/Wireless 5100 AGN [Shiloh]

I don't know how much relevant this may be, still an Ubuntu newbie, but I had similar problems with my Ralink 5362 card.

The only thing it seemed to work was the following:

There is a bug in the Debian Avahi daemon in Ubuntu. And to resolve this you need to edit the following file /etc/nsswitch.conf as follows.

Type the following in the command line

sudo -H gedit  /etc/nsswitch.conf

This will open the nsswitch.conf file in the text editor. Then simply change the following line

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

to the below line and save the file.

hosts:          files dns

Reset your internet connection or probably restart your system and your wireless connection should be back on top speed. This worked for me at least.


I actually have this problem too, so I look forward to any permanent solution, but one temporary one would be:

sudo iwconfig wlan0 rate 54M

where 54M is your actual wireless capability.


I've noticed the same issue with my laptop (Intel Wireless 7260 / Lenovo W540). Every few days networking slows to a crawl (includes traffic over all protocols: http, ssh, ftp, etc). I believe I've also experienced the same behavior over eth0, but can't remember.

The workaround for me is to restart network-manager -- that seems to clear out any issues.

jmiranda@jmiranda-ThinkPad-W540:~$ sudo service network-manager restart

lshw

jmiranda@jmiranda-ThinkPad-W540:~$ sudo lshw -C network
  *-network               
       description: Ethernet interface
       product: Ethernet Connection I217-LM
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 04
       serial: 3c:97:0e:ea:1b:a4
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.13-3 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:44 memory:b2a00000-b2a1ffff memory:b2a3f000-b2a3ffff ioport:5080(size=32)
  *-network
       description: Wireless interface
       product: Wireless 7260
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 6b
       serial: 7c:7a:91:06:7b:e2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=3.13.0-29-generic firmware=22.1.7.0 ip=192.168.1.158 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       resources: irq:45 memory:b2800000-b2801fff

I can suggest you to install the Kernel 3.13.0-37_3.13.0-37.64+iwlltr0001 from: http://people.canonical.com/~sforshee/iwl-ltr/trusty/

and the Intel firmware iwlwifi-3160-9-ucode.

After that, I typed in a terminal:

$echo "options iwlmvm power_scheme=1" | sudo tee /etc/modprobe.d/iwlmvm.conf
$echo "options iwlwifi bt_coex_active=Y swcrypto=1 11n_disable=1" | sudo tee /etc/modprobe.d/iwlwifi.conf
$sudo reboot