Ethernet connection drops randomly then reconnects

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
[Jonathan_C_Linux]
Level 1
Level 1
Posts: 25
Joined: Fri Dec 28, 2018 9:30 pm
Location: North Charleston, South Carolina

Ethernet connection drops randomly then reconnects

Post by [Jonathan_C_Linux] »

Hello, the issue in the title has been a reoccurring one for my system whenever I have used a wired connection. This includes multiple reinstalls of mint and kernel updates. It is exactly what it sounds like, normal operation one second, disconnected from the network and reconnecting the next. This only happens with a wired connection.

I used this to get my system information

Code: Select all

inxi -F

System:
  Host: jonathan-Nitro-AN515-53 Kernel: 5.15.0-58-generic x86_64 bits: 64 
  Desktop: Cinnamon 5.2.7 Distro: Linux Mint 20.3 Una 
Machine:
  Type: Laptop System: Acer product: Nitro AN515-53 v: V1.28 
  serial: NHQ3YAA00183803C8F3400 
  Mobo: CFL model: Freed_CFS v: V1.28 serial: NBQ3L11003838283B43400 
  UEFI: Insyde v: 1.28 date: 08/05/2019 
Battery:
  ID-1: BAT1 charge: 37.2 Wh condition: 39.6/48.9 Wh (81%) 
CPU:
  Topology: Quad Core model: Intel Core i5-8300H bits: 64 type: MT MCP 
  L2 cache: 8192 KiB 
  Speed: 800 MHz min/max: 800/2300 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:
  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: nvidia 
  v: 515.86.01 
  Display: server: X.Org 1.20.13 driver: modesetting,nvidia 
  unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 
  v: 4.6.0 NVIDIA 515.86.01 
Audio:
  Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel 
  Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel 
  Sound Server: ALSA v: k5.15.0-58-generic 
Network:
  Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi 
  IF: wlp0s20f3 state: up mac: 3c:6a:a7:c5:f9:3b 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8169 
  IF: enp7s0f1 state: up speed: 1000 Mbps duplex: full 
  mac: 98:28:a6:24:ba:53 
Drives:
  Local Storage: total: 238.47 GiB used: 115.78 GiB (48.6%) 
  ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKKW256G7 size: 238.47 GiB 
Partition:
  ID-1: / size: 128.04 GiB used: 57.87 GiB (45.2%) fs: ext4 
  dev: /dev/nvme0n1p5 
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A gpu: nvidia temp: 40 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 328 Uptime: 1h 14m Memory: 7.61 GiB used: 3.37 GiB (44.3%) 
  Shell: bash inxi: 3.0.38  
Last edited by LockBot on Mon Aug 07, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
BillyLinux
Level 4
Level 4
Posts: 304
Joined: Wed Sep 07, 2022 6:09 am
Location: Wiltshire

Re: Ethernet connection drops randomly then reconnects

Post by BillyLinux »

In order to narrow down the cause, I would first try a different ethernet cable onto a different port on your router. I would also see if you can configure the router so it allocates a static IP address as opposed to a dynamic one.
I am just one of the volunteers for a UK charity https://abilitynet.org.uk/
who provides free IT support to older people and disabled people of any age, anywhere in the UK.
sleeper12
Level 21
Level 21
Posts: 14396
Joined: Thu May 25, 2017 3:22 pm

Re: Ethernet connection drops randomly then reconnects

Post by sleeper12 »

You can also try:

Code: Select all

 sudo modprobe -r r8169 && sudo modprobe r8169 && sudo systemctl restart network-manager.service 
mikeflan
Level 16
Level 16
Posts: 6973
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: Ethernet connection drops randomly then reconnects

Post by mikeflan »

the issue in the title has been a reoccurring one for my system
I had that issue throughout my 2 year run on LM 19.3. It was not a big problem, but very persistent. It would normally reconnect before any problem was encountered. I never did find a fix for the problem, despite trying.

Then I did fresh installs of LM 21.0 and LM 20.3 (on separate computers) and neither do that. You have a short 3 second disconnect after waking from a suspend, but then it never drops for hours or days until the next wake-up.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Ethernet connection drops randomly then reconnects

Post by JeremyB »

Post results from terminal for

Code: Select all

lspci -nnk | grep -iA3 net
Locked

Return to “Networking”