Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何检查 OpenBSD 上网络接口的自动协商速度?当我强制一个特定的速度时,ifconfig 将在“媒体”行中显示它;但如果接口处于自动协商模式,我无法找到一种方法来检索有效协商的网络速度。谢谢你的帮助!
如果自动协商成功,您还应该在媒体行上看到它:
media: Ethernet autoselect (1000baseT full-duplex,master,rxpause,txpause)
缺少上述输出,或需要强制特定速度,可能表明您有另一个问题(..坏电缆;不支持的接口或硬件问题)。