Slow ethernet

Hi there. I'm absolutely blown away with Zorin 16. Everything works and it's super slick, with this one annoying exception - my ethernet seems to be running rather slow.

Going to speedtest.net when booted into windows gives me about 900Mbps download and upload speed, as my internet is gigabit fibre. However, Zorin is strangely giving me 48Mbps down, and 908Mbps up on speedtest.net.

Both the settings GUI and the ethtool command are showing that the link is up at 1Gbps:

[    0.851049] r8169 0000:04:00.0 enp4s0: renamed from eth0
[    6.589602] r8169 0000:04:00.0 enp4s0: Link is Down
[    9.479191] r8169 0000:04:00.0 enp4s0: Link is Up - 1Gbps/Full - flow control rx/tx
[    9.479202] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready

So I'm not entirely sure what else I can do here. IPv6 is disabled and everything seems fine.

What can I look at next to resolve why the downlink is so slow? The device is an r8169, and it is running 1000Mbps, full duplex.

Many thanks

Let's try seeing if PowerSave is interfering. In terminal, please run:

sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

You should see wifi.powersave = 3.
Change the value to 2.
wifi.powersave = 2

Hit ctrl+x to exit, then the y key to say yes to save, then the enter key to save as current configuration.
The terminal will revert to normal.

sudo reboot

and test...

Thanks for the suggestion. I have made the change and restarted, but the results were the same. Just to confirm this is a hard wired gigabit ethernet connection, but worth a go anyhow. Speedtest when running Zorin is still approx 45Mbps.

It was in the title... even...

What is wrong with me.

PowerSave does actually manage Wired- but in a different way.
It may be the Driver and switching to a dkms driver will help.

*The Downside is... The driver needs to be re-done afer every kernel update.

Will search the net in the meantime if there is a better solution out there.

I have on Zorin 16 pro 89Mbps

Ah I see, interesting. Yes, having to recompile driver after a kernel update is a tad cumbersome. Thanks very much.

1 Like

I never added the output of lspci. Here it is:

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

Cheers

Funny, I just posted this in another thread:
sudo apt install r8168-dkms

You might try this as well. And... at least it is only One command to repeat if you need to.

Okay nice one. Switched to that driver and rebooted. Speedtest.net is now giving me 73 down and 1016 up. A little faster on the downstream, but I'm so confused as to why the upstream is roaring, but not the down.

I tried it without autoneg on the interface, but no change.

What is the output of

inxi -N

also:

inxi --recommends

Also just noted in the other thread- that user had Secure Boot enabled. Is your Secure Boot enabled, as well?

I do not have secure boot enabled. inxi output is

oot@herman:~# inxi -N
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8168 
  Device-2: Realtek RTL8192EE PCIe Wireless Network Adapter 
  driver: rtl8192ee 
root@herman:~# inxi -N --recommends
inxi will now begin checking for the programs it needs to operate.

Check inxi --help or the man page (man inxi) to see what options are 
available. 
----------------------------------------------------------------------------
Test: core tools:

Perl version:  5.030000
Current shell: bash 5.0.17
Default shell: bash
sh links to: /usr/bin/dash
Package manager: apt
----------------------------------------------------------------------------
Test: required system directories:
 
/proc: ......................................................... Present
/sys: .......................................................... Present
 
All required system directories are present
----------------------------------------------------------------------------
Test: recommended system programs:
 
Note: IPMI sensors are generally only found on servers. To access that data, 
you only need one of the ipmi items. 
 
blockdev: --admin -p/-P (filesystem blocksize).................. Present
dig: -i wlan IP................................................. Present
dmidecode: -M if no sys machine data; -m........................ Present
fdisk: -D partition scheme (fallback)........................... Present
file: -o unmounted file system (if no lsblk).................... Present
hddtemp: -Dx show hdd temp...................................... Present
ifconfig: -i ip LAN (deprecated)................................ Missing
ip: -i ip LAN................................................... Present
ipmitool: -s IPMI sensors (servers)............................. Missing
ipmi-sensors: -s IPMI sensors (servers)......................... Missing
lsblk: -o unmounted file system (best option)................... Present
lsusb: -A usb audio; -N usb networking; --usb (optional)........ Present
modinfo: Ax; -Nx module version................................. Present
runlevel: -I fallback to Perl................................... Present
sensors: -s sensors output...................................... Present
smartctl: -Da advanced data..................................... Missing
strings: -I sysvinit version.................................... Present
sudo: -Dx hddtemp-user; -o file-user............................ Present
tree: --debugger 20,21 /sys tree................................ Present
upower: -sx attached device battery info........................ Present
uptime: -I uptime............................................... Present
 
The following recommended system programs are missing:
Program: ifconfig ~ Install package: net-tools
Program: ipmitool ~ Install package: ipmitool
Program: ipmi-sensors ~ Install package: freeipmi-tools
Program: smartctl ~ Install package: smartmontools
----------------------------------------------------------------------------
Test: recommended display information programs:
 
glxinfo: -G glx info............................................ Present
wmctrl: -S active window manager (fallback)..................... Missing
xdpyinfo: -G multi screen resolution............................ Present
xprop: -S desktop data.......................................... Present
xrandr: -G single screen resolution............................. Present
 
The following recommended display information programs are missing:
Program: wmctrl ~ Install package: wmctrl
----------------------------------------------------------------------------
Test: recommended downloader programs (You only need one of these):
 
Perl HTTP::Tiny is the default downloader tool if IO::Socket::SSL is 
present. See --help --alt 40-44 options for how to override default 
downloader(s) in case of issues. 
 
If dig is installed, it is the default for WAN IP data. Strongly 
recommended. Dig is fast and accurate. 
 
curl: -i (if no dig); -w,-W; -U................................. Present
dig: -i wlan IP................................................. Present
wget: -i (if no dig); -w,-W; -U................................. Present
 
All recommended downloader programs are present
----------------------------------------------------------------------------
Test: recommended Perl modules (Optional):
 
None of these are strictly required, but if you have them all, you can 
eliminate some recommended non Perl programs from the install. 
 
HTTP::Tiny and IO::Socket::SSL must both be present to use as a downloader 
option. For json export Cpanel::JSON::XS is preferred over JSON::XS. 
 
HTTP::Tiny: -U; -w,-W; -i (if dig not installed)................ Present
IO::Socket::SSL: -U; -w,-W; -i (if dig not installed)........... Present
Time::HiRes: -C cpu sleep (not required); --debug timers........ Present
Cpanel::JSON::XS: --output json - required for export........... Missing
JSON::XS: --output json - required for export (legacy).......... Missing
XML::Dumper: --output xml - Crude and raw....................... Missing
Net::FTP: --debug 21,22......................................... Present
 
The following recommended Perl modules are missing:
Perl Module: Cpanel::JSON::XS ~ Install package: libcpanel-json-xs-perl
Perl Module: JSON::XS ~ Install package: libjson-xs-perl
Perl Module: XML::Dumper ~ Install package: libxml-dumper-perl
----------------------------------------------------------------------------
Test: recommended directories:
 
/dev: -l,-u,-o,-p,-P,-D disk partition data..................... Present
/dev/disk/by-id: -D serial numbers.............................. Present
/dev/disk/by-label: -l,-o,-p,-P partition labels................ Missing
/dev/disk/by-path: -D extra data................................ Present
/dev/disk/by-uuid: -u,-o,-p,-P partition uuid................... Present
/sys/class/dmi/id: -M system, motherboard, bios................. Present
 
The following recommended directories are missing:
Directory: /dev/disk/by-label
----------------------------------------------------------------------------
Test: recommended files:
 
Note that not all of these are used by every system, so if one is missing 
it's usually not a big deal. 
 
/etc/lsb-release: -S distro version data (older version)........ Present
/etc/os-release: -S distro version data (newer version)......... Present
/proc/asound/cards: -A sound card data.......................... Present
/proc/asound/version: -A ALSA data.............................. Present
/proc/cpuinfo: -C cpu data...................................... Present
/proc/mdstat: -R mdraid data (if you use dm-raid)............... Present
/proc/meminfo: -I,-tm, -m memory data........................... Present
/proc/modules: -G module data (sometimes)....................... Present
/proc/mounts: -P,-p partition advanced data..................... Present
/proc/scsi/scsi: -D Advanced hard disk data (used rarely)....... Present
/var/log/Xorg.0.log: -G graphics driver load status............. Present
 
All recommended files are present
----------------------------------------------------------------------------
Ok, all done with the checks. Have a nice day.

In terminal can you please run the following:

sudo modprobe -r rtl8192ee

sudo modprobe 8192ee

sudo systemctl restart network-manager

Do not reboot- But please test speed...

I know this may not seem possible, but your router sees it as a different machine. Do you have restrictions on it for other devices? Is there something set for quality or access control? When was the last time it was rebooted? Even routers need a reboot once or twice a month to clear cache and restart services (to accommodate changes/updates).

1 Like

Hi 337harvey. I'm not sure what you mean by this. Why would my router see traffic from this host, on the same MAC and the same IP as being 'from a different' machine? I'm not sure how that is possible. The router just shunts packets around.

If I reboot this host into Windows I get an instant 900Mbps downstream speed. Boot back into Zorin and it becomes 80, and this is endlessly repeatable.

Many thanks

root@herman:~# modprobe -r rtl8192ee
root@herman:~# modprobe 8192ee
modprobe: FATAL: Module 8192ee not found in directory /lib/modules/5.11.0-27-generic

Hmmm Is this driver installed?
I am on my way out the door to drive my son in to work but also please see Harveys post above - a thought that never even occurred to me (the beauty of the forum being a Team Effort).

Isn't the RTL8192EE the wireless adapter? That's the other NIC which I'm not using. In fact I'll just disable it to avoid any confusion.

1 Like

SOLVED!

  • Download the driver from the RealTek website here
  • Extract the archive
  • As root, execute ./autorun.sh
  • I can see from the output of dmesg that the new module has been inserted

Running speedtest.net now shows download speed of 884 and upload 908.

It is true, this will need recompilation after every subsequent kernel update, but at least it is not like X11 won't load and being stuck on a text console.

Thanks for the assistance everyone. In this instance, the manufacturers driver seems not to have the issues that the default one has.

1 Like

I have a question can I faster speed internet on Linux on this card Killer E2200?

That is a different card entirely to the one I have here. I recommend you start a new post with details about your issue.