I am extremely frustrated from this issue and I had it before on GNU/Linux Mint:
Basically my Ethernet connection does not function properly it says "connected" but it is super slow to visit website or do anything. However when I open Speedtest.net after some time it opens and does the test but it takes like 1 minute or so before it starts, the test shows my full speed! although it is super slow in action and even as I said connecting to Speedtest by itself.
Note that I don't have this issue when I connect through wifi. The cable works 100% and I tested it on other devices.
Also note that when I used to use mint I would mask the issue by using a VPN and the speed will become tolerable.
If anyone can please help me I am a beginner at GNU/Linux and have no idea how to use the terminal.
I truthfully appreciate your quick response and useful input <3
I didn't follow the guide exactly (since idk what's going on) but I messed around with what it. And download net-tools and then kept on the with guide.
And so far the result are satisfying I can browse and download software!
In case of any issue that could pop I would come back to this Fourm.
I got this error while trying to install what you sent me:
E: Sub-process /usr/bin/dpkg returned an error code (1)
tried to troubleshoot with these commands but non worked.
also what happened is I LAN does not connect anymore X) so I had to bring a USB WiFi adapter to send this luckily it worked
You're right but truthfully it is very exhausting as a someone who just wants to do their computing without all of this hassle going on every time I turn on my computer.
Do you recommend me any distribution that's not an Ubuntu derivative that I can rely on without much issues like these?
I thought about Arch Linux or maybe Debian or even Fedora.
freeasus@freeasus-System-Product-Name:~$ sudo apt clean && sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up r8168-dkms (8.049.02-1ubuntu1.2) ...
Removing old r8168-8.049.02 DKMS files...
Deleting module r8168-8.049.02 completely from the DKMS tree.
Loading new r8168-8.049.02 DKMS files...
Building for 6.5.0-15-generic
Building initial module for 6.5.0-15-generic
Error! Bad return status for module build on kernel: 6.5.0-15-generic (x86_64)
Consult /var/lib/dkms/r8168/8.049.02/build/make.log for more information.
dpkg: error processing package r8168-dkms (--configure):
installed r8168-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.5.0-15-generic
Errors were encountered while processing:
r8168-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
freeasus@freeasus-System-Product-Name:~$
sudo dpkg --configure -a
Setting up r8168-dkms (8.049.02-1ubuntu1.2) ...
Removing old r8168-8.049.02 DKMS files...
Deleting module r8168-8.049.02 completely from the DKMS tree.
Loading new r8168-8.049.02 DKMS files...
Building for 6.5.0-15-generic
Building initial module for 6.5.0-15-generic
Error! Bad return status for module build on kernel: 6.5.0-15-generic (x86_64)
Consult /var/lib/dkms/r8168/8.049.02/build/make.log for more information.
dpkg: error processing package r8168-dkms (--configure):
installed r8168-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.5.0-15-generic
Errors were encountered while processing:
r8168-dkms
freeasus@freeasus-System-Product-Name:~$
sudo apt update && sudo apt upgrade
Ign:1 https://brave-browser-apt-release.s3.... stable InRelease
Ign:1 https://brave-browser-apt-release.s3.... stable InRelease
Ign:1 https://brave-browser-apt-release.s3.... stable InRelease
Err:1 https://brave-browser-apt-release.s3.... stable InRelease
Could not resolve 'brave-browser-apt-release.s3....'
Hit:2 Index of /ubuntu jammy InRelease
Ign:3 Index of /ubuntu jammy InRelease
Ign:4 Index of /zorinos/apps/ubuntu jammy InRelease
Get:5 Index of /ubuntu jammy-security InRelease [110 kB]
Ign:6 Index of /stable/ jammy InRelease
Get:7 Index of /ubuntu jammy-updates InRelease [119 kB]
Hit:8 Index of /ubuntu jammy-backports InRelease
Hit:3 Index of /ubuntu jammy InRelease
Hit:9 Index of /zorinos/drivers/ubuntu jammy InRelease
Hit:10 Index of /zorinos/patches/ubuntu jammy InRelease
Hit:11 Index of /zorinos/stable/ubuntu jammy InRelease
Hit:4 Index of /zorinos/apps/ubuntu jammy InRelease
Ign:12 Index of /patches/ jammy InRelease
Hit:13 Index of /apps/ jammy InRelease
Hit:14 Index of /drivers/ jammy InRelease
Hit:15 Zorin OS Pro - Zorin OS jammy InRelease
Hit:6 Index of /stable/ jammy InRelease
Hit:12 Index of /patches/ jammy InRelease
Fetched 229 kB in 1min 21s (2,818 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch https://brave-browser-apt-release.s3..../dists/stable/InRelease Could not resolve 'brave-browser-apt-release.s3....'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up r8168-dkms (8.049.02-1ubuntu1.2) ...
Removing old r8168-8.049.02 DKMS files...
Deleting module r8168-8.049.02 completely from the DKMS tree.
Loading new r8168-8.049.02 DKMS files...
Building for 6.5.0-15-generic
Building initial module for 6.5.0-15-generic
Error! Bad return status for module build on kernel: 6.5.0-15-generic (x86_64)
Consult /var/lib/dkms/r8168/8.049.02/build/make.log for more information.
dpkg: error processing package r8168-dkms (--configure):
installed r8168-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.5.0-15-generic
Errors were encountered while processing:
r8168-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
freeasus@freeasus-System-Product-Name:~$
sudo apt install r8168-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
r8168-dkms is already the newest version (8.049.02-1ubuntu1.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up r8168-dkms (8.049.02-1ubuntu1.2) ...
Removing old r8168-8.049.02 DKMS files...
Deleting module r8168-8.049.02 completely from the DKMS tree.
Loading new r8168-8.049.02 DKMS files...
Building for 6.5.0-15-generic
Building initial module for 6.5.0-15-generic
Error! Bad return status for module build on kernel: 6.5.0-15-generic (x86_64)
Consult /var/lib/dkms/r8168/8.049.02/build/make.log for more information.
dpkg: error processing package r8168-dkms (--configure):
installed r8168-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.5.0-15-generic
Errors were encountered while processing:
r8168-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
freeasus@freeasus-System-Product-Name:~$
Sorry not derive topics but you can also recommend me some other distros that will save me time to do my computing without much driver issues and thanks I really appreciate your help <3
I can recommend distros, but if there was a perfect OS or Distro that never has Driver issues, we would all be on it. Windows OS, MacOS and all varieties of GnuLinux, BSD, etc all run into driver issues.
I would be remiss to make a recommendation that you only end up running into driver issues on.
For now, let's see if you are on a notebook computer and if disabling powersave helps:
Same error and no I am using a custom desktop computer i5-7400 ~ 32GB DDR4 RAM with an ASUS MotherBoard H110-k
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up r8168-dkms (8.049.02-1ubuntu1.2) ...
Removing old r8168-8.049.02 DKMS files...
Deleting module r8168-8.049.02 completely from the DKMS tree.
Loading new r8168-8.049.02 DKMS files...
Building for 6.5.0-15-generic
Building initial module for 6.5.0-15-generic
Error! Bad return status for module build on kernel: 6.5.0-15-generic (x86_64)
Consult /var/lib/dkms/r8168/8.049.02/build/make.log for more information.
dpkg: error processing package r8168-dkms (--configure):
installed r8168-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.5.0-15-generic
Errors were encountered while processing:
r8168-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
It worked now how can I restore back my Ethernet connection? because its lost
freeasus@freeasus-System-Product-Name:~$
sudo apt remove r8168-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
r8168-dkms
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 1,377 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 314082 files and directories currently installed.)
Removing r8168-dkms (8.049.02-1ubuntu1.2) ...
Deleting module r8168-8.049.02 completely from the DKMS tree.
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.5.0-15-generic
freeasus@freeasus-System-Product-Name:~$
Once it finishes downloading, go to your Downloads folder and right click the zipped file and select "Extract here".
Enter the extracted folder and right click the autorun.sh and choose Properties > Permissions and ensure it is checked to run as executable.
Then double click it to run it.