我正在尝试通过我的戴尔台式电脑上的以太网端口进行连接。我刚刚安装了一个交换机,将我的 ooma 电话和电脑连接到我房间里的同一个连接上。当我启动电脑时,我看到端口连接了,但是一旦启动到 Ubuntu,端口就会关闭。我的无线工作正常,我将这台电脑与 Windows 10 双启动,并且与交换机配合良好。登录后,我运行以下命令:sudo ethtool -s eth0 speed 100 duplex full autoneg off 端口打开,我可以连接,但速度非常慢。我的 FIOS 网速为 100/100MBPS。我尝试将 100 改为 1000,但收到不支持的错误。以下是一些信息,可帮助您了解我的问题:
-Vostro-270s:~$ dmesg | grep "eth0"
[ 0.738498] r8169 0000:04:00.0 eth0: RTL8168evl/8111evl at 0xffffc90000c6a000, a4:1f:72:88:bc:89, XID 0c900880 IRQ 28
[ 0.738500] r8169 0000:04:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 26.987264] r8169 0000:04:00.0 eth0: link down
[ 26.987268] r8169 0000:04:00.0 eth0: link down
[ 26.987321] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 27.094342] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 525.696956] r8169 0000:04:00.0 eth0: link down
[ 525.697005] r8169 0000:04:00.0 eth0: link down
[ 525.697044] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 852.138799] r8169 0000:04:00.0 eth0: RTL8168evl/8111evl at 0xffffc90000c6a000, a4:1f:72:88:bc:89, XID 0c900880 IRQ 28
[ 852.138802] r8169 0000:04:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 852.265177] r8169 0000:04:00.0 eth0: link down
[ 873.162612] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Vostro-270s:~$ ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: no
Vostro-270s:~$ sudo lshw -class network
[sudo] password:
*-network
description: Wireless interface
product: AR9485 Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 01
serial: 70:18:8b:af:0b:c3
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=4.4.0-38-generic firmware=N/A ip=192.168.1.170 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:18 memory:f7800000-f787ffff memory:f7880000-f788ffff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth0
version: 07
serial: a4:1f:72:88:bc:89
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:28 ioport:d000(size=256) memory:ea104000-ea104fff memory:ea100000-ea103fff
如果需要更多信息,请告诉我。
答案1
r8169 以太网驱动程序存在错误。使用 Synaptic 安装。在 BIOS 中r8168-dkms
关闭。secure boot
启动 Synaptic,单击“重新加载”图标,然后单击“搜索”图标,输入r8168-dkms
,将其标记为安装,然后单击“应用”图标。退出 Synaptic。重新启动计算机。然后secure boot
在 BIOS 中禁用。
这应该能解决问题。干杯,Al