Debian 上的乙太網路以 10% 的容量運行

Debian 上的乙太網路以 10% 的容量運行

我最近在 amd64 桌面上安裝了 Debian。透過乙太網路連接的網路非常非常慢,我無法修復它。這不是我的網絡,因為我在同一台電腦上的 Windows 上獲得了高速網路。

lspci:

Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

我已經嘗試安裝 r8168 驅動程式來替換 8169 驅動程序,因為有人說它有問題,但它實際上使互聯網變慢。

Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
    Subsystem: Dell RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    Flags: bus master, fast devsel, latency 0, IRQ 53
    I/O ports at 3000 [size=256]
    Memory at f0b04000 (64-bit, non-prefetchable) [size=4K]
    Memory at f0b00000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: r8169
    Kernel modules: r8169

乙太網路開箱即用,但速度非常慢。

我是否缺少不同的驅動程式或這是一個不同的問題?謝謝

編輯:

沒有 eth0,只有 enp1s0:

enp1s0: negotiated 1000baseT-FD flow-control, link ok
  product info: vendor 00:07:32, model 0 rev 0
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
  link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

答案1

可能是自動協商失敗。我在 Arch Linux 上使用 Realtek 卡也遇到了類似的問題。命令ethtool(透過 apt 安裝)可能有用。

sudo ethtool -s enp1s0 speed N duplex M

其中N10、100 或 1000,以及M“半”或“全”,取決於您的硬體支援的類型。也可以從 Debian 的 NetworkManager GUI 設定這些。

現在看起來您正在運行 1000 全雙工。嘗試一半。

相關內容