Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Fatherhood.Org

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 61 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

ethtool



SYNOPSIS

       ethtool ethX

       ethtool -h

       ethtool -a ethX

       ethtool -A ethX [autoneg on|off] [rx on|off] [tx on|off]

       ethtool -c ethX

       ethtool  -C ethX [adaptive-rx on|off] [adaptive-tx on|off]
       [rx-usecs N] [rx-frames N] [rx-usecs-irq N] [rx-frames-irq
       N] [tx-usecs N] [tx-frames N] [tx-usecs-irq N] [tx-frames-
       irq N] [stats-block-usecs N] [pkt-rate-low  N]  [rx-usecs-
       low  N]  [rx-frames-low N] [tx-usecs-low N] [tx-frames-low
       N] [pkt-rate-high N] [rx-usecs-high N] [rx-frames-high  N]
       [tx-usecs-high N] [tx-frames-high N] [sample-interval N]

       ethtool -g ethX

       ethtool -G ethX [rx N] [rx-mini N] [rx-jumbo N] [tx N]

       ethtool -i ethX

       ethtool -d ethX

       ethtool -e ethX [raw on|off] [offset N] [length N]

       ethtool -E ethX [magic N] [offset N] [value N]

       ethtool -k ethX

       ethtool   -K   ethX  [rx on|off]  [tx on|off]  [sg on|off]
       [tso on|off]

       ethtool -p ethX [N]

       ethtool -r ethX

       ethtool -S ethX

       ethtool -t ethX [offline|online]

       ethtool  -s  ethX  [speed 10|100|1000]  [duplex half|full]
       [port tp|aui|bnc|mii]     [autoneg on|off]    [phyad    N]
       [xcvr internal|external]          [wol p|u|m|b|a|g|s|d...]
       [sopass xx:yy:zz:aa:bb:cc] [msglvl N]


DESCRIPTION

       ethtool  is  used  for  querying  settings  of an ethernet
       device and changing them.
              net device.

       autoneg on|off
              Specify if pause autonegotiation is enabled.

       rx on|off
              Specify if RX pause is enabled.

       tx on|off
              Specify if TX pause is enabled.

       -c     queries  the specified ethernet device for coalesc­
              ing information.

       -C     change the coalescing  settings  of  the  specified
              ethernet device.

       -g     queries  the  specified  ethernet  device for rx/tx
              ring parameter information.

       -G     change the rx/tx ring parameters of  the  specified
              ethernet device.

       rx N   Change number of ring entries for the Rx ring.

       rx-mini N
              Change number of ring entries for the Rx Mini ring.

       rx-jumbo N
              Change number of ring  entries  for  the  Rx  Jumbo
              ring.

       tx N   Change number of ring entries for the Tx ring.

       -i     queries  the  specified ethernet device for associ­
              ated driver information.

       -d     retrieves and prints a register dump for the speci­
              fied ethernet device.

       -e     retrieves  and prints an EEPROM dump for the speci­
              fied ethernet device.  When raw is enabled, then it
              dumps the raw EEPROM data to stdout. The length and
              offset parameters allow dumping certain portions of
              the  EEPROM.  Default is to dump the entire EEPROM.

       -E     Changes EEPROM  byte  for  the  specified  ethernet
              device.   offset  and  value specify which byte and
              it's new value.  Because of the  persistent  nature
              of  writing  to the EEPROM, a device-specific magic
              key must be specified  to  prevent  the  accidental
              writing to the EEPROM.
              Specify if scatter-gather is enabled.

       tso on|off
              Specify if tcp segmentation offload is enabled.

       -p     initiates   adapter-specific   action  intended  to
              enable an operator to easily identify  the  adapter
              by  sight.  typically this involves blinking one or
              more LEDs on the specific ethernet port.

       N      Length of time to perform phys-id, in seconds.

       -r     restarts auto-negotiation on the specified ethernet
              device, if auto-negotiation is enabled.

       -S     queries  the specified ethernet device for NIC- and
              driver-specific statistics.

       -t     executes adapter selftest on the specified ethernet
              device. Possible test modes are:

       offline|online
              defines  test type: offline (default) means to per­
              form full set  of  tests  possibly  causing  normal
              operation  interruption  during  the  tests, online
              means to perform limited set of tests do not inter­
              rupting normal adapter operation.

       -s     option  allows changing some or all settings of the
              specified ethernet device.  All  following  options
              only apply if -s was specified.

       speed 10|100|1000
              Set  speed  in  Mb/s.  ethtool with single argument
              will show you the supported device speeds.

       duplex half|full
              Set full or half duplex mode.

       port tp|aui|bnc|mii
              Select device port.

       autoneg on|off
              Specify if autonegotiation is enabled. In the usual
              case it is, but might cause some problems with some
              network devices, so you can turn it off.

       phyad N
              PHY address.

       xcvr internal|external
              Select transceiver type.  Currently  only  internal
              d  Disable  (wake  on nothing).  This option clears
                 all previous options.

       sopass xx:yy:zz:aa:bb:cc
              Set the SecureOn(tm)  password.   The  argument  to
              this  option  must  be  6 bytes in ethernet MAC hex
              format (xx:yy:zz:aa:bb:cc).

       msglvl N
              Set the driver message level. Meanings  differ  per
              driver.


BUGS

       Not  supported (in part or whole) on all ethernet drivers.


AUTHOR

       ethtool was written by David Miller.

       Modifications by Jeff Garzik, Tim Hockin,  Jakub  Jelinek,
       Andre Majorel, Eli Kupermann, Scott Feldman.


AVAILABILITY

       ethtool  is available over the Web on the SourceForge site
       at http://sourceforge.net/projects/gkernel/

Ethtool version 1.8         July 2003                  ETHTOOL(8)
  
Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can help in many different ways.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.08 Seconds