Slow internet on Ubuntu 8.10


A week or so after updating to Intrepid on my work desktop, I started experiencing really slow internet connections. (around 100k/s). Tried a different network port - no change. Booted into windows, and got 2M/s. After perusing the ubuntu forums, I found this solution:

edit /etc/sysctl.conf and add_ net.ipv4.tcpsack = 0 net.ipv4.tcpwindow_scaling = 0

edit /etc/modprobe.d/aliases to remove_ alias net-pf-10 ipv6 and add_ alias net-pf-10 off alias net-pf-10 off ipv6

This turns off IPv6, which seems rather heavy-handed, but disabling ipv6 in firefox alone didn't fix the problem. I suspect that it was the result of a change somewhere in the school's network, but dealing with their IT dept is like banging your head against a wall repeatedly. Hope this can help someone else with the same issue.

Comments

Written by drhind -

Dude - you are my new hero!!!! This probably has been driving me nuts for months. The fix has increased the speed something like 500%!

Written by Mintux -

This solution only works when there is a badly configured router on the network which does not handle IPv6 packets properly. If routers on the local network are properly configured, it should make no difference (but then your internet shouldn't be slow either).

Written by Mintux -

Oh yes, and it applies to any version of Ubuntu, not only 8.10.

Written by Chris -

Yes, to be perfectly clear_ This will not make your DSL faster, or speed up your network in most cases. This is only if you're stuck on a network out of your control (school, corporate, etc) that handles IPv4 improperly.

Written by imaginashawn -

After installing Ubuntu 8.10, my DSL internet connection was very slow. I was successful at correcting the problem by disabling ipv6. Here's the right way_ http_//www.pcmech.com/article/how-to-fix-a-slow-internet-connection-in-ubuntu-710/ Enjoy

comments powered by Disqus