`

Linux change the speed and duplex settings of an Ethernet card

阅读更多
Task: Install mii-tool and ethtool tools
de># 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: Yes
        Speed: 100Mb/s
        Duplex: Half
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
        Link detected: yes
#mii-tool eth0
eth0: 100 Mbit, full duplex, link ok
de>
Change the speed and duplex settings
de># mii-tool -F 100baseTx-FD
# mii-tool -F 10baseT-HDde>

de># ethtool -s eth0 speed 100 duplex full
# ethtool -s eth0 speed 10 duplex half

mii-tool
de>de>usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...]
       -V, --version               display version information
       -v, --verbose               more verbose output
       -R, --reset                 reset MII to poweron state
       -r, --restart               restart autonegotiation
       -w, --watch                 monitor for link status changes
       -l, --log                   with -w, write events to syslog
       -A, --advertise=media,...   advertise only specified media
       -F, --force=media           force specified media technology
de>
分享到:
评论

相关推荐

    LAN8720A数据手册

    The LAN8720A/LAN8720Ai implements auto-negotiation to automatically determine the best possible speed and duplex mode of operation. HP Auto-MDIX support allows the use of direct connect or cross-over...

    LAN8720A.PDF

    The LAN8720A/LAN8720Ai implements autonegotiation to automatically determine the best possible speed and duplex mode of operation. HP Auto-MDIX support allows the use of direct connect or cross-over ...

    以太网PHY芯片STE100P手册

    The STE100P, also referred to as STEPHY1, is a high performance Fast Ethernet physical layer interface for ... It also allows for the support of auto-negotiation functions for speed and duplex detection.

    英文原版-Neurosonology and Neuroimaging of Stroke 1st Edition

    The patient histories and working diagnoses are followed by detailed assessments of the extra- and intracranial color-coded duplex sonographic findings and additional diagnostic procedures....

    TI TLK1221 datasheet

    The TLK1221 gigabit Ethernet transceiver provides for high-speed full-duplex point-to-point data transmissions. These devices are based on the timing requirements of the 10-bit interface specification...

    A Survey of 5G Network Architecture and Emerging Technologies

    In the near future, i.e., beyond 4G, some of the prime objectives or demands that need to be addressed are increased capacity, improved data rate, decreased latency, and better quality of service....

    Bluetooth Full Duplex Voice and Data Transmission.zip

    Bluetooth Full Duplex Voice and Data Transmission.zip

    ds90ub928q-q1中文.pdf

    channel data transmission and low-speed full duplex back channel communication over a single differential link. Consolidation of audio, video data and control over a single differential pair reduces ...

    BURNINTEST--硬件检测工具

    - Updated the detection of Hyperthreading and the number of logical CPUs for a new Intel CPU. Release 5.3 build 1025 WIN32 release 11 July 2008 - Corrected a Disk test bug where on rare occasions a...

    evm.rar_The Change Function

    This function is called to change the duplex setting after auto negotiation is done by the PHY.

    100Base-T1 Media Converter from Technica Engineering, BMW 10年合作伙伴

    An additional and optional CAN-Ethernet bi-directional conversion is available, as well as FlexRay logging via Ethernet and one SFP slot. The SFP slot supports commercial-grade SFP modules (e.g. ...

    rfc全部文档离线下载rfc1-rfc8505

    the IMPs and it is the responsibility of the HOST groups to agree on HOST software. During the summer of 1968, representatives from the initial four sites met several times to discuss the HOST ...

    IEEE_802.3-2012

    Ethernet local area network operation is specified for selected speeds of operation from 1 Mb/s to 100 Gb/s using a common media access control (MAC) specification and management information base ...

    A Survey of 5G Network

    of the key emerging technologies that are helpful in improving the architecture and meeting the demands of users. In this detailed survey, the prime focus is on the 5G cellular network architecture, ...

    BCM53118-DS05-RDS.pdf

    the functions of a high-speed switch system including packet buffers, PHY transceivers, media access controllers (MACs), address management, portbased rate control, and a non-blocking switch fabric ...

    downlink cooperative performance with noma

    the authors propose a NOMA-based downlink cooperative cellular system, where the base station communicates with two paired mobile users simultaneously through the help of a half-duplex amplify-and-...

    Pro HTML5 Programming(HTML5高级程序设计英文原版)

    edge web technology—available in the most recent versions of modern browsers—to build real-time web applications with unparalleled functionality, speed, and responsiveness. The ...

    IEEE 802.3 以太网协议-2015

    Abstract: Ethernet local area network operation is specified for selected speeds of operation from 1 Mb/s to 100 Gb/s using a common media access control (MAC) specification and management ...

    4串口扩展芯片

    The XR16C8641 (864) is an enhanced quad Universal Asynchronous Receiver and Transmitter (UART) each with 128 bytes of transmit and receive FIFOs, transmit and receive FIFO counters and trigger levels,...

Global site tag (gtag.js) - Google Analytics