LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-22-2009, 02:02 PM   #1
trist007
Member
 
Registered: May 2008
Distribution: Slackware
Posts: 972

Rep: Reputation: 56
How to configure 1000 Base T ethernet card to send at 1000 Base T?


I have a router that is 1000 Base T and two computers each with ethernet cards that support 1000 Base T. All are equipped with Cat 5e cable. Before I had a router that only went up to 100 Base T and I would setup one box with linux running proftpd. On the other box, I would use win xp pro and use firefox to ftp into the other box and download a file. Download speeds went up to 11.2 MB/sec. Now when I switched routers, I expected something like 120 MB/sec but I'm only getting 5.3 MB/sec. What do I need to change?
 
Old 09-22-2009, 04:59 PM   #2
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Rep: Reputation: 33
{quote] Now when I switched routers, I expected something like 120 MB/sec but I'm only getting 5.3 MB/sec. What do I need to change?[/QUOTE]
thats a good question. On my lan i'm sometimes down to 400k/sec a 3 box lan, and a win7 wireless lappy.

sorry can't help, but i'm interested in what the others have to say
 
Old 09-22-2009, 05:56 PM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
It would appear that ethtool http://linux.die.net/man/8/ethtool is the utility to set that.
 
Old 09-22-2009, 06:08 PM   #4
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Rep: Reputation: 33
Quote:
Originally Posted by chrism01 View Post
It would appear that ethtool http://linux.die.net/man/8/ethtool is the utility to set that.
Thanks.

I'm a fine one to talk about networks at the mo. Try to lock down the server a bit. Just one anoying ip. He locked the network out of it, and locked it out from the Inet. A fun hour or two. Fixed now!
 
Old 09-22-2009, 06:27 PM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
@johnh10000: have you looked at http://www.fail2ban.org/wiki/index.php/Main_Page ?
 
Old 09-22-2009, 07:11 PM   #6
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Rep: Reputation: 33
Quote:
Originally Posted by chrism01 View Post
@johnh10000: have you looked at http://www.fail2ban.org/wiki/index.php/Main_Page ?

Thanks for that. part my problem waswhen I'd baned the ip I thought he was still there. But my usuall access to the server is via nx,(x, shh thing)
 
Old 09-22-2009, 07:57 PM   #7
trist007
Member
 
Registered: May 2008
Distribution: Slackware
Posts: 972

Original Poster
Rep: Reputation: 56
I tried

Code:
ethtool -s eth0 speed 1000
and now I get 11.3 MB/sec. I honestly think there was no change because I was getting this speed on my old router.

I also tried changing the advanced properties of the receiving NIC in windows xp pro. I changed the media type from auto to 1000, no change.

Last edited by trist007; 09-22-2009 at 08:02 PM.
 
Old 09-22-2009, 08:32 PM   #8
btncix
Member
 
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware x86
Posts: 141

Rep: Reputation: 26
I'm just curious. How do you measure your speed?
 
Old 09-22-2009, 08:46 PM   #9
trist007
Member
 
Registered: May 2008
Distribution: Slackware
Posts: 972

Original Poster
Rep: Reputation: 56
On the winxp pro box, the firefox download transfer rate when downloading a file from the ftp server on the other box running proftpd. I use firefox to login to ftp server and just click file to download.

Last edited by trist007; 09-22-2009 at 08:48 PM.
 
Old 09-22-2009, 09:44 PM   #10
trist007
Member
 
Registered: May 2008
Distribution: Slackware
Posts: 972

Original Poster
Rep: Reputation: 56
I think the issue is driver related. The driver's are simply not a good match for my NIC. Anyhow, I tried hosting from winxp pro instead of linux. First I tried where the receiving win xp box would run my computer name to access my share and move the file to his desktop, transfer seemed about the same. However, I setup serv-u ftp server on one win xp box. I then used firefox on the other box to ftp in and low and behold, it started at 20MB/sec and gradually went up to 35MB/sec where it finished downloading. I'm going to test it with a huge file, 9.5 gigs to see how high the transfer rate will actually go.

Also, in windows I went to the control panel-network connection-device-configure-advance-media speed, and changed it from auto to 1000baseT
 
Old 09-22-2009, 10:26 PM   #11
btncix
Member
 
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware x86
Posts: 141

Rep: Reputation: 26
I wish I could be of more help, but perhaps you could use a crossover cable to directly connect to your winxp box, use static ip addresses, and then measure the transfer rate. I'm just wondering if perhaps your router is limiting your transfer rate.
 
Old 09-22-2009, 11:06 PM   #12
trist007
Member
 
Registered: May 2008
Distribution: Slackware
Posts: 972

Original Poster
Rep: Reputation: 56
I used a crossover and got 46.4 MB/sec max, which ain't bad. I was using cat 5e utp crossover cable. After doing the math, 1000 baseT or 1Gb/sec or 1,000,000,000 bits per second would translate to 125 MB/sec. How do I go from a max of 46.4 MB/sec to 125 MB/sec? I disabled flow control on both sending and receiving NICs. How would I lock up my server(as mentioned in a previous post)? You mean my ftp server? How would I do that?

Last edited by trist007; 09-22-2009 at 11:10 PM.
 
Old 09-23-2009, 12:59 AM   #13
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Rep: Reputation: 33
my problem returned even blocking em' in iptables

Also how do you edit a cron job
The log file is long:

68.68.100.109 - - [21/Sep/2009:23:04:07 +0100] "GET /rpg/lotgd/index.php?c=1-141449 HTTP/1.1" 302 20 "-" "Mozilla/5.0 (compatible; AutomaticSiteMap)"
68.68.100.109 - - [21/Sep/2009:23:04:08 +0100] "GET /rpg/lotgd/runmodule.php?module=rss&op=describe&c=1-141449 HTTP/1.1" 200 3000 "-" "Mozilla/5.0 (compatible; AutomaticSiteMap)"
68.68.100.109 - - [21/Sep/2009:23:04:08 +0100] "GET /rpg/lotgd/index.php?c=1-141450 HTTP/1.1" 302 20 "-" "Mozilla/5.0 (compatible; AutomaticSiteMap)"
68.68.100.109 - - [21/Sep/2009:23:04:09 +0100] "GET /rpg/lotgd/about.php?c=1-141450 HTTP/1.1" 200 4120 "-" "Mozilla/5.0 (compatible; AutomaticSiteMap)"
 
  


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
eee Pc 1000 and ethernet card phobus666 Linux - Laptop and Netbook 2 09-02-2008 11:10 AM
Did I send 1000+ spam emails this morning? khinch Linux - Newbie 5 09-30-2007 01:17 PM
Ethernet 3Com Gigabit 10/100/1000 _NYTRO_ Linux - Software 3 11-13-2003 06:28 PM


All times are GMT -5. The time now is 02:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration