LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to configure 1000 Base T ethernet card to send at 1000 Base T? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-configure-1000-base-t-ethernet-card-to-send-at-1000-base-t-757053/)

trist007 09-22-2009 02:02 PM

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?

johnh10000 09-22-2009 04:59 PM

{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

chrism01 09-22-2009 05:56 PM

It would appear that ethtool http://linux.die.net/man/8/ethtool is the utility to set that.

johnh10000 09-22-2009 06:08 PM

Quote:

Originally Posted by chrism01 (Post 3693454)
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! ;)

chrism01 09-22-2009 06:27 PM

@johnh10000: have you looked at http://www.fail2ban.org/wiki/index.php/Main_Page ?

johnh10000 09-22-2009 07:11 PM

Quote:

Originally Posted by chrism01 (Post 3693485)
@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)

trist007 09-22-2009 07:57 PM

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.

btncix 09-22-2009 08:32 PM

I'm just curious. How do you measure your speed?

trist007 09-22-2009 08:46 PM

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.

trist007 09-22-2009 09:44 PM

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

btncix 09-22-2009 10:26 PM

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.

trist007 09-22-2009 11:06 PM

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?

johnh10000 09-23-2009 12:59 AM

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)"


All times are GMT -5. The time now is 10:38 PM.