如何找到连接哪种Linux接口LAN线?

发布于 2025-02-11 11:54:46 字数 107 浏览 2 评论 0原文

我有一台具有3个可见以太网端口的机器。但是,IFConfig正在显示7个接口。

我已经在可见的以太网端口上连接了LAN线,但不知道连接Linux接口的名称。

我该如何检查?

I have a machine with 3 visible ethernet ports. However, ifconfig is showing 7 interfaces.

I have connected LAN wire on visible ethernet port but don't know name of linux interface on which LAN wire got attached.

How can I check it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

尸血腥色 2025-02-18 11:54:46

您可以使用Ethtool让NIC灯光闪烁,即EthTool -P Eth0

更多信息: https://man7.org/linux/man-man-pages /man8/ethtool.8.html

You can use ethtool to let the NIC light blink, i.e. ethtool -p eth0.

More here: https://man7.org/linux/man-pages/man8/ethtool.8.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文