Slow internet speed with Ubuntu but not with Windows

Associate
Joined
16 Aug 2003
Posts
221
I am dual booting my PC with Windows XP and Ubuntu 11.10.

A while back, I think it was when Unity was introduced my ubuntu connection to the internet became extremely slow.

if I am downloading a file and I issue a page request then the page request times out. Its exactly the same scenario with both Firefox and Chrome. If I pause the download the page request works instantly. The same is true if Ubuntu is downloading updates for the OS, the page requests in the browser fail.

It's like the OS doesn't share the bandwidth. I have no issues in Windows therefore I can only assume its down to the OS.
 

Huw

Huw

Associate
Joined
7 May 2011
Posts
1,055
Location
UK
Yeah, sounds like you need to disable IPv6; I had precisely the same problem a few years ago. I can't remember how it's done but I'm sure there's a how-to on the Ubuntu website.
 
Associate
OP
Joined
16 Aug 2003
Posts
221
A quick test to see if it is an ipv6 issue is to unload the ipv6 module:

Code:
sudo rmmod ipv6

See if that improves the situation. This will revert on reboot though so it is only used as a temporary test.

Just tried this but returns the following in the terminal.

Code:
ERROR: Module ipv6 does not exist in /proc/modules
 
Associate
OP
Joined
16 Aug 2003
Posts
221
whats in resolv.conf do you have IPv6 turned on? what are your ping times like to 8.8.8.8

Ping times as follows.

Code:
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=52 time=50.8 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=52 time=49.9 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=52 time=49.0 ms
64 bytes from 8.8.8.8: icmp_req=4 ttl=52 time=48.6 ms

--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 48.607/49.629/50.880/0.906 ms
 
Associate
Joined
18 Oct 2002
Posts
2,261
Location
Kidderminster
sudo gedit /etc/resolv.conf

delete everything and add

nameserver 8.8.8.8
nameserver 8.8.4.4

save and close edit, try again let us know how you get on.
 
Associate
OP
Joined
16 Aug 2003
Posts
221
sudo gedit /etc/resolv.conf

delete everything and add

nameserver 8.8.8.8
nameserver 8.8.4.4

save and close edit, try again let us know how you get on.

Ah ha.... Think that may have just done the trick! Still a little slow but at least pages now resolve rather than fail. Thanks.

I have a feeling I may have the OpenDNS nameservers setup in the network profile on the Windows OS so this would explain it...

Is it worth re-enabling all off the ipv6 stuff?
 
Back
Top Bottom