2

I have recently installed Debian on an amd64 desktop. The Internet through Ethernet is very, very slow and I have not been able to fix it. It is not my network because I am getting high speeds on Windows on the same machine.

lspci:

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

I have already tried installing the r8168 driver to replace the 8169 driver because some have said it is problematic, but it actually made the Internet slower.

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

Ethernet worked out of the box but it is very slow.

Am I missing a different driver or is this a different problem? Thanks

Edit:

There is no eth0 but 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
  • Can you show sudo ethtool eth0 and/or sudo mii-tool -v eth0 while the cable is connected? – grawity Dec 3 '18 at 0:47
  • Really, realtek cards suck. Consider not wasting your time and throwing in a decent card instead. You can pick a new one up for < $50, or second hand for < $15. – davidgo Dec 3 '18 at 1:22
  • How are you measuring? Which host are you measuring against? Are you downloading or uploading? – l0b0 Dec 3 '18 at 2:39
  • I am just going on speedtest.net and doing their test. I currently have 200ms ping and 3.6 Mbps download. On Windows I get around 30 Mbps. @l0b0 – William Dec 3 '18 at 2:58
  • 200ms ping sounds like it's not talking to a server near you. Who knows what speedtest.net is doing - you probably want to check against a machine a fixed, short distance from your own. – l0b0 Dec 3 '18 at 3:01
1

It's possible that auto negotiation has failed. I had a similar issue with a Realtek card on Arch Linux. The ethtool command (install via apt) might be of use.

sudo ethtool -s enp1s0 speed N duplex M

Where N is 10, 100, or 1000, and M is 'half' or 'full', depending on what your hardware supports. It might also be possible to set these from Debian's NetworkManager GUI.

Right now it looks like you're running 1000 with full duplex. Try half.

  • Switching to half duplex seemed to get my speed up to 15 Mbps! – William Dec 10 '18 at 4:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.