Wireless very slow on 11.04

Asked by Jonathan Fisher

I am using a Netgear WN111v2 adapter, which detects fine and doesn't have problems with losing packets (though it does disconnect occasionally), and registers at full speed (54-130mbps) but actual speed is like 20kbps (!), sometimes less. It worked flawlessly for me under Mint 10, with the same wireless driver, ar9170usb.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Try disabling IPv6. Can help. Have you logged a bug

Revision history for this message
Jonathan Fisher (rikugo1) said :
#2

Thank you for the prompt reply. I did as you suggested but the problem persists.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Try a different channel

Revision history for this message
Ian Ace (iaculallad) said :
#4

The slowlessness of your wireless connection may have been caused by the new power management setting of Ubuntu.

Make sure you know what interface your wireless card is using. Run the command below from the Terminal:

iwconfig

This should give you a value of Wlan0 or Eth1. Now type in the command below from the same Terminal to manually turn-off the power management:

sudo iwconfig wlan0 power off

To make the changes permanent, you have to check if the folder (/etc/pm/power.d) exist. If it doesn't then you have to create:

sudo mkdir /etc/pm/power.d

Then create a file named (wireless) under that directory:

gksudo gedit /etc/pm/power.d/wireless

and paste the line of code below:

#!/bin/sh
/sbin/iwconfig wlan0 power off

Do make sure that you place the correct wireless interface (wlan0 or Eth1). Save and Close.

HTH.

Revision history for this message
Jonathan Fisher (rikugo1) said :
#5

Tried that, but power management was already off. I edited the file as you suggested to be safe, and rebooted, but as I expected there was no change.

Revision history for this message
Jonathan Fisher (rikugo1) said :
#6

Here's my connection data:

jonathan@ubuntu:~$ sudo lshw -C network; lsb_release -a; uname -a; rfkill list
[sudo] password for jonathan:
  *-network
       description: Ethernet interface
       product: NetLink BCM57780 Gigabit Ethernet PCIe
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: eth0
       version: 01
       serial: 00:25:64:f4:2c:a8
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.116 duplex=half firmware=sb v2.05 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:43 memory:fbff0000-fbffffff
  *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@2:1.6
       logical name: wlan0
       serial: 00:22:3f:91:96:1e
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=ar9170usb driverversion=2.6.38-8-generic firmware=N/A ip=192.168.1.3 link=yes multicast=yes wireless=IEEE 802.11bgn
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
0: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no

Revision history for this message
Dusko (duskomarincic) said :
#7

First of all, I'm sorry if I shouldn't post this here, but I'm having the same problem.

I did the iwconfig thing recommended before and this didn't fix it (and yes my wireless is wlan0). I Uninstalled the Network Manager and installed wicd and nothing.. (I'm going to reinstall the Network Manager again).
I didn't have this problem with previous Ubuntu versions.

My network card is a D-Link DWA-542 and is wirelessly connected to a D-Link router 655.

The speed in my Windows 7 (according to Speedtest.net) is: download around 17Mb / Upload around 3Mb
In Ubuntu I get: download around 1 to 2Mb and Upload around the same.
I did a lot of speed tests in several days.
I disabled the ip6 and still have the same problem.

If anyone can find what's wrong and how to fix it, I (and a lot of people) will really appreciate it.

I love Ubuntu and been using it for several years, by the way that new Unity thing is HORRIBLE, I switched to Classic.

Thank You

Revision history for this message
Jonathan Fisher (rikugo1) said :
#8

I have not been able to solve the issue yet. I also found the following link, which didn't work for me, but it sounds like the same issue. Perhaps you will have better luck with it.

http://www.jrhenkelmann.net/index.php?option=com_content&task=view&id=34

Revision history for this message
Dusko (duskomarincic) said :
#9

Thank You, that worked for me. Now they have even a newer image version (2.6.38-10) so you should try it again.
Thanks a lot.

Revision history for this message
Jonathan Fisher (rikugo1) said :
#10

I tried installing that version the first time. I think this solution works, but I don't have easy access to a wired connection for this computer, so I had to try to install it under the slow wireless connection, which I think corrupted the file.

Revision history for this message
Dusko (duskomarincic) said :
#11

Yes it works, I had the same problem when I tried to install it through the wireless, it took me like two hours and I got a bunch of errors downloading, then I wired my connection and was able to do the update in like 5 minutes.
Now my wireless speed is perfect, same as in windows.
I hope you can find a way to wire it to do the update.

Thanks again.

Revision history for this message
marcosecalle (marcosecalle) said :
#12

> Hola, Sres.:

Por favor, les ruego que me den de baja de las listas de correo de Ubuntu
(mailing lists), ya que recibo tantos mensajes de ustedes, que está
saturado mi correo electrónico.

Gracias.

Marcos de la Calle

--------------------------------------------------------------------------------------------
Busca, compara... pero busca en Qué!
Descúbrelo en http://buscar.que.es/
--------------------------------------------------------------------------------------------
Correo enviado desde http://www.ozu.es

Can you help with this problem?

Provide an answer of your own, or ask Jonathan Fisher for more information if necessary.

To post a message you must log in.