如何检查eth0
连接速度是否为10Mbit,100Mbit或1Gbit?我试过了ethtool
,但是说No data available
。我也试过了dmesg | grep -i duplex
,它是空的。
[root@dioptase ~]# lspci
00:0a.0 Ethernet controller: Digital Equipment Corporation DECchip 21140 [FasterNet] (rev 20)
[root@dioptase ~]# ethtool eth0
Settings for eth0:
No data available
[root@dioptase ~]# ethtool -i eth0
driver: tulip
version: 1.1.15
firmware-version:
bus-info: 0000:00:0a.0
[root@dioptase ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:15:5D:6F:1E:09
inet addr:192.168.140.106 Bcast:192.168.140.255 Mask:255.255.255.0
inet6 addr: 2a00:1120:0:1002:215:5dff:fe6f:1e09/64 Scope:Global
inet6 addr: fe80::215:5dff:fe6f:1e09/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:95671897 errors:6 dropped:0 overruns:0 frame:6
TX packets:16524440 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23933711964 (22.2 GiB) TX bytes:19761966217 (18.4 GiB)
Interrupt:9 Base address:0xe000
查看错误消息,这是VM吗?
—
2014年
@Sree是的,hyper-v
—
盆地
这看起来好像是VM。
—
RJ 2014年