[SOLVED] WiFi and ethernet dropouts

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post please read how to get help
Post Reply
alangauld
Level 1
Level 1
Posts: 33
Joined: Sun May 28, 2017 11:01 am

[SOLVED] WiFi and ethernet dropouts

Post by alangauld »

I'm using Mint 20.3 and ever since upgrading from Mint 19 to 20.1 I've had problems with the networking.
Sometimes it works for a few days at a time, other times only a few minutes. The same problem exists on ethernet and wifi.
Basically the connection just disappears. I can restore the wifi by unplugging the USB dongle.
I can restore the ethernet by power-cycling the switch(TP-Link gigabit 6 ports).
However my Windows 10 computer, ancient iBook and Buffalo NAS are all plugged into the same switch and have no
problems whatsoever, and my phone/tablets have no issues with wifi, it's only my Mint box.
It's becoming a PITA to keep cycling the devices.
Any suggestions?

Tech info below, taken when the WiFi was up and the ethernet in a permanent "connecting" state...
I hope you can suggest something.

Code: Select all

$ iwconfig
virbr0    no wireless extensions.

virbr0-nic  no wireless extensions.

lo        no wireless extensions.

enp2s0    no wireless extensions.

wlx0019e08952a7  IEEE 802.11  ESSID:"PLUSNET-K3HHMG"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: B8:D9:4D:57:DA:74   
          Bit Rate=54 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=46/70  Signal level=-64 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2485  Invalid misc:2192   Missed beacon:0
          

Code: Select all

$ inxi -Fxz
System:
  Kernel: 5.4.0-58-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.6.7 Distro: Linux Mint 20 Ulyana 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop Mobo: MICRO-STAR model: 760GM -E51 (MS-7596) v: 1.0 
  serial: <filter> BIOS: American Megatrends v: 1.9 date: 12/24/2010 
CPU:
  Topology: Quad Core model: AMD Athlon II X4 640 bits: 64 type: MCP 
  arch: K10 rev: 3 L2 cache: 2048 KiB 
  flags: lm nx pae sse sse2 sse3 sse4a svm bogomips: 24002 
  Speed: 800 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 800 2: 1800 
  3: 800 4: 2300 
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Gigabyte driver: nvidia 
  v: 450.80.02 bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.8 driver: nvidia 
  unloaded: fbdev,modesetting,nouveau,vesa resolution: 2560x1440~60Hz 
  OpenGL: renderer: GeForce GT 710/PCIe/SSE2 v: 4.6.0 NVIDIA 450.80.02 
  direct render: Yes 
Audio:
  Device-1: AMD SBx00 Azalia vendor: Micro-Star MSI driver: snd_hda_intel 
  v: kernel bus ID: 00:14.2 
  Device-2: NVIDIA GK208 HDMI/DP Audio vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 
  Sound Server: ALSA v: k5.4.0-58-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI driver: r8169 v: kernel port: e800 bus ID: 02:00.0 
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-2: Ralink RT2501/RT2573 Wireless Adapter type: USB driver: rt73usb 
  bus ID: 2-1:11 
  IF: wlx0019e08952a7 state: up mac: <filter> 
  IF-ID-1: virbr0 state: down mac: <filter> 
  IF-ID-2: virbr0-nic state: down mac: <filter> 
Last edited by alangauld on Sat Dec 26, 2020 6:42 pm, edited 1 time in total.
vimes666
Level 5
Level 5
Posts: 803
Joined: Tue Jan 19, 2016 6:08 pm

Re: WiFi and ethernet dropouts

Post by vimes666 »

Maybe setting the wifi power management to off will help:

Code: Select all

sudo xed /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
change wifi.powersave = 3 into wifi.powersave = 2, save the file and reboot.
Do a iwconfig after the reboot to check if it is really turned off.
If you think the issue is solved, edit your original post and add the word solved to the title.
User avatar
JerryF
Level 15
Level 15
Posts: 5854
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: WiFi and ethernet dropouts

Post by JerryF »

alangauld wrote:
Fri Dec 25, 2020 10:56 am
I'm using Mint 20.3 and ever since upgrading from Mint 19 to 20.1 I've had problems with the networking.
...
Just as an aid for information: You are using Mint 20. 20.1 is now beta version and 20.3 hasn't been released yet. :wink:
alangauld
Level 1
Level 1
Posts: 33
Joined: Sun May 28, 2017 11:01 am

Re: WiFi and ethernet dropouts

Post by alangauld »

JerryF wrote:
Fri Dec 25, 2020 12:16 pm

Just as an aid for information: You are using Mint 20. 20.1 is now beta version and 20.3 hasn't been released yet. :wink:
Oops, sorry, it was 19.3 I upgraded from.... I'll blame it on lockdown fever. :-)
alangauld
Level 1
Level 1
Posts: 33
Joined: Sun May 28, 2017 11:01 am

Re: WiFi and ethernet dropouts

Post by alangauld »

vimes666 wrote:
Fri Dec 25, 2020 12:05 pm
Maybe setting the wifi power management to off will help:

Do a iwconfig after the reboot to check if it is really turned off.
Tried it and it turned off OK, but sadly made no difference to the drop outs.
It still cuts off after 10-30 minutes or so.

Thanks for the suggestion though.
sleeper12
Level 20
Level 20
Posts: 11142
Joined: Thu May 25, 2017 3:22 pm

Re: WiFi and ethernet dropouts

Post by sleeper12 »

Try:

Code: Select all

 sudo service network-manager restart 
alangauld
Level 1
Level 1
Posts: 33
Joined: Sun May 28, 2017 11:01 am

Re: WiFi and ethernet dropouts

Post by alangauld »

sleeper12 wrote:
Fri Dec 25, 2020 4:01 pm
Try:

Code: Select all

 sudo service network-manager restart 
OK, I did that last night just before going to bed and this morning its still up.
Looks promising. So much so that I've created an alias to save typing :-)

I'll update this thread if it stays up for 24 hours...
alangauld
Level 1
Level 1
Posts: 33
Joined: Sun May 28, 2017 11:01 am

Re: WiFi and ethernet dropouts

Post by alangauld »

alangauld wrote:
Sat Dec 26, 2020 4:59 am

I'll update this thread if it stays up for 24 hours...

So far so good! I'll mark the thread as solved. Hopefully for good...
Post Reply

Return to “Networking”