Wired Ethernet not working, WiFi fine

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.
Locked
Jakrakm
Level 1
Level 1
Posts: 2
Joined: Mon Oct 18, 2021 12:13 pm

Wired Ethernet not working, WiFi fine

Post by Jakrakm »

When plugging in my ethernet cable it just keeps trying to connect and then a popup every 15 seconds or so shows disconnected. Previously this connection was working fine. Troubleshooting so far was changed cable, connected to another computer to verify ethernet was working.

Code: Select all

System:
  Kernel: 5.4.0-88-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 5.0.6 wm: muffin 5.0.2 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop System: LENOVO product: F0EB003WAX v: ideacentre A340-22IWL 
  serial: <filter> Chassis: type: 13 serial: <filter> 
  Mobo: LENOVO model: 36FE v: SDK0J40700 WIN 3258146229924 serial: <filter> 
  UEFI: LENOVO v: O46KT29A date: 08/07/2019 
CPU:
  Topology: Dual Core model: Intel Core i3-8145U bits: 64 type: MT MCP 
  arch: Kaby Lake rev: C L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 18399 
  Speed: 800 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:3ea0 
  Display: x11 server: X.Org 1.20.11 driver: modesetting 
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 21.0.3 
  direct render: Yes 
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: Lenovo 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:9dc8 
  Sound Server: ALSA v: k5.4.0-88-generic 
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter 
  vendor: Lenovo driver: rtl8821ce v: v5.5.2.1_35598.20191029 port: 4000 
  bus ID: 01:00.0 chip ID: 10ec:c821 
  IF: wlp1s0 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Lenovo driver: r8169 v: kernel port: 3000 bus ID: 02:00.0 
  chip ID: 10ec:8168 
  IF: enp2s0 state: down mac: <filter> 
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:
  Local Storage: total: 931.51 GiB used: 63.13 GiB (6.8%) 
  ID-1: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB 
  speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: LCM2 scheme: GPT 
Partition:
  ID-1: / size: 287.37 GiB used: 63.10 GiB (22.0%) fs: ext4 dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
  1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/gerardpuig-ppa-focal.list 
  1: deb http://ppa.launchpad.net/gerardpuig/ppa/ubuntu focal main
  2: deb-src http://ppa.launchpad.net/gerardpuig/ppa/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com uma 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: 259 Uptime: 1h 54m Memory: 3.70 GiB used: 1.52 GiB (41.1%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Wired Ethernet not working, WiFi fine

Post by Larry78723 »

This should work: Open a terminal and run the following 2 commands

Code: Select all

sudo apt-get update -y

Code: Select all

sudo apt-get install -y r8168-dkms
Reboot
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.
Jakrakm
Level 1
Level 1
Posts: 2
Joined: Mon Oct 18, 2021 12:13 pm

Re: Wired Ethernet not working, WiFi fine

Post by Jakrakm »

Larry78723 wrote: Mon Oct 18, 2021 1:11 pm This should work: Open a terminal and run the following 2 commands

Code: Select all

sudo apt-get update -y

Code: Select all

sudo apt-get install -y r8168-dkms
Reboot
Tried this and didn't work. There was a kernel update so I did that then tried the commands again, rebooted but still the same problem.
kelebek333
Level 4
Level 4
Posts: 419
Joined: Sat Jun 25, 2011 11:57 am

Re: Wired Ethernet not working, WiFi fine

Post by kelebek333 »

You must disable secureboot for r8168 module.
NathanShirley
Level 2
Level 2
Posts: 86
Joined: Fri Oct 22, 2021 9:16 pm

Re: Wired Ethernet not working, WiFi fine

Post by NathanShirley »

I have what I think is a similar issue, except this is a new Mint install with a motherboard that doesn't have Wi-Fi, and the Ethernet doesn't work at all. The computer also runs Windows (separate drive) and the the Ethernet works fine there. I've tried pinging the router in Mint, but it doesn't work. Before installing, when using the bootable ISO on a flash USB drive, the Internet didn't work either (but did work on other computers). I plugged the drive with the installed Mint into an older computer and the Ethernet worked just fine, so I'm assuming this is some kind of hardware/driver issue??

I'm using the latest Cinnamon, with all updates installed (used the older computer for the updates). The updates didn't help.

I then found this thread and (again using the older computer) ran the two commands mentioned. I returned the drive to my newer computer, made sure secure boot was off (surprisingly it already was), but still no internet.

In case it makes any difference, this Mint install is on a SATA m.2 drive, in a USB 3.1 (gen 2) enclosure. But again, it works in the older computer, so I don't think that's the issue.

This newer computer I'm having issues with is:

Motherboard: ASUS B450m-pro S
CPU: AMD 5600X
Last edited by NathanShirley on Fri Oct 22, 2021 9:59 pm, edited 1 time in total.
motoryzen
Level 10
Level 10
Posts: 3489
Joined: Sun Dec 08, 2019 12:25 am

Re: Wired Ethernet not working, WiFi fine

Post by motoryzen »

NathanShirley...the mod or mods will tell you to start your own thread as they would almost think you're hijacking this thread *shrugs*. no bad vibes meant, just explaining.

If you found a solution, however, then please mention it so the mods won't think you're hijacking this thread. :)
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
NathanShirley
Level 2
Level 2
Posts: 86
Joined: Fri Oct 22, 2021 9:16 pm

Re: Wired Ethernet not working, WiFi fine

Post by NathanShirley »

Oh no problem, I'll start a new thread.
NathanShirley
Level 2
Level 2
Posts: 86
Joined: Fri Oct 22, 2021 9:16 pm

Re: Wired Ethernet not working, WiFi fine

Post by NathanShirley »

In my case updating to the latest 5.11 kernel fixed the problem in the new computer (but ironically killed the Ethernet in the older computer that had previously worked). So perhaps a newer kernel could work for others?
Locked

Return to “Networking”