Jump to content

Ethtool: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
{{lowercase|title=ethtool}}
{{lowercase|title=ethtool}}
{{Infobox software
{{Infobox software
|name = Linux
|name = Linux kernel
|title= ethtool
|title= ethtool
|logo =
|logo =
Line 8: Line 8:
|author = David S. Miller
|author = David S. Miller
|developer = Ben Hutchings
|developer = Ben Hutchings
|released = 1998
|released = {{start date and age|1998}}
| frequently updated = yes <!-- DO NOT change this, it depends on Linux kernel -->
|latest_release_version = 3.12.1
|latest_release_date = {{release date and age|2013|11|08|df=yes}}
|programming language = [[C (programming language)|C]]
|programming language = [[C (programming language)|C]]
|operating_system = [[Linux kernel]]
|operating_system = [[Linux kernel]]
Line 17: Line 16:
|website = {{URL|http://www.kernel.org/pub/software/network/ethtool/}}
|website = {{URL|http://www.kernel.org/pub/software/network/ethtool/}}
}}
}}
'''ethtool''' is a utility for [[Linux kernel]]-based operating system for displaying and modifying some parameters of [[network interface controller]]s (NICs) and their [[device driver]]s.
'''ethtool''' is a utility for [[Linux kernel]]-based operating system for displaying and modifying some parameters of [[network interface controller]]s (NICs) and their [[device driver]]s. ethtool is developed parallel to the Linux kernel.


==Usage==
==Usage==
Line 60: Line 59:


==References==
==References==
{{reflist}}
* {{Official website|http://www.kernel.org/pub/software/network/ethtool/}}
* {{Official website|http://www.kernel.org/pub/software/network/ethtool/}}
* [http://www.thegeekstuff.com/2010/10/ethtool-command/ Ethtool examples]
* [http://www.thegeekstuff.com/2010/10/ethtool-command/ Ethtool examples]

Revision as of 09:22, 30 June 2014

ethtool
Original author(s)David S. Miller
Developer(s)Ben Hutchings
Initial release1998; 26 years ago (1998)
Repository
Written inC
Operating systemLinux kernel
Typeutility program
LicenseGNU General Public License v2
Websitewww.kernel.org/pub/software/network/ethtool/

ethtool is a utility for Linux kernel-based operating system for displaying and modifying some parameters of network interface controllers (NICs) and their device drivers. ethtool is developed parallel to the Linux kernel.

Usage

The command is useful for

  • Identification and diagnosis of Ethernet devices
  • Extended Ethernet devices statistics
  • Control speed, duplex, auto-negotiation and flow control for Ethernet devices
  • Control checksum offload and other hardware offload features
  • Control DMA ring sizes and interrupt moderation
  • Control receive queue selection for multiqueue devices
  • Upgrade firmware in flash memory

Example

To display the current parameters:

$ ethtool eth0
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: No
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x00000007 (7)
        Link detected: yes

See also

References