[LMDE 3] Wifi disconects after a few minutes, Network Manager stops working

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
rkjbt

[LMDE 3] Wifi disconects after a few minutes, Network Manager stops working

Post by rkjbt »

as stated in the title my wifi has been causing me issues across the board for the past few days. The wifi will work fine until eventually and randomly disconnecting, followed by network manager stating that my wifi is unavailable. None of my networks become discoverable. The only solution thus far has been rebooting, for some reason my wifi returns following a reboot.

output of lsusb

rkjbt@rkjbt-lappy:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04f3:22c3 Elan Microelectronics Corp.
Bus 001 Device 004: ID 1bcf:2c9b Sunplus Innovation Technology Inc.
Bus 001 Device 003: ID 8087:0aa7 Intel Corp.
Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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: 14540
Joined: Thu May 25, 2017 3:22 pm

Re: [LMDE 3] Wifi disconects after a few minutes, Network Manager stops working

Post by sleeper12 »

Maybe something here will help:
https://easylinuxtipsproject.blogspot.c ... s.html#ID2

If not post results of:

Code: Select all

 inxi -Fxz 
User avatar
trytip
Level 14
Level 14
Posts: 5366
Joined: Tue Jul 05, 2016 1:20 pm

Re: [LMDE 3] Wifi disconects after a few minutes, Network Manager stops working

Post by trytip »

Code: Select all

cat /etc/NetworkManager/NetworkManager.conf
Image
rkjbt

Re: [LMDE 3] Wifi disconects after a few minutes, Network Manager stops working

Post by rkjbt »

Code: Select all

inxi -Fxz output

System:
Host: rkjbt-lappy Kernel: 4.9.0-11-amd64 x86_64 bits: 64 compiler: gcc
v: 6.3.0 Desktop: Cinnamon 4.2.4 Distro: LMDE 3 Cindy
base: Debian 9.3 stretch
Machine:
Type: Laptop System: HP product: HP Laptop 15-bs0xx
v: Type1ProductConfigId serial: <filter>
Mobo: HP model: 832A v: 23.46 serial: <filter> UEFI: Insyde v: F.32
date: 11/23/2017
Battery:
ID-1: BAT1 charge: 25.0 Wh condition: 25.5/31.1 Wh (82%)
model: Hewlett-Packard PABAS0241231 status: Discharging
CPU:
Topology: Dual Core model: Intel Core i3-7100U bits: 64 type: MT MCP
arch: Kaby Lake rev: 9 L2 cache: 3072 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19200
Speed: 800 MHz min/max: 400/2400 MHz Core speeds (MHz): 1: 800 2: 800
3: 798 4: 800
Graphics:
Device-1: Intel vendor: Hewlett-Packard driver: i915 v: kernel
bus ID: 00:02.0
Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa
resolution: 1366x768~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2)
v: 4.5 Mesa 13.0.6 direct render: Yes
Audio:
Device-1: Intel vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
bus ID: 00:1f.3
Sound Server: ALSA v: k4.9.0-11-amd64
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: 2.3LK-NAPI port: 3000
bus ID: 01:00.0
IF: eno1 state: down mac: <filter>
Device-2: Intel driver: iwlwifi v: kernel port: 3000 bus ID: 02:00.0
IF: wlo1 state: up mac: <filter>
Drives:
Local Storage: total: 447.13 GiB used: 6.35 GiB (1.4%)
ID-1: /dev/sda vendor: SanDisk model: Ultra II 480GB size: 447.13 GiB
Partition:
ID-1: / size: 438.82 GiB used: 6.34 GiB (1.4%) fs: ext4 dev: /dev/sda2
Sensors:
System Temperatures: cpu: 34.0 C mobo: 29.8 C
Fan Speeds (RPM): N/A
Info:
Processes: 206 Uptime: 3m Memory: 11.66 GiB used: 1.02 GiB (8.7%)
Init: systemd runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12
inxi: 3.0.32
One fix I've tried which seemed to have marginal success (longer period of connection) is installing the rtl8821ce driver, however I still have issues when I reboot, suspend, or still random connection drops.

Code: Select all

cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[device]
wifi.scan-rand-mac-address=no

[ifupdown]
managed=false
HAWR
Level 9
Level 9
Posts: 2713
Joined: Thu Jun 06, 2019 1:15 pm

Re: [LMDE 3] Wifi disconects after a few minutes, Network Manager stops working

Post by HAWR »

Hello rkjbt,
One fix I've tried which seemed to have marginal success (longer period of connection) is installing the rtl8821ce driver
That is not a fix, because your laptop has no device for that Realtek rtl8821ce driver. You should remove it. You have an Intel wifi card, for which the kernel module iwlwifi is the driver:
Device-2: Intel driver: iwlwifi v: kernel port: 3000 bus ID: 02:00.0
IF: wlo1 state: up mac: <filter>
Can you please post the output of the following command, so that we get more information, what Intel card is built in:

Code: Select all

lspci -nnk | grep -i net -A2
rkjbt

Re: [LMDE 3] Wifi disconects after a few minutes, Network Manager stops working

Post by rkjbt »

Code: Select all

lspci -nnk | grep -i net -A2
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:832a]
Kernel driver in use: r8168
Kernel modules: r8168
02:00.0 Network controller [0280]: Intel Corporation Device [8086:24fb] (rev 10)
Subsystem: Intel Corporation Device [8086:2110]
Kernel driver in use: iwlwifi[/quote
HAWR
Level 9
Level 9
Posts: 2713
Joined: Thu Jun 06, 2019 1:15 pm

Re: [LMDE 3] Wifi disconects after a few minutes, Network Manager stops working

Post by HAWR »

Hello rkjbt,

thank you for the output. You have a Intel Dual Band Wireless-AC 3168NGW [Stone Peak] (PCI ID 8086:24fb). Before we search in other directions, I don't know, if you have the most recent firmware (from July 2019) installed. Can you please check in the file manager under /lib/firmware for the file iwlwifi-3168-29.ucode?

https://packages.debian.org/bullseye/firmware-iwlwifi
rkjbt

Re: [LMDE 3] Wifi disconects after a few minutes, Network Manager stops working

Post by rkjbt »

I just checked and these are the only two iwlwifi-3168 files present. I assume my firmware is out of date?

iwlwifi-3168-21.ucode
iwlwifi-3168-22.ucode
HAWR
Level 9
Level 9
Posts: 2713
Joined: Thu Jun 06, 2019 1:15 pm

Re: [LMDE 3] Wifi disconects after a few minutes, Network Manager stops working

Post by HAWR »

Hello rkjbt,

the -29.ucode is the most recent file. You can download the deb package, install it by double-clicking and then reboot to see, if the new iwlwifi firmware helps to solve your issues.

https://packages.debian.org/en/bullseye ... i/download
User avatar
trytip
Level 14
Level 14
Posts: 5366
Joined: Tue Jul 05, 2016 1:20 pm

Re: [LMDE 3] Wifi disconects after a few minutes, Network Manager stops working

Post by trytip »

rkjbt wrote: Mon Dec 23, 2019 2:35 pm I just checked and these are the only two iwlwifi-3168 files present. I assume my firmware is out of date?

iwlwifi-3168-21.ucode
iwlwifi-3168-22.ucode
a new firmware pack was just released. i should not have to say create timeshift snap to restore if things are bad https://git.kernel.org/pub/scm/linux/ke ... mware.git/
extract it and copy over /lib/firmware then in Terminal sudo update-initramfs -u -k all after which reboot
Image
HAWR
Level 9
Level 9
Posts: 2713
Joined: Thu Jun 06, 2019 1:15 pm

Re: [LMDE 3] Wifi disconects after a few minutes, Network Manager stops working

Post by HAWR »

Hello trytip,

I'm sorry, but you haven't read the whole thread, otherwise you wouldn't have written your post. :wink:
rkjbt

Re: [LMDE 3] Wifi disconects after a few minutes, Network Manager stops working

Post by rkjbt »

in my /lib/firmware I now have iwlwifi-3168-29.ucode, I removed iwlwifi-3168-22.ucode. prior to removing .22 I was experiencing the same issues as before. Sporadic disconnections only solved by rebooting, sometimes multiple times. I will keep trying and see if removing .22 makes a difference.
Locked

Return to “Networking”