我刚刚在 Toshiba Satellite L50t-a-140 笔记本电脑上安装了 Ubuntu 17.10,该笔记本电脑有一个千兆以太网有线适配器连接到千兆以太网交换机,但 Ubuntu 报告的链接速度为 100Mbps。我该如何找出它为什么没有报告千兆以太网连接?
~$ sudo lshw -C network
*-network
description: Ethernet interface
product: AR8161 Gigabit Ethernet
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:01:00.0
logical name: enp1s0
version: 10
serial: 00:8c:fa:94:4f:09
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=alx duplex=full ip=192.168.1.4 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:16 memory:b0500000-b053ffff ioport:3000(size=128)
*-network DISABLED
description: Wireless interface
product: QCA9565 / AR9565 Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 01
serial: 28:e3:47:02:df:c2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=4.13.0-38-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:17 memory:b0400000-b047ffff memory:b0480000-b048ffff
答案1
我猜是以太网电缆质量不好。那台电脑曾经以 Gbit 的速度运行过吗?你试过任何实时 CD 吗?你试过在一台你知道全速运行的机器上用过那根以太网电缆吗?从表面上看,这似乎是硬件问题。
我从来没有使用过 lshw 来确定速度,但是你可能想尝试打字cat /sys/class/net/enp1s0/speed
并看看那里说了什么。