LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-26-2008, 01:14 AM   #1
balls
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu 8.04 LTS
Posts: 8

Rep: Reputation: 0
Slow internet after upgrade to Ubuntu 8.04


I upgraded to Hardy Heron earlier today, and got my internet up and running fairly quickly, but found out that my internet was running outrageously slow (a minute plus to load google, mozilla, and wikipedia). I've tried disabling IPv6 and manually setting my DNS servers to no avail. On http://www.dslreports.com/speedtest my latency is 34 ms, download speed is 5434 kb/s, and upload speed is 434 kb/s. I don't think that my internet connection is to blame, considering that I'm on my laptop right now with no problems at all.

Output from ifconfig is as follows
Code:
eth0      Link encap:Ethernet  HWaddr 00:04:4b:02:62:5c  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:221 Base address:0x8000 

eth1      Link encap:Ethernet  HWaddr 00:04:4b:02:62:5d  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:222 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:134 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:8433 (8.2 KB)  TX bytes:8433 (8.2 KB)

wlan0     Link encap:Ethernet  HWaddr 00:12:17:9b:73:a2  
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2087 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1544 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1069210 (1.0 MB)  TX bytes:165182 (161.3 KB)

wmaster0  Link encap:UNSPEC  HWaddr 00-12-17-9B-73-A2-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
Any help at all would be appreciated. Thanks in advance.
 
Old 04-26-2008, 07:37 PM   #2
pccdrussell
Member
 
Registered: Jan 2006
Distribution: Ubuntu
Posts: 62

Rep: Reputation: 15
Hello, I have seen this as well. Its somewhat of a bummer being that Ubuntu is my favorite distro. But they do have a major problem with that. As in my environment, I have multiple non *buntu machines that do not do this. Anyway, give this a shot, it should do the trick.

Edit the file.... /etc/sysctl.conf and add the following lines to the end of the file.

# Tweaks for faster broadband...
net.core.rmem_default = 524288
net.core.rmem_max = 524288
net.core.wmem_default = 524288
net.core.wmem_max = 524288
net.ipv4.tcp_wmem = 4096 87380 524288
net.ipv4.tcp_rmem = 4096 87380 524288
net.ipv4.tcp_mem = 524288 524288 524288
net.ipv4.tcp_rfc1337 = 1
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_ecn = 0
net.ipv4.route.flush = 1

Save and quit.....and then run..
Code:
sudo sysctl -p
Test your internet speeds again. You should at least see a little bit of difference, but if its still not up to your likings...Replace all the 524288's with 262144.

Hope this helps!
 
Old 04-26-2008, 11:31 PM   #3
balls
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu 8.04 LTS
Posts: 8

Original Poster
Rep: Reputation: 0
Hey, thanks for the response.

I just tried this and had no luck. I tried pinging google but timed out.
 
Old 04-27-2008, 05:22 PM   #4
pccdrussell
Member
 
Registered: Jan 2006
Distribution: Ubuntu
Posts: 62

Rep: Reputation: 15
Shoot, Im not sure why that would have made you gone from slow to no connectivity whatsoever? I'll put my thinking cap on, but not sure. Anybody else out there any ideas?
 
Old 05-29-2008, 07:25 AM   #5
coolclassic
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
Try changing window scaling to 0 in the above
 
Old 07-11-2008, 12:39 PM   #6
debuser123
Member
 
Registered: Nov 2006
Distribution: Ubuntu Hardy
Posts: 69

Rep: Reputation: 15
Also try disabling timestamps

Code:
# echo 0 >/proc/sys/net/ipv4/tcp_timestamps
I had the same problem, takes about a minute or more to load a page, and noticed there were tcp checksum errors left & right. Disabling timestamps instantly fixed it.

Add this to your /etc/sysctl.conf so it happens on reboot
Code:
net.ipv4.tcp_timestamps=0
Reference
 
Old 07-19-2008, 08:21 AM   #7
Harry N
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
This, my very first post is merely to allow me to introduce a link in the next one
 
Old 07-19-2008, 08:22 AM   #8
Harry N
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
I had this same problem a few days ago, maybe after an update(?).
The (video)advice from :
http://www.revver.com/video/462429/h...in-ubuntu-710/
did the trick for me. Here is what to do in writing:

In a terminal
sudo gedit /etc/modprobe.d/aliases
password........

look for the line: alias net-pf-10 ipv6
copy and paste it, comment one out:
#alias net-pf-10 ipv6
and edit the other one to
alias net-pf-10 off

Save and reboot, good luck
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
Ubuntu 8.10 - Internet really really slow Boffy Linux - Wireless Networking 21 05-05-2009 06:02 AM
2.4-2.6 kernel upgrade->slow internet connection Swift&Smart Slackware 5 02-10-2006 02:39 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM
slow internet access. too slow!!! iamstinke Linux - Networking 2 01-01-2004 09:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration