Installed Ubuntu 10.04 and networking is incredibly slow
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installed Ubuntu 10.04 and networking is incredibly slow
Hi.
I have been a Linux user in the past for a good couple of years but I got back into gaming and left Linux for a while. Now after coming back to it, I have just installed Ubuntu 10.4 and all networking just seems incredibly slow.
I've browsed the internet as much as I can and found those Firefox pipelining tweaks all over the place; trying them makes no difference whatsoever so I decided to take a temporary solution and resort to OpenDNS but even this feels obviously too slow for the broadband I have.
Not only with loading web pages in Firefox, I have also tried downloading files from the internet and trying Google Chrome. But neither of these were right either.
I'm almost 90% sure it's not my BTHomeHub that's causing the problems because when using Windows, it works just fine and internet speeds are perfectly normal. The only OS I'm having this speed problem with is Ubuntu.
I'm unsure as to what evidence/help I can post, pings, IPv4/IPv6 information or WiFi configurations? I'm not sure but if there's anything I can do to post here that would help I can.
Just wondering though, this seems to be a big problem with Ubuntu 10.04 so has anyone had and solved this problem before and returned their internet speeds to what they should be?
This box was dead slow in ubuntu and I never sorted it - just moved on. That was slow all over, not just network. This is all amd inside.
Have you a wired/wireless?
What's your broadband speed?
Please post your resolv.conf. This is commonly overwritten by startup scripts and you have to give them the correct info to overwrite it with :-/. Check resolv.conf online, or find where and set (something like)
DHCP_KEEP_RESOLV = "TRUE"
The places to check, btw are
/etc/sysconfig/networking
/etc/sysconfig/network-scripts
I am running 10.04 (amongst others). My ISP is BT, and my telephone exchange is about 400 metres away. I use a netgear DG834G modem/router, not the BT-HomeHub (which I threw out).
I have no problems with speed, it flies: 19706 kbps downstream
1 check that your resolv.conf is not overwritten by connection scripts when you connect; or if it is, that the new one makes sense
mine gets overwritten with 192.168.0.1 as the only address, which makes for a long delay. Report back on this
2. Do a traceroute to www.australia.gov.au or somewhere like that and find if there's delays
Disabling IPV6 is worth a try:
Edit /etc/default/grub to read
Code:
GRUB_CMDLINE_LINUX="ipv6.disable=1"
then run sudo update-grub
then reboot
I have tried this but it didn't seem to do anything different. To make sure IPv6 is disabled I tried running lsmod | grep ipv6 and gave me no output.
Quote:
Originally Posted by business_kid
This box was dead slow in ubuntu and I never sorted it - just moved on. That was slow all over, not just network. This is all amd inside.
Have you a wired/wireless?
What's your broadband speed?
Please post your resolv.conf. This is commonly overwritten by startup scripts and you have to give them the correct info to overwrite it with :-/. Check resolv.conf online, or find where and set (something like)
DHCP_KEEP_RESOLV = "TRUE"
The places to check, btw are
/etc/sysconfig/networking
/etc/sysconfig/network-scripts
I could not find any directories for /etc/sysconfig, even with looking for hidden directories, /sysconfig is not there.
I'm using an Atheros AR5005G chipset and am currently having all these problems with my wireless.
I would try see what it's like with the wire but it's not working at the minute and have to buy a replacement wire so until then I'm stuck with wireless. There are not currently many things that can interfer with the wireless signals though. TV is in the same room along with a couple of mobile phones around but if it was interferances like that, why would Windows be so much faster than Ubuntu still?
Code:
@boris:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain home
search home
nameserver 192.168.1.254
Quote:
Originally Posted by business_kid
I would check 2 things
1 check that your resolv.conf is not overwritten by connection scripts when you connect; or if it is, that the new one makes sense
mine gets overwritten with 192.168.0.1 as the only address, which makes for a long delay. Report back on this
2. Do a traceroute to www.australia.gov.au or somewhere like that and find if there's delays
To be honest, I don't really know how to check is there are delays with traceroutes but here's the output:
Code:
@boris:~$ traceroute www.australia.gov.au
traceroute to www.australia.gov.au (205.239.168.12), 30 hops max, 60 byte packets
1 BThomehub.home (192.168.1.254) 70.313 ms 69.845 ms 69.443 ms
2 217.47.250.186 (217.47.250.186) 36.698 ms 38.530 ms 42.590 ms
3 217.47.200.161 (217.47.200.161) 44.453 ms 46.652 ms 48.530 ms
4 213.1.69.66 (213.1.69.66) 57.434 ms 57.502 ms 59.240 ms
5 217.32.24.22 (217.32.24.22) 60.451 ms 62.381 ms 66.331 ms
6 217.32.24.178 (217.32.24.178) 68.252 ms 36.610 ms 39.866 ms
7 acc1-10GigE-0-1-0-6.l-far.21cn-ipp.bt.net (109.159.249.94) 37.741 ms acc1-10GigE-0-1-0-4.l-far.21cn-ipp.bt.net (109.159.249.70) 38.469 ms acc1-10GigE-0-0-0-5.l-far.21cn-ipp.bt.net (109.159.249.78) 39.822 ms
8 core1-te0-4-0-6.ealing.ukcore.bt.net (109.159.249.1) 41.874 ms core1-te0-13-0-6.ealing.ukcore.bt.net (109.159.249.17) 36.856 ms core1-te0-4-0-6.ealing.ukcore.bt.net (109.159.249.1) 40.856 ms
9 transit1-xe0-0-0.ealing.ukcore.bt.net (62.6.200.106) 41.168 ms 42.231 ms 43.916 ms
10 t2c1-ge14-0-0.uk-eal.eu.bt.net (166.49.168.25) 41.907 ms 38.487 ms 40.331 ms
11 t2c2-p3-1.uk-lon1.eu.bt.net (166.49.208.110) 44.392 ms 46.130 ms 39.333 ms
12 t2a5-ge2-1.uk-lon1.eu.bt.net (166.49.135.116) 41.175 ms 45.805 ms 47.060 ms
13 i-5-1-2-peer.ulco-core01.pr.reach.com (134.159.95.25) 49.018 ms 53.137 ms 55.363 ms
14 i-5-2.nwk-core01.bx.reach.com (202.84.144.85) 136.119 ms 136.102 ms 141.127 ms
15 i-14-2-1.wil-core02.bi.reach.com (202.84.141.130) 216.973 ms 218.883 ms 179.251 ms
16 i-3-0-1.sydp-core02.bx.reach.com (202.84.144.102) 329.327 ms 331.182 ms 333.445 ms
17 TenGigabitEthernet0-2-0-0.pad-gw2.Sydney.telstra.net (203.50.13.45) 326.930 ms 329.054 ms 332.985 ms
18 Bundle-Ether3.ken-core4.Sydney.telstra.net (203.50.6.30) 336.616 ms 338.765 ms 340.561 ms
19 TenGigabitEthernet4-1.ken37.Sydney.telstra.net (203.50.20.52) 342.459 ms 327.046 ms 328.865 ms
20 edsaus8.lnk.telstra.net (139.130.248.198) 340.919 ms 344.976 ms 346.993 ms
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
I'm beginning to wonder if moving back to Ubuntu was the right choice now, though so may consider something like OpenSUSE or Fedora. Do these problems occur so commonly or is IPv6 default in either of those two would anyone know?
and see if that helps. That's ppendns.org. Your traceroute tells me the connection is slow atm. My times are 15-30 ms in the main, although I do have a slow one with 130ms. I was looking for the configuration information for your distro. If you can find that, let's see what it says and we can get wifi singing. Don't worry about electrical noise - believe me it's not a huge issue at the frequencies wifi can use. It even selects a quiet channel for itself.
and see if that helps. That's ppendns.org. Your traceroute tells me the connection is slow atm. My times are 15-30 ms in the main, although I do have a slow one with 130ms. I was looking for the configuration information for your distro. If you can find that, let's see what it says and we can get wifi singing. Don't worry about electrical noise - believe me it's not a huge issue at the frequencies wifi can use. It even selects a quiet channel for itself.
No problem.
I tried what you said above and if anything seemed to have made it go worse. I ran namebench to see if I could find any other DNS servers I could use but apparently BT's was the fastest it could find.
I have tried troubleshooting using many of the Ubuntu wiki pages and other forums I've seen but none of them seemed to help. No matter what I do the wireless is just slow. Checking the router, there doesn't seem to be any problem there either nor is there any firmware I can update to which might fix it so I'm at the firmware's latest version.
Signal strenght is almost as high as it can get. About a meter away. Nobody else are using the same wifi channel either, only me. I used aircrack-ng to look around at other wireless signals around this area and if there's anyone else using the same chanel and it's only me using the channel number but I changed and set the apply in the router interface page to another channel and this didn't work either - so I set it back just in case.
Just as more information: I removed all types of port forwarding I had set for various software on my Windows installation just to see if that would work at all but that didn't either.
Could it be that some type of wireless device support isn't set up in the kernel correctly? It's a fresh install so I wouldn't know and have forgotten most I used to know on Linux so I'm just getting back into it. May be far off here so it's just a question.
Humour me, and switch off encryption for a test run. Do your pings and traceroutes. I use sftp for transferring files and do not get full network speed, whereas ftp does give pretty close to full speed. Your box may not like it, or your router's cpu may be challenged.
Could it be that some type of wireless device support isn't set up in the kernel correctly?
Certainly could be.
I saw something similar back with Hardy maybe - the iwlwifi driver for the Intel 3945 was abysmal. "ifconfig" showed truckloads of errors.
Eventually managed to get hold of a backported driver.
What happens if you use a wired connection?
You could try to set the rate to 54M
Code:
iwconfig wlan0 rate 54M
Try to disable wep or wpa and see what happens
If anything this made it slower.
Quote:
Originally Posted by business_kid
Humour me, and switch off encryption for a test run. Do your pings and traceroutes. I use sftp for transferring files and do not get full network speed, whereas ftp does give pretty close to full speed. Your box may not like it, or your router's cpu may be challenged.
I tried and that didn't change a thing.
Here's a few commands I tried after tredegar's post:
Code:
traceroute to www.australia.gov.au (205.239.168.12), 30 hops max, 60 byte packets
1 192.168.1.254 (192.168.1.254) 50.864 ms 50.702 ms 50.563 ms
2 217.47.250.186 (217.47.250.186) 39.438 ms 41.521 ms 50.388 ms
3 217.47.200.161 (217.47.200.161) 52.025 ms 52.099 ms 54.291 ms
4 213.1.69.66 (213.1.69.66) 59.229 ms 61.222 ms 65.210 ms
5 217.32.24.22 (217.32.24.22) 67.305 ms 71.602 ms 75.307 ms
6 217.32.24.178 (217.32.24.178) 78.987 ms 41.777 ms 44.130 ms
^C
traceroute to router (67.215.65.132), 30 hops max, 60 byte packets
1 192.168.1.254 (192.168.1.254) 16.314 ms 15.899 ms 15.444 ms
2 217.47.250.186 (217.47.250.186) 41.213 ms 43.338 ms 45.781 ms
3 217.47.200.161 (217.47.200.161) 49.956 ms 53.152 ms 60.260 ms
4 213.1.69.66 (213.1.69.66) 61.217 ms 63.381 ms 71.217 ms
5 217.32.24.22 (217.32.24.22) 71.288 ms 76.835 ms 81.301 ms
6 217.32.24.178 (217.32.24.178) 82.909 ms 71.678 ms 75.389 ms
^C
PING router.home.com (67.215.65.132) 56(84) bytes of data.
64 bytes from hit-nxdomain.opendns.com (67.215.65.132): icmp_seq=1 ttl=49 time=47.8 ms
64 bytes from hit-nxdomain.opendns.com (67.215.65.132): icmp_seq=2 ttl=49 time=51.8 ms
64 bytes from hit-nxdomain.opendns.com (67.215.65.132): icmp_seq=3 ttl=49 time=54.7 ms
--- router.yourisp.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 47.804/51.449/54.706/2.843 ms
Quote:
Originally Posted by syg00
Certainly could be.
I saw something similar back with Hardy maybe - the iwlwifi driver for the Intel 3945 was abysmal. "ifconfig" showed truckloads of errors.
Eventually managed to get hold of a backported driver.
Do you see any errors in ifconfig ?.
None, unless there were certain troubleshooting commands I'm supposed to type in? But this is when running ifconfig:
If you know anyone with a wireless modem/router, it might be worth borrowing that and seeing if it works any better than BT's "HomeHub". As I said, I threw my "HomeHub" out and replaced it with a netgear.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.