Wireless disconnects from router [SOLVED]

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
tkocou
Level 2
Level 2
Posts: 82
Joined: Mon Jul 30, 2012 6:25 pm

Wireless disconnects from router [SOLVED]

Post by tkocou »

I have noticed that at random times, my LM wifi network will disconnect from my router. The disconnect is not an Internet problem. It's an annoyance as a simple reconnect fixes the issue until the next time it occurs. The power management is turned off for the wifi adapter. Has anyone else noticed similar behavior?
Last edited by LockBot on Sun Mar 26, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Linux Mint 21.1 Cinnamon
User avatar
hglee
Level 6
Level 6
Posts: 1422
Joined: Fri Jun 22, 2018 4:31 pm

Re: Wireless disconnects from router

Post by hglee »

tkocou wrote: Mon Sep 26, 2022 12:27 pm Has anyone else noticed similar behavior?

To answer your question: Yes.

Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
User avatar
Pjotr
Level 24
Level 24
Posts: 20142
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Wireless disconnects from router

Post by Pjotr »

Please generate an overview of your system like this:
- Launch a terminal window (this is how to launch a terminal window);
- Make the terminal window full screen, to avoid chopped lines;
- Copy/paste this command into the terminal:

Code: Select all

inxi -Fxpmrz
(if you type: the letter F is a capital letter, and don't omit the space after inxi!)

Press Enter.

Copy/paste the output in your next message.

Do the same with the following four commands:

Code: Select all

rfkill list all

Code: Select all

iwconfig

Code: Select all

lsusb

Code: Select all

lspci
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
tkocou
Level 2
Level 2
Posts: 82
Joined: Mon Jul 30, 2012 6:25 pm

Re: Wireless disconnects from router

Post by tkocou »

Hopefully you can make sense of this data

inxi -Fxpmrz
System:
Kernel: 5.15.0-53-generic x86_64 bits: 64 compiler: N/A
Desktop: Cinnamon 5.2.7 Distro: Linux Mint 20.3 Una
base: Ubuntu 20.04 focal
Machine:
Type: Desktop Mobo: ASUSTeK model: PRIME X370-PRO v: Rev X.0x
serial: <filter> UEFI [Legacy]: American Megatrends v: 0610
date: 05/05/2017
Memory:
RAM: total: 31.28 GiB used: 1.74 GiB (5.6%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Topology: 8-Core model: AMD Ryzen 7 1700 bits: 64 type: MT MCP arch: Zen
rev: 1 L2 cache: 4096 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 99016
Speed: 1642 MHz min/max: 1550/3100 MHz Core speeds (MHz): 1: 2478 2: 2495
3: 2767 4: 2481 5: 3060 6: 1369 7: 1375 8: 1539 9: 2131 10: 1368 11: 1378
12: 1374 13: 1374 14: 1412 15: 1391 16: 1396
Graphics:
Device-1: NVIDIA vendor: PNY driver: nouveau v: kernel bus ID: 28:00.0
Display: x11 server: X.Org 1.20.13 driver: modesetting
unloaded: fbdev,vesa resolution: 3840x2160~60Hz
OpenGL: renderer: llvmpipe (LLVM 12.0.0 256 bits) v: 4.5 Mesa 21.2.6
direct render: Yes
Audio:
Device-1: NVIDIA vendor: PNY driver: snd_hda_intel v: kernel
bus ID: 28:00.1
Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus ID: 2a:00.3
Device-3: Plantronics Audio 655 DSP type: USB
driver: plantronics,snd-usb-audio,usbhid bus ID: 3-1.4.2:5
Sound Server: ALSA v: k5.15.0-53-generic
Network:
Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
port: e000 bus ID: 26:00.0
IF: enp38s0 state: down mac: <filter>
Device-2: ASUSTek USB-AC56 802.11a/b/g/n/ac Wireless Adapter [Realtek
RTL8812AU]
type: USB driver: rtl8812au bus ID: 5-2:3
IF: wlx0492268ba41c state: up mac: <filter>
Drives:
Local Storage: total: 15.01 TiB used: 778.74 GiB (5.1%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 960 EVO 500GB
size: 465.76 GiB
ID-2: /dev/sda vendor: Seagate model: ST8000DM004-2CX188 size: 7.28 TiB
ID-3: /dev/sdb vendor: Seagate model: ST8000DM004-2CX188 size: 7.28 TiB
Partition:
ID-1: / size: 456.88 GiB used: 39.34 GiB (8.6%) fs: ext4
dev: /dev/nvme0n1p5
ID-2: /boot/efi size: 511.0 MiB used: 4 KiB (0.0%) fs: vfat
dev: /dev/nvme0n1p1
ID-3: /home size: 14.43 TiB used: 739.40 GiB (5.0%) fs: ext4
dev: /dev/dm-0
Sensors:
Message: No sensors data was found. Is sensors configured?
Repos:
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
Active apt repos in: /etc/apt/sources.list.d/dansmith-chirp-snapshots-focal.list
1: deb http://ppa.launchpad.net/dansmith/chirp ... ots/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/kdenlive-kdenlive-stable-focal.list
1: deb http://ppa.launchpad.net/kdenlive/kdenl ... ble/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/mkusb-ppa-focal.list
1: deb http://ppa.launchpad.net/mkusb/ppa/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com una 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
Active apt repos in: /etc/apt/sources.list.d/syncthing.list
1: deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable
Active apt repos in: /etc/apt/sources.list.d/vscode.list
1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
Active apt repos in: /etc/apt/sources.list.d/vscodium.list
1: deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://download.vscodium.com/debs vscodium main
Active apt repos in: /etc/apt/sources.list.d/winehq-focal.sources
1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu focal main
Info:
Processes: 357 Uptime: 12m Init: systemd runlevel: 5 Compilers: gcc: 9.4.0
clang: 10.0.0-4ubuntu1 Shell: bash v: 5.0.17 inxi: 3.0.38

rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

iwconfig
lo no wireless extensions.

enp38s0 no wireless extensions.

wlx0492268ba41c IEEE 802.11AC ESSID:"GBIVan75" Nickname:"WIFI@RTL8812AU"
Mode:Managed Frequency:5.18 GHz Access Point: 04:D4:C4:B8:C6:14
Bit Rate:867 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=89/100 Signal level=39/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 0b05:17d2 ASUSTek Computer, Inc. USB-AC56 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]
Bus 005 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 004: ID 0bda:0309 Realtek Semiconductor Corp.
Bus 004 Device 003: ID 05e3:0617 Genesys Logic, Inc.
Bus 004 Device 002: ID 05e3:0617 Genesys Logic, Inc. USB3.0 Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 003 Device 005: ID 047f:c008 Plantronics, Inc. Audio 655 DSP
Bus 003 Device 004: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 13fd:0940 Initio Corporation ASUS SBW-06D2X-U
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Linux Mint 21.1 Cinnamon
User avatar
Pjotr
Level 24
Level 24
Posts: 20142
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Wireless disconnects from router

Post by Pjotr »

Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
tkocou
Level 2
Level 2
Posts: 82
Joined: Mon Jul 30, 2012 6:25 pm

Re: Wireless disconnects from router

Post by tkocou »

Thank you for the tips. I am currently using the driver rtl8812au-5.13.2. The first tip is for an earlier version of rtl8812au which no longer works with the latest kernel. I've tried the second tip and will let you know what happens.
Linux Mint 21.1 Cinnamon
tkocou
Level 2
Level 2
Posts: 82
Joined: Mon Jul 30, 2012 6:25 pm

Re: Wireless disconnects from router

Post by tkocou »

SO much for that second tip. After posting my previous reply, my wifi promptly disconnected me. So I deleted the extra file.
Linux Mint 21.1 Cinnamon
tkocou
Level 2
Level 2
Posts: 82
Joined: Mon Jul 30, 2012 6:25 pm

Re: Wireless disconnects from router [SOLVED]

Post by tkocou »

The fix to this situation was to download the latest driver source code, purge all previous drivers from the hard drive and compile the source as a DKMS driver.
Linux Mint 21.1 Cinnamon
Locked

Return to “Networking”