LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-21-2007, 01:37 AM   #1
fayax
LQ Newbie
 
Registered: Nov 2005
Posts: 15

Rep: Reputation: 0
Connection speed is limited to clients on Linux


Hello,

I have a 5 Mbps Internet connection which is connected to the Fedora7 Box and serving the clients with squid 2.6 STABLE12.

When I download something from the Linux box I get the speed about at 400KB/s. But when I download the same file from clients I get the speed at 50KB/s.

I connected the Internet connection directly to the client and to dowload the same file I get the speed at 400KB/s.

So I guess something is wrong on my linux configuration.

Anybody know why it is happening and how can I fix it.

Any help is greatly appreciated.

Thanks
 
Old 11-21-2007, 08:55 AM   #2
mehdi.sadighian
LQ Newbie
 
Registered: Mar 2007
Posts: 10

Rep: Reputation: 1
Hello Dear;
the first thing you must know is that the fedora is not very good distibution to work in professionaly; i refer you to use the redhat 8.0 or better to use slackware 11.0 or 12.0.
ok now try to connect the internet directly to your fedora box and connect the client with an cross-over cable to the other ethernet card of fedora box. now test again.
if there is no resault; check the iptables mangel table if any:

iptables -t mangel -L -nxv

it should have no entery in.

Now you must check your squid.conf file.

i think there is a problem in your squid configuration; see this configuration about squid 2.5 in my site:
http://www.00p00.com/pages/RH/Cache%20Server.html
and compare with yours but its some different in 2.6 configuration only in transparency; like http_accell section. you must specify they in other place.

But the best way to test the squid is to disable it and trying again.

GOOD LUCK

mehdi.sadighian@Hotmail.com

Last edited by mehdi.sadighian; 11-21-2007 at 08:58 AM.
 
Old 11-22-2007, 08:12 AM   #3
fayax
LQ Newbie
 
Registered: Nov 2005
Posts: 15

Original Poster
Rep: Reputation: 0
i connected the client direct to the fedora box and there was no result.

iptables mangle table is already clear and my squid.conf file looks good.

anybody have an idea of what the problem is?
 
Old 11-27-2007, 01:58 AM   #4
mehdi.sadighian
LQ Newbie
 
Registered: Mar 2007
Posts: 10

Rep: Reputation: 1
Hello Dear
did you disablesd your squid? and tried again?
if done; change your network card; i refer to use 3com or smc or micronet network card. it might solve your problem; its important to change both network cards; if no result change your os to redhat or slackware if dont want to do it change your computer.
GOOD LUCK
mehdi.sadighian@hotmail.com
http://www.00p00.com

Last edited by mehdi.sadighian; 11-27-2007 at 02:01 AM.
 
Old 11-27-2007, 01:31 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Fayax

Tons of people use Fedora to do this type of thing. Going back to a unsupported version of any distro is moronic. That being said Fedora only has a lifetime of about 1 year now. IF you do not like to reinstall every year, you may want to consider something like Centos5. Centos5 is RedHat EL5 with the logos removed. It has a Five year support life and is free to download just like Fedora. It "feels" like FC6.


My best guess is that the auto negotiate feature of the two cards is arguing or that one of your Ethernet cables is bad (worth checking). If this is the issue, it is one of those things you fix once an install. Take a look at the man pages for ethtool. It has a command to shut off auto negotiate. I do not use ethtool very often any more and I just do not remember the format.

For Fedora specific questions you may get more pinpoint information over on fedoraforum.org.

Good Luck
Lazlow
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Limited Wireless Connection montj Linux - Wireless Networking 2 09-03-2007 12:46 AM
Network Connection Speed Detector for Linux ron4ld Linux - Software 1 09-01-2004 01:25 AM
gFTP download speed limited to 25 kb/s klaypigeon Linux - Software 1 08-05-2004 12:31 PM
Limited Upload Speed sanmadjack Linux - Software 2 04-30-2004 01:34 PM
Is there a tool to monitor Internet connection speed and also network speed? xleft4dexy Linux - Networking 4 10-14-2003 11:29 PM

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

All times are GMT -5. The time now is 01:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration