Find the answer to your Linux question:
Results 1 to 4 of 4
I have been trying to reconfigure my nic for 100m full duplex. when i used ethtool and mii-tool to set the new nic settings, the query gave the original settings. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie jweekley1's Avatar
    Join Date
    Dec 2005
    Location
    Chattanooga
    Posts
    145

    nic question


    I have been trying to reconfigure my nic for 100m full duplex. when i used ethtool and mii-tool to set the new nic settings, the query gave the original settings. Does anyone have any ideas on how to fix this or work around.
    Here is the terminal output:
    [root@Box1 /]# /sbin/mii-tool -v
    eth0: 10 Mbit, half duplex, link ok
    product info: vendor 00:00:3f, model 63 rev 15
    basic mode: 10 Mbit, half duplex
    basic status: autonegotiation complete, remote fault, link ok
    capabilities: 100baseT4 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
    advertising:
    link partner: 100baseT4 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
    [root@Box1 /]# /sbin/ifup eth0

    Determining IP information for eth0... done.
    [root@Box1 /]# /sbin/ethtool -s eth0 speed 100 duplex full autoneg off
    [root@Box1 /]# /sbin/mii-tool
    eth0: 10 Mbit, half duplex, link ok
    [root@Box1 /]#

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    try /sbin/mii-tool --force=100baseTx-FD

    Beware, if you have to force it, there is generally a reason
    why. I had a card that was capable of 10 Mbit full duplex,
    but it was running at half duplex. When I forced it, I got less
    throughput. The reason. although it could do full duplex, it couldn't
    autonegotiate. My linksys switch wanted to negotiate, and when
    the card in the PC wouldn't, the switch defaulted to half duplex.

    So the settings the system is using may be because of what's
    on the other end of the link. Check the throughput after you force
    the card to 100 Mbit.

  3. #3
    Linux Newbie jweekley1's Avatar
    Join Date
    Dec 2005
    Location
    Chattanooga
    Posts
    145
    Thanks for answering I tried your suggestion and seemed to not work.
    So I copied the terminal commands to make sure I did it correctly.
    How can I check the throughput?
    [root@Box1 /]# /sbin/ifdown eth0
    [root@Box1 /]# /sbin/mii-tool -F 100baseTx-FD eth0
    [root@Box1 /]# /sbin/mii-tool
    eth0: 10 Mbit, half duplex, link ok
    [root@Box1 /]# /sbin/ifup eth0

    Determining IP information for eth0... done.
    [root@Box1 /]#

  4. #4
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    http://www.speakeasy.net/speedtest/

    You have to have flashplayer for that, or google for internet speed tests
    I'm not sure what you use to test between PCs locally. You could measure the
    time it takes to transfer a file of known size. A bad mismatch in configuration
    would probably show up on the internet speed test.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •