随笔 - 0, 文章 - 264, 评论 - 170, 引用 - 0
数据加载中……

如何查看网卡是否插上网线

方法:
[root@RG-PowerCache-X ~]# ethtool eth0
Settings for eth0:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: Unknown!
        Duplex: Unknown! (255)
        Port: FIBRE
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: d
        Current message level: 0x00000001 (1)
        Link detected: no

如上所示,“Link detected”为no时,表示网线没有插上;反之为yes时,表示网线插上了。

posted on 2013-03-30 13:54 小一败涂地 阅读(450) 评论(0)  编辑  收藏 所属分类: linux相关


只有注册用户登录后才能发表评论。


网站导航: