`

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 ...

    华为交换机端口汇聚的配置[借鉴].pdf

    Use the commands "interface ethernet 1/0/1" and "interface ethernet 1/0/2" to enter the switch's E1/0/1 and E1/0/2 port configuration modes, and then use the commands "speed 100" and "duplex full" to...

    英文原版-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....

    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...

    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 ...

    计算机网络英文课件:Chapter6 The Transport Layer.ppt

    The choice between UDP and TCP depends on the specific needs of the application, balancing speed and reliability. Understanding these principles is essential for designing and implementing effective ...

    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, ...

    Bluetooth Full Duplex Voice and Data Transmission.zip

    蓝牙全双工语音和数据传输技术是现代无线通信领域的一项重要创新,旨在提供更高效、无缝的连接体验。这项技术打破了传统蓝牙通信的半双工限制,允许设备同时进行语音和数据传输,显著提升了用户体验。...

    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 ...

Global site tag (gtag.js) - Google Analytics