Linux Mint 20 -- Losing Internet Connection

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
Kanuto-49
Level 1
Level 1
Posts: 13
Joined: Sat Feb 27, 2021 8:13 am

Linux Mint 20 -- Losing Internet Connection

Post by Kanuto-49 »

Noobie Windows-to-Linux transition user, running Linux Mint 20 on a wired network. I periodically am losing internet connection. It started after I did a 'sudo apt upgrade' (maybe I shouldn't have done this?) When I experience this problem, I have access to my local LAN OK. No problem with my modem/router since a reboot clears the problem. I can't figure out how to fix this; any help would be appreciated. TIA, Ken
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.
sleeper12
Level 21
Level 21
Posts: 14593
Joined: Thu May 25, 2017 3:22 pm

Re: Linux Mint 20 -- Losing Internet Connection

Post by sleeper12 »

Just to start, see if this helps any:

Code: Select all

 sudo service network-manager restart 
Might also help to post your system details:

Code: Select all

 inxi -Fxxxrz 
Kanuto-49
Level 1
Level 1
Posts: 13
Joined: Sat Feb 27, 2021 8:13 am

Re: Linux Mint 20 -- Losing Internet Connection

Post by Kanuto-49 »

OK, I tried sudo service network-manager restart and it didn't fix the pronlem.

Here is the output from inxi -Fxxxrz

inxi -Fxxxrz
System:
Kernel: 5.4.0-80-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 dm: LightDM 1.30.0
Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal
Machine:
Type: Desktop System: ASUS product: All Series v: N/A serial: <filter>
Mobo: ASUSTeK model: Z97-PRO GAMER v: Rev X.0x serial: <filter>
UEFI: American Megatrends v: 2107 date: 11/11/2015
CPU:
Topology: Quad Core model: Intel Core i7-4790 bits: 64 type: MT MCP arch: Haswell
rev: 3 L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 57564
Speed: 899 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 901 2: 899 3: 900 4: 900
5: 900 6: 900 7: 902 8: 900
Graphics:
Device-1: NVIDIA GF108 [GeForce GT 730] vendor: Micro-Star MSI driver: nvidia
v: 390.143 bus ID: 02:00.0 chip ID: 10de:0f02
Display: x11 server: X.Org 1.20.9 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GT 730/PCIe/SSE2 v: 4.6.0 NVIDIA 390.143
direct render: Yes
Audio:
Device-1: Intel 9 Series Family HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus ID: 00:1b.0 chip ID: 8086:8ca0
Device-2: NVIDIA GF108 High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus ID: 02:00.1 chip ID: 10de:0bea
Sound Server: ALSA v: k5.4.0-80-generic
Network:
Device-1: Intel Ethernet I218-V vendor: ASUSTeK driver: e1000e v: 3.2.6-k port: f040
bus ID: 00:19.0 chip ID: 8086:15a1
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Broadcom and subsidiaries BCM4352 802.11ac Wireless Network Adapter
vendor: ASUSTeK driver: bcma-pci-bridge v: N/A port: e000 bus ID: 06:00.0
chip ID: 14e4:43b1
IF-ID-1: nordlynx state: unknown speed: 10 Mbps duplex: full mac: N/A
Drives:
Local Storage: total: 1.82 TiB used: 77.54 GiB (4.2%)
ID-1: /dev/sda vendor: Seagate model: ST2000DM001-1ER164 size: 1.82 TiB
speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: HP51 temp: 30 C scheme: GPT
Partition:
ID-1: / size: 1.79 TiB used: 77.54 GiB (4.2%) fs: ext4 dev: /dev/sda2
Sensors:
System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 39 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 42%
Repos:
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list
1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/nordvpn.list
1: deb https://repo.nordvpn.com/deb/nordvpn/debian stable main
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: 262 Uptime: 24m Memory: 15.58 GiB used: 2.93 GiB (18.8%) 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
sleeper12
Level 21
Level 21
Posts: 14593
Joined: Thu May 25, 2017 3:22 pm

Re: Linux Mint 20 -- Losing Internet Connection

Post by sleeper12 »

Have you tried reinserting the ethernet cable, maybe into a different port if you have another? You can also try reloading the driver:

Code: Select all

 sudo modprobe -r e1000e && sudo modprobe e1000e 
Kanuto-49
Level 1
Level 1
Posts: 13
Joined: Sat Feb 27, 2021 8:13 am

Re: Linux Mint 20 -- Losing Internet Connection

Post by Kanuto-49 »

I tried reinserting the cable with no fix, I don't think the cable is the problem since I can ping the router while I have the problem. I will reload the driver (which driver?), can you tell me how to do that? Thanks
motoryzen
Level 10
Level 10
Posts: 3483
Joined: Sun Dec 08, 2019 12:25 am

Re: Linux Mint 20 -- Losing Internet Connection

Post by motoryzen »

Ok. terminal command time again:

post the results of at least 4 or 5 line results of ( without quotes) "ping www.google.com" or ping (insert whatever other site you prefer).com

Hold ctrl then press z to stop it, then highlight and copy, then paste the results suing that </> button just above the message window please.

Here's mine

Code: Select all

PING www.google.com (142.251.35.196) 56(84) bytes of data.
64 bytes from dfw25s46-in-f4.1e100.net (142.251.35.196): icmp_seq=1 ttl=108 time=35.9 ms
64 bytes from dfw25s46-in-f4.1e100.net (142.251.35.196): icmp_seq=2 ttl=108 time=35.3 ms
64 bytes from dfw25s46-in-f4.1e100.net (142.251.35.196): icmp_seq=3 ttl=108 time=35.7 ms
64 bytes from dfw25s46-in-f4.1e100.net (142.251.35.196): icmp_seq=4 ttl=108 time=35.8 ms
64 bytes from dfw25s46-in-f4.1e100.net (142.251.35.196): icmp_seq=5 ttl=108 time=35.5 ms
^Z
[1]+  Stopped                 ping www.google.com
also
IF-ID-1: nordlynx state: unknown speed: 10 Mbps duplex: full mac: N/A
.... has me curious
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
sleeper12
Level 21
Level 21
Posts: 14593
Joined: Thu May 25, 2017 3:22 pm

Re: Linux Mint 20 -- Losing Internet Connection

Post by sleeper12 »

Kanuto-49 wrote: Wed Jul 28, 2021 10:08 pm I tried reinserting the cable with no fix, I don't think the cable is the problem since I can ping the router while I have the problem. I will reload the driver (which driver?), can you tell me how to do that? Thanks
Just enter the command in my previous post into the Terminal to reload the driver.
Kanuto-49
Level 1
Level 1
Posts: 13
Joined: Sat Feb 27, 2021 8:13 am

Re: Linux Mint 20 -- Losing Internet Connection

Post by Kanuto-49 »

PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
64 bytes from 1.1.1.1: icmp_seq=1 ttl=60 time=33.1 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=60 time=33.0 ms
64 bytes from 1.1.1.1: icmp_seq=3 ttl=60 time=33.5 ms
64 bytes from 1.1.1.1: icmp_seq=4 ttl=60 time=32.9 ms
64 bytes from 1.1.1.1: icmp_seq=5 ttl=60 time=33.0 ms
^Z
[2]+ Stopped ping 1.1.1.1

I don't know what is going on with nordlynx, my download speed is good.
motoryzen
Level 10
Level 10
Posts: 3483
Joined: Sun Dec 08, 2019 12:25 am

Re: Linux Mint 20 -- Losing Internet Connection

Post by motoryzen »

Perhaps this next suggestion may seem silly, but have you tried disabling that nordlynx vpn service entirely and surfing the web without it for a reasonably..defined period of time to see if the problem doesn't happen again?

I'm not trying to blame the vpn here, but I believe in ruling out all suspects of a problem if at all possible.

Does this disconnection happen at specific events? Such as visiting certain sites or a certain time of the day? How long is the internet connection down for when it does happen?
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
Kanuto-49
Level 1
Level 1
Posts: 13
Joined: Sat Feb 27, 2021 8:13 am

Re: Linux Mint 20 -- Losing Internet Connection

Post by Kanuto-49 »

Well, I disabled Nordlynx as you suggested and have been running 24 hours without the problem. I was experiencing the problem 4-5 times a day before. It looks like your suggestion wasn't so silly. There happens to be a later version of Nordlynx on the Nord website. I will uninstall the version I have and install the newer version and see if the problems happen again. Thanks to all for your help !!!!
motoryzen
Level 10
Level 10
Posts: 3483
Joined: Sun Dec 08, 2019 12:25 am

Re: Linux Mint 20 -- Losing Internet Connection

Post by motoryzen »

Kanuto-49 wrote: Fri Jul 30, 2021 10:24 am Well, I disabled Nordlynx as you suggested and have been running 24 hours without the problem. I was experiencing the problem 4-5 times a day before. It looks like your suggestion wasn't so silly. There happens to be a later version of Nordlynx on the Nord website. I will uninstall the version I have and install the newer version and see if the problems happen again. Thanks to all for your help !!!!
*nods humbly* , *scratches chin curiously*

Have you tried other VPNs? (just in case you find this newer version ends with the same unfortunately problematic results)

I've had PIA before and never had any speed performance problems be it Windows, Mac, or multiple linux distros on my laptop ( dell inspiron with 5000 series broadwell cpu from late 2015), or my desktops ( 4790k build and my current 5900x cpu build)
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”