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 05-08-2004, 06:19 PM   #1
soichih
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
400Mbps on 100Mbps ethernet


Hello!

I am having trouble with my home network. I am hoping somebody could give me advice about where to trouble shoot..

Okay, I have a XP box that connects to a cable modem. I installed a second ethernet card on the XP box to connect to my linux box directly by crossover cable. When I copy file from XP to the linux box, it's very fast. (I am not sure how fast exactly is, but window task bar icon has tool tip that says, 400Mbps on the tooltip !?)

However, when I try to transfer file from the linux box to the windows box, I get the speed of around 8kb/sec... When I do ethtool on the linux box, I get following status.

Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Current message level: 0x00000001 (1)
Link detected: yes

I don't know how to get similar status on windows box, but I am wondering if this issue has anything to do with the window site of the ethernet card to not have configured with full-duplex mode.

Can somebody give me any hint?

Thanks!
 
Old 05-09-2004, 01:17 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
In WinXP you can find that information by right-clicking on My Network Places, select Properties, then find your Local Area Network connection that has your network card listed next to it. Right-click on that and select properties. Select the Blah Blah Network Adaptor (it will be the name of your network card) and hit Properties. There should be a tab called bindings or something like that. It has a bunch of variables on the list to the left. If you click on one, it will show you the value on the right and allow you to change it.

What are you using to transfer files, though? If it's Samba, there have been a lot of reports of Samba being slow transferring files one way but not the other. Try searching the forums.

By the way, it's impossible to transfer at 400Mb/s with 100BaseT Ethernet. It probably said 40Mb/s, not 400 (or else it was 400Kb/s).

Last edited by chort; 05-09-2004 at 01:19 PM.
 
Old 05-09-2004, 02:09 PM   #3
soichih
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for your reply.

I tried to browse the network card setting on XP for the ethernet card, but I couldn't find anywhere with information that you pointed out. I think it's somehow made invisible because the card is setup as part of XP network bridge and XP controls it, or something.

For the 400Mbps speed, No, I see exactly "Network Bridge Speed: 400.0 Mbps" on the task bar. It is "M"bps not K. I don't know what this means, but actual speed that I get for XP to linux is around 80Mbps which sounds about right. The connection speed from linux to XP is again, still super slow of around 10-8Kbps..

If duplex is the issue, will is cause the symptom like I am having? I think it will make both up/down stream slow.

Last edited by soichih; 05-09-2004 at 02:33 PM.
 
Old 05-09-2004, 06:52 PM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Oh, that's because you have two network cards bridged in WinXP, so the 400Mb/s speed is between the two cards in the same box.

You still didn't answer my question, what are you using to transfer files? It could have a lot to do with the problem. Are you using Windows shares (SMB/CIFS), FTP, SCP, rsync, NFS, what???
 
Old 05-09-2004, 07:43 PM   #5
soichih
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I tested with a FTP server on XP box first for both up/down. The speed was as I stated in the previous message. Then I tested on FTP server on Linux box. The connection was speed was the same but in this case up/down revered of course.

So it seems, no matter what protocol I use, the network speed from Linux to XP is extremely slow. I don't know how to test with UDP or any other network protocol.

Thanks!
 
  


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
Changing Ethernet speed to 100Mbps consty Linux - General 2 11-15-2005 02:22 PM
howto switch from 10mbps to 100mbps kingterr0r Linux - Networking 2 02-14-2005 05:28 PM
100Mbps Full Duplex mode bpenris Linux - Networking 4 10-28-2004 02:39 AM
mii-tool showing 100mbps TheRealDeal Linux - Networking 1 09-01-2004 07:03 PM
Netgear FA411 PCMCIA 100Mbps Ethernet card - works out of the box! Bert Linux - General 2 09-18-2002 09:13 PM

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

All times are GMT -5. The time now is 05:07 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