![]() |
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? Thanks. |
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 :) |
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 |
Disabling IPV6 is worth a try:
Edit /etc/default/grub to read Code:
GRUB_CMDLINE_LINUX="ipv6.disable=1"then reboot |
Quote:
Quote:
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.confQuote:
Code:
@boris:~$ traceroute www.australia.gov.auThanks for all the feedback. |
sorry about /etc/sysconfig. Most of the distros seem to use that.
Your resolv.conf is poor. Put something like search yourisp.com opendns.org nameserver 208.67.222.222 nameserver 208.67.220.220 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. |
Quote:
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. |
Code:
1 BThomehub.home (192.168.1.254) 70.313 ms 69.845 ms 69.443 msCode:
tred@vaio:~$ traceroute router |
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. |
What happens if you use a wired connection?
You could try to set the rate to 54M Code:
iwconfig wlan0 rate 54M |
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.
|
Quote:
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 ?. |
Quote:
Quote:
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 packetsQuote:
Code:
ifconfig |
Quote:
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. |
| All times are GMT -5. The time now is 06:33 PM. |