Download speed painfully slow (SOLVED)

Hi guys

I’ve just installed Peppermint 5 to my daughters PC which I have connected to my network, I’ve been having video streaming problems and I think the problem might be due to extremely slow download speed compared to other PC’s connected to the network, there are 4 PC’s currently connected and the download speed ranges between 12mbps & 26mbps however the PC in question is only reporting 0.48mbps which seems unnaturally slow

The values are taken from this site http://www.bandwidthplace.com/

Any help or suggestions would be much appreciated

Graeme

is this wireless ?

What does networkmanager say is the wireless connection speed ?

Does it take longer to transfer a large file from your NAS on this PC than others ?

is this wireless ?

Yes USB wireless

What does networkmanager say is the wireless connection speed ?

On average about 60mbps at the same time the other PC’s record about 108 mbps

Does it take longer to transfer a large file from your NAS on this PC than others ?

Yes much longer I tested it with a 14mb music video it took 1min 20 secs to copy from the NAS to the Home folder while the other 2 PC’s took only 3 secs to do the same thing

Graeme

Okey dokey, one further thing I’d like you to do befre sending all the connection info

Make sure all PC’s are OFF … reboot the router … fire up this PC and test if wireless has improved (you can ignore your NAS, just have as many PC’s as possible OFF when testing this one).

Then send the connection info:

sudo lshw -C network

and

ifconfig

and

iwconfig

Ok I did as you suggested, copying the same music video took only 30 sec this time (still 10 times slower than the other PC’s) connection speed is the same and playing a youtube video is no better,

One thing that was strange although it might not mean anything is before I did anything I tried to connect to the router interface to make sure I could reboot from the PC when ready and it wouldn’t connect nor would it connect with the other PC’s so I had to reboot the router manually, now that it’s been rebooted it’s connecting no problem.

Anyway here’s the outputs you asked for

laura-paul@OurPC ~ $ sudo lshw -C network
[sudo] password for laura-paul: 
  *-network               
       description: Wireless interface
       physical id: 1
       bus info: usb@2:4
       logical name: wlan0
       serial: c8:3a:35:ca:0e:df
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rt2800usb driverversion=3.13.0-34-generic firmware=0.29 ip=192.168.2.20 link=yes multicast=yes wireless=IEEE 802.11bgn
laura-paul@OurPC ~ $ ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:3438 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3438 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:524866 (524.8 KB)  TX bytes:524866 (524.8 KB)

wlan0     Link encap:Ethernet  HWaddr c8:3a:35:ca:0e:df  
          inet addr:192.168.2.20  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::ca3a:35ff:feca:edf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24478 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15688 errors:0laura-paul@OurPC ~ $ sudo lshw -C network
[sudo] password for laura-paul: 
  *-network               
       description: Wireless interface
       physical id: 1
       bus info: usb@2:4
       logical name: wlan0
       serial: c8:3a:35:ca:0e:df
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rt2800usb driverversion=3.13.0-34-generic firmware=0.29 ip=192.168.2.20 link=yes multicast=yes wireless=IEEE 802.11bgn
laura-paul@OurPC ~ $ ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:3438 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3438 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:524866 (524.8 KB)  TX bytes:524866 (524.8 KB)

wlan0     Link encap:Ethernet  HWaddr c8:3a:35:ca:0e:df  
          inet addr:192.168.2.20  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::ca3a:35ff:feca:edf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24478 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15688 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:32091403 (32.0 MB)  TX bytes:1729481 (1.7 MB)

laura-paul@OurPC ~ $ iwconfig
wlan0     IEEE 802.11bgn  ESSID:"Network Emegra"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 74:44:01:FA:1A:B8   
          Bit Rate=54 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=37/70  Signal level=-73 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:56  Invalid misc:294   Missed beacon:0

lo        no wireless extensions.

laura-paul@OurPC ~ $ dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:32091403 (32.0 MB)  TX bytes:1729481 (1.7 MB)

laura-paul@OurPC ~ $ iwconfig
wlan0     IEEE 802.11bgn  ESSID:"Network Emegra"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 74:44:01:FA:1A:B8   
          Bit Rate=54 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=37/70  Signal level=-73 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:56  Invalid misc:294   Missed beacon:0

lo        no wireless extensions.

laura-paul@OurPC ~ $

Graeme

First try this:

sudo modprobe -r rt2800usb

then

sudo modprobe rt2800usb nohwcrypt=1

did that make any difference ?

What’s the output from:

lsusb

?

Ok I can’t carry out the instructions because it’s dropping connection constantly and the only way I can reconnect is to reboot and to add to that anytime the network drops out the PC refuses to shut down, it get to the screen Peppermint, Shutting Down , the red progress bar get to about a quarter of the way across and stops and I have to hit the power button, this is not a new problem I have been experiencing this as well as the slow connection but it wasn’t as frequent as it is now.

However I’ve come across another USB adaptor and that seems to be working better, the connection speed seems to be about the same but I copied the music video over in 7 seconds which is much more in line with the other PC’s, youtube videos is better and almost watchable

and now after typing all that I’ve just noticed the network has dropped out again but it popped in again after a few minutes :frowning:

Just checked internet download speed and it seems a little better at 2.64mbps but it’s lower than the upload at 3.07mbps

Graeme

Okey dokey, are you sure this isn’t just a location issue … is the download speed still rubbish if you move elsewhere ?

With a USB adapter post the output from:

lsusb

and

sudo lshw -C network

and

ifconfig

and

iwconfig

and

iwlist scanning

and

rfkill list

that covers pretty much everything I should need to know … and really should be posted with any enquiry about wireless (note to self, might be a good idea to post this as a sticky) :slight_smile:

laura-paul@OurPC ~ $ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 14cd:8168 Super Top
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 050d:705c Belkin Components F5D7050 Wireless G Adapter v4000 [Zydas ZD1211B]
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
laura-paul@OurPC ~ $ sudo lshw -C network
[sudo] password for laura-paul:
*-network
description: Wireless interface
physical id: 1
bus info: usb@6:1
logical name: wlan1
serial: 00:11:50:b2:ca:89
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=zd1211rw driverversion=3.13.0-34-generic firmware=4725 ip=192.168.2.20 link=yes multicast=yes wireless=IEEE 802.11bg
laura-paul@OurPC ~ $ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:369310 errors:0 dropped:0 overruns:0 frame:0
TX packets:369310 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:94158819 (94.1 MB) TX bytes:94158819 (94.1 MB)

wlan1 Link encap:Ethernet HWaddr 00:11:50:b2:ca:89
inet addr:192.168.2.20 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::211:50ff:feb2:ca89/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:338315 errors:0 dropped:0 overruns:0 frame:0
TX packets:259530 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:397677061 (397.6 MB) TX bytes:60373704 (60.3 MB)

laura-paul@OurPC ~ $ iwconfig
lo no wireless extensions.

wlan1 IEEE 802.11bg ESSID:“Network Emegra”
Mode:Managed Frequency:2.437 GHz Access Point: 74:44:01:FA:1A:B8
Bit Rate=54 Mb/s Tx-Power=27 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=28/100 Signal level=28/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:62 Invalid misc:405 Missed beacon:0

laura-paul@OurPC ~ $ iwlist scanning
lo Interface doesn’t support scanning.

wlan1 Scan completed :
Cell 01 - Address: 74:44:01:FA:1A:B8
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=28/100 Signal level=28/100
Encryption key:on
ESSID:“Network Emegra”
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000001347d26911
Extra: Last beacon: 91356ms ago
IE: Unknown: 000E4E6574776F726B20456D65677261
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown: 2D1AFE181BFFFF000001000000000000000000000000000000000000
IE: Unknown: 3D1606051700000000000000000000000000000000000000
IE: Unknown: 4A0E14000A002C01C800140005001900
IE: Unknown: 7F0101
IE: Unknown: DD7E0050F204104A0001101044000102103B000103104700107D70BC53E951030A126C5E8F3C161C26102100074E657467656172102300074E6574676561721024000631323334353610420007303030303030311054000800060050F204000110110007564D4447343835100800022008103C0001011049000600372A000120
IE: Unknown: DD090010180207F02C0000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00

laura-paul@OurPC ~ $ rfkill list
1: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
laura-paul@OurPC ~ $

Try temporarily disabling wireless encryption in the router and seeing if that improves anything.

You didn’t answer my question whether this could purely be “location” based … does another laptop give much better results from the same room ?

Try temporarily disabling wireless encryption in the router and seeing if that improves anything.

Ok I’ll give that a try and post back

You didn't answer my question whether this could purely be "location" based .. does another laptop give much better results from the same room ?

Sorry Mark I’ve been distracted today with one thing or another this is not a laptop it’s a desktop PC so I’m limited as to where I can locate it but it’s currently located no more than 3 feet from my PC which has no issues, the router is in the attic and positioned no more than 10 feet away directly above

Many thanks

Graeme

is that other PC wireless ? … what happens if you try it’s wireless adapter ?

just trying to figure out if it’s the adapter or not.

is that other PC wireless ? .. what happens if you try it's wireless adapter ?

The other PC is wireless but it’s PCI, and unfortunately I don’t have a spare PCI slot on Laura’s PC (my daughter) it’s taken up with a ethernet card but I’ve just thought I do have a USB ethernet adaptor so I can use that and try a PCI wireless card in it’s place

Would that be worth trying ?

Graeme

Can’t hurt … why do you need an ethernet adapter at all ?

Can't hurt ..

Ok I’ll give that a try tomorrow and post back

why do you need an ethernet adapter at all ?

I thought you were gonna ask that, I’ll try to explain what I’m trying to do

This PC was running Peppermint 4 so it needed to be upgraded anyway but my daughter asked me if it was possible put all Chloes movies, music videos etc on it and set up a softmodded xbox running XBMC in her bedroom to stream the videos to her TV so the idea is to use the PC as a normal computer and a media server so I need wireless to connect to the internet and ethernet to connect the xbox to the PC

Hope I’ve explained that ok

So far I’m not having much luck, the PC is running fine and although the internet connection could be better it may be as good as I’m gonna get and it’s probably adequate for normal browsing, the main issues I’m having as well as the network problem is getting the xbox to connect to the PC via SMB but that’s a completely different issue so I’ll post a new thread if I get completely stuck

Many thanks for your help so far

Graeme

What I’m trying to figure out is - is this a problem on the PC/OS itself, or just down to duff network adapters.

So what would be handy is if you remove all network adapters, then remove all entries in this file:

sudo gedit /etc/udev/rules.d/70-persistent-net.rules

so it now just reads:-

# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.


SAVE the file and shut down.

Now try the network adapter from the other PC in the room in this one … and see if it has the same kinda connection speed as the one you just removed it from.

That way we can say whether it’s purely the adapter or not.


You can always replace the network adapter afterwards.

ok I tried what you suggested and installed the card from my PC but it’s not showing any available networks, it is being detected in the PC


laura-paul@OurPC ~ $ lshw -c network
WARNING: you should run this program as super-user.
  *-network               
       description: Wireless interface
       product: RT3062 Wireless 802.11n 2T/2R
       vendor: Ralink corp.
       physical id: 8
       bus info: pci@0000:00:08.0
       logical name: wlan0
       version: 00
       serial: c8:3a:35:c0:6d:57
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt2800pci driverversion=3.13.0-34-generic firmware=0.34 latency=32 link=no maxlatency=4 mingnt=2 multicast=yes wireless=IEEE 802.11bgn
       resources: irq:16 memory:dffe0000-dffeffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
laura-paul@OurPC ~ $ 

Before I done this I tried a PCI wireless card I had lying around to save me taking the one out of my PC and although it connected to the network it made no difference so I then followed you instructions again and installed the one from my PC

Ok I got the card working by deleting all the connections in the network manager and rebooting and the difference in the download speed is amazing

before the best I could get was about 2.2mbps but normally less than 1mbps but after installing the card from my PC it recorded 49mbps which is faster than any of the other PC’s have recorded

Graeme

Cool … are we done here, or do you want to try deleting them again, and going back to the second USB card, and see what happens ?

Yeah we’re done thanks,

I’m just gonna leave things as they are I’ll leave the spare PCI card in my PC for now it’s recording a slower download speed but not as low as it was recording in Laura’s PC but I can get a better card at a later date

Many thanks I’ll mark this solved

Graeme