[Solved] Linux Mint 20.1 Ethernet connection issues

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

[Solved] Linux Mint 20.1 Ethernet connection issues

Post by blueicetwice »

The first I ran this command "sudo apt install r8168-dkms" I only got the following E: unable to locate package r8168. :(

One day later I tried it again and it did download and install. The LAN connection issue has become even more acute than before.
This includes Mint 20.1; Manjaro 20.1 and Solus. Only Windows 7, appears not to be impaired with this Ethernet issue.

This problem seems to have worsen over the past week, to the point every reboot bars connectivity. :x :x

The only conclusion I can observe is that it is a software issue.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 7 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

Re: After Upgrade to Linux Mint 20 Ethernet connection issues

Post by blueicetwice »

Code: Select all

[sudo] password for blueicetwice:                 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-70 linux-headers-5.4.0-70-generic
  linux-image-5.4.0-70-generic linux-modules-5.4.0-70-generic
  linux-modules-extra-5.4.0-70-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  r8168-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 98.5 kB of archives.
After this operation, 1,388 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 r8168-dkms all 8.048.00-1ubuntu0.20.04.1 [98.5 kB]
Fetched 98.5 kB in 1s (132 kB/s)    
Selecting previously unselected package r8168-dkms.
(Reading database ... 419534 files and directories currently installed.)
Preparing to unpack .../r8168-dkms_8.048.00-1ubuntu0.20.04.1_all.deb ...
Unpacking r8168-dkms (8.048.00-1ubuntu0.20.04.1) ...
Setting up r8168-dkms (8.048.00-1ubuntu0.20.04.1) ...
Loading new r8168-8.048.00 DKMS files...
Building for 5.4.0-72-generic
Building initial module for 5.4.0-72-generic
Done.

r8168.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-72-generic/updates/dkms/

depmod.....

Backing up initrd.img-5.4.0-72-generic to /boot/initrd.img-5.4.0-72-generic.old-
dkms
Making new initrd.img-5.4.0-72-generic
(If next boot fails, revert to initrd.img-5.4.0-72-generic.old-dkms image)
update-initramfs................

DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.136ubuntu6.4) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-72-generic
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

Re: After Upgrade to Linux Mint 20 Ethernet connection issues

Post by blueicetwice »

It did not work. In the network manager, I went from "Profile One" to "Connection One" several times
and was finally connected to the Internet.

I am now assuming a file change is necessary. This is a major issue for Linux software. :o
User avatar
karlchen
Level 23
Level 23
Posts: 18238
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Linux Mint 20.1 Ethernet connection issues

Post by karlchen »

Hello, blueicetwice,

please, share your Linux Mint system information with us, as explained step by step here: How to post your Linux Mint System Information (inxi report)
The (error) messages alone are hard to intepret without having the technical details, which system information will provide.

Thanks,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

Re: Linux Mint 20.1 Ethernet connection issues

Post by blueicetwice »

Es tut mir leid, Karl :!:

Code: Select all

System:    Kernel: 5.4.0-72-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6 
           wm: muffin dm: LightDM Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: Gigabyte product: GA-970A-UD3 v: N/A serial: <filter> Chassis: 
           type: 3 serial: <filter> 
           Mobo: Gigabyte model: GA-970A-UD3 serial: <filter> BIOS: Award v: F4 date: 10/13/2011 
Battery:   Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K360 serial: <filter> 
           charge: 100% (should be ignored) status: Discharging 
           Device-2: hidpp_battery_1 model: Logitech M705 serial: <filter> charge: 55% 
           status: Discharging 
CPU:       Topology: 6-Core model: AMD Phenom II X6 1055T bits: 64 type: MCP arch: K10 
           L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4a svm bogomips: 33829 
           Speed: 3303 MHz min/max: 800/2800 MHz Core speeds (MHz): 1: 3246 2: 805 3: 805 4: 805 
           5: 2914 6: 1475 
Graphics:  Device-1: NVIDIA GF114 [GeForce GTX 560] vendor: Micro-Star MSI driver: nvidia 
           v: 390.143 bus ID: 01:00.0 chip ID: 10de:1201 
           Display: x11 server: X.Org 1.20.9 driver: nvidia 
           unloaded: fbdev,modesetting,nouveau,vesa resolution: 1280x1024~60Hz 
           OpenGL: renderer: GeForce GTX 560/PCIe/SSE2 v: 4.6.0 NVIDIA 390.143 direct render: Yes 
Audio:     Device-1: AMD SBx00 Azalia vendor: Gigabyte driver: snd_hda_intel v: kernel 
           bus ID: 00:14.2 chip ID: 1002:4383 
           Device-2: NVIDIA GF114 HDMI Audio vendor: Micro-Star MSI driver: snd_hda_intel 
           v: kernel bus ID: 01:00.1 chip ID: 10de:0e0c 
           Sound Server: ALSA v: k5.4.0-72-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte 
           driver: r8168 v: 8.048.00-NAPI port: ee00 bus ID: 03:00.0 chip ID: 10ec:8168 
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 1.82 TiB used: 46.81 GiB (2.5%) 
           ID-1: /dev/sda vendor: Western Digital model: WD5000HHTZ-75N21V0 size: 465.76 GiB 
           speed: <unknown> serial: <filter> 
           ID-2: /dev/sdb vendor: Western Digital model: WD5000HHTZ-04N21V0 size: 465.76 GiB 
           speed: 6.0 Gb/s serial: <filter> 
           ID-3: /dev/sdc vendor: Western Digital model: WD1003FZEX-00K3CA0 size: 931.51 GiB 
           speed: 6.0 Gb/s serial: <filter> 
Partition: ID-1: / size: 915.40 GiB used: 46.81 GiB (5.1%) fs: ext4 dev: /dev/sdc5 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 5 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 5 rev: 2.0 chip ID: 1d6b:0002 
           Device-1: 2-3:2 info: Realtek Mass Storage Device (Multicard Reader) type: Mass Storage 
           driver: usb-storage rev: 2.0 chip ID: 0bda:0151 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 5 rev: 1.1 chip ID: 1d6b:0001 
           Device-2: 4-2:2 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID 
           driver: logitech-djreceiver,usbhid rev: 2.0 chip ID: 046d:c52b 
           Hub: 5-0:1 info: Full speed (or root) Hub ports: 5 rev: 1.1 chip ID: 1d6b:0001 
           Hub: 6-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 chip ID: 1d6b:0001 
           Hub: 7-0:1 info: Full speed (or root) Hub ports: 4 rev: 1.1 chip ID: 1d6b:0001 
           Device-3: 7-4:2 info: Cyber Power System PR1500LCDRT2U UPS type: HID 
           driver: hid-generic,usbhid rev: 2.0 chip ID: 0764:0601 
           Hub: 8-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Device-4: 8-1:2 info: Xerox Phaser 6180N type: Printer driver: N/A rev: 2.0 
           chip ID: 0924:3d59 
           Hub: 9-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0 chip ID: 1d6b:0003 
           Hub: 10-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 11-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 26.4 C mobo: N/A gpu: nvidia temp: 39 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 40% 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //packages.linuxmint.com ulyssa main upstream import backport #id:linuxmint_main
           2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 256 Uptime: 32m Memory: 15.64 GiB used: 2.42 GiB (15.5%) Init: systemd 
           v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client 
           inxi: 3.0.38 
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Linux Mint 20.1 Ethernet connection issues

Post by Larry78723 »

From your inxi:
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte
driver: r8168 v: 8.048.00-NAPI port: ee00 bus ID: 03:00.0 chip ID: 10ec:8168
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>

Your inxi shows your ethernet is up. Can you ping your router? If no, restart your router and try again.
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

Re: Linux Mint 20.1 Ethernet connection issues

Post by blueicetwice »

Karl, this is not a wireless issue but rather an Ethernet. Nevertheless, I turned off IPv6 and rebooty
which did not resolve the problem.

This is the most madding tech issue I ever had with Linux.

Larry, I pinged the IP and all is well. No sure how to ping a router.

I would place my bet on that this is a "driver" issue. :x
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

Re: Linux Mint 20.1 Ethernet connection issues

Post by blueicetwice »

Disabled firewall butt no helf. Again, only connected because I kept switching the network option.

NOW HIRING A NETWORK ADMIN. :!: :!: Six hours into this project or is it reject. :oops:
DPM
Level 4
Level 4
Posts: 430
Joined: Thu Sep 24, 2020 9:21 am

Re: Linux Mint 20.1 Ethernet connection issues

Post by DPM »

blueicetwice wrote: Sat May 08, 2021 12:32 pmNo sure how to ping a router.
Open a terminal window. Use the command

Code: Select all

ip route
Look at the output which should start with "default via", and the IP address after that is your router, for example 192.168.0.1. Note this IP address and type another command (with the IP address of your router):

Code: Select all

ping -c 4 192.168.0.1
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

Re: Linux Mint 20.1 Ethernet connection issues

Post by blueicetwice »

https://forum.openmediavault.org/index. ... of-sorted/

One user suggests a solution would be a PCIE Ethernet, with an Intel based card.
This is a Debian issue, according to another poster.
Last edited by blueicetwice on Sat May 08, 2021 3:08 pm, edited 1 time in total.
DPM
Level 4
Level 4
Posts: 430
Joined: Thu Sep 24, 2020 9:21 am

Re: Linux Mint 20.1 Ethernet connection issues

Post by DPM »

blueicetwice wrote: Sat May 08, 2021 3:00 pmOne user suggests a solution would be a PCIE Ethernet, with an Intel based card.
Your Inxi said your driver is up. Hence, try pinging your router.
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

Re: Linux Mint 20.1 Ethernet connection issues

Post by blueicetwice »

DPM, thanks for the tip. I did ping my IP and received four ping back. So there is no issue with our old router.

I also use ping on the golf course. :lol:
sleeper12
Level 21
Level 21
Posts: 14609
Joined: Thu May 25, 2017 3:22 pm

Re: Linux Mint 20.1 Ethernet connection issues

Post by sleeper12 »

Not sure if you did this already, but shutdown all & restart router, modem & machine.
DPM
Level 4
Level 4
Posts: 430
Joined: Thu Sep 24, 2020 9:21 am

Re: Linux Mint 20.1 Ethernet connection issues

Post by DPM »

blueicetwice wrote: Sat May 08, 2021 3:06 pmDPM, thanks for the tip. I did ping my IP and received four ping back. So there is no issue with our old router.
It also means you have no driver issue. The other tip with re-powering the router and modem can help - I sometimes have that, too. Something is wrong with the internet connection beyond the router, and the router fails to recover it.
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

Re: Linux Mint 20.1 Ethernet connection issues

Post by blueicetwice »

Sleeper and DMP, thanks for the info.
I will shut everything down and reboot.
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

Re: Linux Mint 20.1 Ethernet connection issues

Post by blueicetwice »

DPM wrote: Sat May 08, 2021 3:19 pm
blueicetwice wrote: Sat May 08, 2021 3:06 pmDPM, thanks for the tip. I did ping my IP and received four ping back. So there is no issue with our old router.
It also means you have no driver issue. The other tip with re-powering the router and modem can help - I sometimes have that, too. Something is wrong with the internet connection beyond the router, and the router fails to recover it.
GREAT SCOTT, DPM, it worked like a charm :!: :!: :!: :!: :!: :!: :D :D :D :D :D :D

I cast a vote for you as Mint's Sage of the Month :!: :!: No need to purchase the Intel PCIE card.

Now to check Manjaro and Solus. DPM, I am indebted to you for your wise knowledge and support.

EDIT: I also learned that pinging the router, indicates no driver issues. :mrgreen:
EDIT II: Manjaro and Solus also connected to the Internet. I removed [on all three OSs] two additional
network connection options as was advised.
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

Linux Mint 20.1 Ethernet connection issues

Post by blueicetwice »

:roll: :x :oops: :x :?: Rig came out of sleep and the same issue - no Internet.
Last edited by blueicetwice on Sat May 08, 2021 9:46 pm, edited 1 time in total.
DPM
Level 4
Level 4
Posts: 430
Joined: Thu Sep 24, 2020 9:21 am

Re: [SOLVED] Linux Mint 20.1 Ethernet connection issues

Post by DPM »

blueicetwice wrote: Sat May 08, 2021 8:14 pmRig came out of sleep and the same issue - no Internet.
I suspect that this may have something to do with your router settings. In your router, you'll have the option of tying your machine's hardware always to the same local IP, and that will usually do the trick. Otherwise, your PC wakes up again and thinks it has the old IP - but your router sees it as a new machine and assigns a different IP so that both sides don't quite agree on what the IP actually is.

So what I do then is logging into the router (with a browser) and following the instructions of the router's manufacturer. There is some way how to bind an ethernet MAC (the one of your PC) to always the same local IP address, but that is specific to your particular router model.
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

Re: Linux Mint 20.1 Ethernet connection issues

Post by blueicetwice »

DPM, that it is what it always does, assign a new IP address. This has been happening
for months. I thought about assigning a fixed IP address, to see if that would fix the problem but
I never did because I thought it would not work.

I better try your fix.
motoryzen
Level 10
Level 10
Posts: 3497
Joined: Sun Dec 08, 2019 12:25 am

Re: Linux Mint 20.1 Ethernet connection issues

Post by motoryzen »

DPM wrote: Sat May 08, 2021 2:08 pm
blueicetwice wrote: Sat May 08, 2021 12:32 pmNo sure how to ping a router.
Open a terminal window. Use the command

Code: Select all

ip route
Look at the output which should start with "default via", and the IP address after that is your router, for example 192.168.0.1. Note this IP address and type another command (with the IP address of your router):

Code: Select all

ping -c 4 192.168.0.1
Thank ya much for the info DPM. I'm adding this to my bookmarks of Linux basics folder of my internet browser. Cheers.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
Locked

Return to “Networking”