The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
NIC - how to check card type and available speed frustrated1 SUN Solaris 9 02-03-2009 07:02 PM
how can i see ethernet card speed in solars nag.mi2000 UNIX for Dummies Questions & Answers 4 05-29-2008 10:41 AM
Change speed on network card hshapiro SUN Solaris 7 03-13-2008 08:57 AM
How to check Virtual NIC card speed on solaris pray44u SUN Solaris 3 07-06-2006 08:14 PM
changing mouse speed fitzjj UNIX for Dummies Questions & Answers 0 02-28-2004 05:28 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 2 Weeks Ago
manoj.solaris manoj.solaris is offline
Registered User
  
 

Join Date: May 2007
Posts: 93
Question changing speed of NIC Card in linux

Hi,

I would like to know how to change the speed of ethernet card in linux? as it is showing auto-neg using mii-tool -v eth0

and my requirement is 100mbps full duplex.

Regards,

Manoj
  #2 (permalink)  
Old 2 Weeks Ago
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,837
If you have it, you can see a lot of information using ethtool, eg
Code:
#  ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: umbg
        Wake-on: g
        Current message level: 0x00000007 (7)
        Link detected: yes
Now change that to 10MBit half duplex, no autonegotiation:
Code:
# ethtool -s eth0 autoneg off duplex half speed 10
# ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  Not reported
        Advertised auto-negotiation: No
        Speed: 10Mb/s
        Duplex: Half
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: umbg
        Wake-on: g
        Current message level: 0x00000007 (7)
        Link detected: yes
  #3 (permalink)  
Old 2 Weeks Ago
TonyLawrence TonyLawrence is offline
Registered User
  
 

Join Date: Sep 2007
Location: SE Mass
Posts: 137
If not, you might have mii-tool: Manpage of MII-TOOL
  #4 (permalink)  
Old 2 Weeks Ago
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,928
Quote:
Originally Posted by manoj.solaris View Post
I would like to know how to change the speed of ethernet card in linux? as it is showing auto-neg using mii-tool -v eth0

and my requirement is 100mbps full duplex.
Is there anything wrong with the speeds you're getting? Auto-negotiation is capable of negotiating automatically to 100mbps full duplex when both transceivers are capable of it without manual intervention(and, occasionally, when they're not).
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0