LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-07-2005, 04:08 PM   #1
liljhand
Member
 
Registered: May 2004
Location: Brampton, ONT.
Distribution: Ubuntu Hoary the Hedgehog
Posts: 90

Rep: Reputation: 15
internet tooooooooooooo slow


My connection is 3Mbps down and 384Kbps up. Im using mandrake with a cable modem. i dont know why but my internet speeds are too slow. windoze works fine with the same connection but with linux it gets slow. are there any processes that i need to kill or settings that may help me increases the speeds
 
Old 02-07-2005, 04:46 PM   #2
oddo
Member
 
Registered: Sep 2003
Location: Bucharest
Distribution: Slackware *.*
Posts: 36

Rep: Reputation: 15
Just a thought: do you chave any errors on interfaces? - do an ifconfig and watch number of errors...
 
Old 02-07-2005, 06:06 PM   #3
broch
Member
 
Registered: Feb 2005
Distribution: Slackware-current 64bit
Posts: 465

Rep: Reputation: 32
Maybe this will help:
- check /etc/resolv.conf (correct ip of dns servers?)
- disable ipv6
- adjust MTU if needed
- adjust txqueuelen
- play with /etc/sysctl.conf (you can easily find linux specific settings on the web)
- kill ipv6 support in FF
- and more...
 
Old 02-07-2005, 09:13 PM   #4
liljhand
Member
 
Registered: May 2004
Location: Brampton, ONT.
Distribution: Ubuntu Hoary the Hedgehog
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by broch
Maybe this will help:
- check /etc/resolv.conf (correct ip of dns servers?)
- disable ipv6
- adjust MTU if needed
- adjust txqueuelen
- play with /etc/sysctl.conf (you can easily find linux specific settings on the web)
- kill ipv6 support in FF
- and more...
the ip of dns servers is correct and i disabled my ipv6 using # echo "alias net-pf-10 off" >> /etc/modprobe.conf
i dont know how to do any of the other stuff u told me. can u plz plz point me to where i can find a guide or summin to make those changes
 
Old 02-08-2005, 10:51 AM   #5
broch
Member
 
Registered: Feb 2005
Distribution: Slackware-current 64bit
Posts: 465

Rep: Reputation: 32
disable ipv6 in FF
enter in the address bar:
about:config
set filter to
ipv6

double click on
network.dns.disableIPv6
value: true

optimize MTU:
open terminal window and enter:

#ping -f -l 1472 www.server_name.com
you should get something like that:
Reply from xxx.xxx.xxx.xxx: bytes=1472 time<1ms TTL=125
Reply from xxx.xxx.xxx.xxx: bytes=1472 time<1ms TTL=125
Reply from xxx.xxx.xxx.xxx: bytes=1472 time<1ms TTL=125

Ping statistics for xxx.xxx.xxx.xxx:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms

now set the MTU value to 1500:
#ping -f -l 1500 www.server_name.com

you should see:
Pinging www.mcg.edu [xxx.xxx.xxx.xxx] with 1500 bytes of data:

Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.

Ping statistics for xxx.xxx.xxx.xxx:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)

Play with MTU value to get highest possible number without fragmentation

/etc/sysctl.conf

in the terminal window run:
sysctl -a | more
look for the values of:
tcp_timestamps
tcp_window_scaling
tcp_sack

all should be of the value 1
if not then enter the folloving commands in the terminal window:
echo 1 > /proc/sys/net/ipv4/tcp_timestamps
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
echo 1 > /proc/sys/net/ipv4/tcp_sack

These are only examples
you can also play with wmem, rmem and so on however I would read about it first.


Final note: all this may not help:
1. some sort of misconfiguration
2. your distro does not like specific NIC
3. other stuff

Anyway, try the above and tell how it goes.
 
  


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
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM
Very Slow Internet homey Linux - Networking 1 04-04-2005 08:44 PM
slow internet wrepti Fedora 1 06-16-2004 01:23 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 04:13 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