Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to check whether the SAIL-IMX6 network card is 100 megabytes or gigabit

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

In fact, the way to check the number of network card megabytes is very simple, as long as you use the ethtool command. First of all, we need to understand that ethtool is a command for querying and setting network card parameters under Linux, so let's test it now.

The input instructions are as follows:

Root@imx6qdlsolo:~# ethtool eth0

Settings for eth0:

Supported ports: [TP MII] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 1 Transceiver: external Auto-negotiation: on Supports Wake-on: g Wake-on: d Link detected: yes

Root@imx6qdlsolo:~#

Detailed parameters reference: (/ / followed by comments, is the translation of the original text)

Ethtool ethX /

Ethtool-h / / displays command help for ethtool (help)

Ethtool-I ethX / / query the relevant information of ethX network port

Ethtool-d ethX / / query ethX network port registration information

Ethtool-r ethX / / resets the ethX port to adaptive mode

Ethtool-S ethX / / query the statistics of sending and receiving packets on ethX network port

Ethtool-s ethX [speed 10 | 100 | 1000]\ / / set the network port rate to 10Universe 100max 1000m

[duplex half | full]\ / / set half / full duplex of the network port

[autoneg on | off]\ / / sets whether the network port is self-negotiated

[port tp | aui | bnc | mii]\ / / set the network port type

So through this instruction, we successfully get the relevant parameters we need, let's try it together.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report