View previous topic :: View next topic |
Author |
Message |
DeIM Guru
Joined: 11 Apr 2006 Posts: 442
|
Posted: Tue Nov 21, 2023 10:13 am Post subject: [Solved] wpa_supplicant or iwd disconnects from AP reason 4 |
|
|
After upgrade to kernel 6.6.x I noticed often disconnection from home wifi AP (Mikrotil 2,4 GHz 40 HT).
Mobile phones wifi connections seem OK.
I have 2 similar laptops - Acer TM 115 and 116.
I use NetworkManager with wpa_supplicant. I tried on one laptop change wpa_supplicant to iwd but it makes the same problem.
Code: | # LC_ALL=C systemctl status iwd
* iwd.service - Wireless service
Loaded: loaded (/lib/systemd/system/iwd.service; disabled; preset: disabled)
Active: active (running) since Tue 2023-11-21 10:08:13 CET; 58min ago
Docs: man:iwd(8)
man:iwd.config(5)
man:iwd.network(5)
man:iwd.ap(5)
Main PID: 499 (iwd)
Tasks: 1 (limit: 9425)
Memory: 2.2M
CPU: 1.882s
CGroup: /system.slice/iwd.service
`-499 /usr/libexec/iwd
Nov 21 10:51:39 hope iwd[499]: Received Deauthentication event, reason: 4, from_ap: false
Nov 21 10:53:36 hope iwd[499]: Received Deauthentication event, reason: 4, from_ap: false
Nov 21 10:53:39 hope iwd[499]: Received Deauthentication event, reason: 4, from_ap: false
Nov 21 10:53:39 hope iwd[499]: Received Deauthentication event, reason: 4, from_ap: false
Nov 21 10:53:39 hope iwd[499]: Received Deauthentication event, reason: 4, from_ap: false
Nov 21 10:53:42 hope iwd[499]: Received Deauthentication event, reason: 4, from_ap: false
Nov 21 10:53:42 hope iwd[499]: Received Deauthentication event, reason: 4, from_ap: false
Nov 21 10:53:42 hope iwd[499]: Received Deauthentication event, reason: 4, from_ap: false
Nov 21 10:53:45 hope iwd[499]: Received Deauthentication event, reason: 4, from_ap: false
Nov 21 10:53:46 hope iwd[499]: Received Deauthentication event, reason: 4, from_ap: false |
I use on both BORE ( https://github.com/firelzrd/bore-scheduler ) patched gentoo-sources with experimental use flag and native cpu set compiled with LTO by clang.
Change is only new kernel and BORE patch.
Last edited by DeIM on Tue Nov 28, 2023 7:33 am; edited 1 time in total |
|
Back to top |
|
|
DeIM Guru
Joined: 11 Apr 2006 Posts: 442
|
Posted: Sat Nov 25, 2023 10:57 am Post subject: |
|
|
Just updated RouterOS on AP from 6.x.x line to 7.12.1. 20 mins uninterrupted since update. Will test... |
|
Back to top |
|
|
DeIM Guru
Joined: 11 Apr 2006 Posts: 442
|
Posted: Sat Nov 25, 2023 11:23 am Post subject: |
|
|
~35 mins and then reason 4 again.
Laptop has combined bt and WiFi. When disconnection occurs I have connected mobile to bt and playing audio it interrupts.
I'll try to disable Bluetooth completely. if it will disconnect also. |
|
Back to top |
|
|
DeIM Guru
Joined: 11 Apr 2006 Posts: 442
|
Posted: Sat Nov 25, 2023 1:12 pm Post subject: |
|
|
Found in DHCP server expired instead of countdown value for devices. I've tried to set DHCP timeout to 2 days. Now I'm almost 2 hours without disconnection. |
|
Back to top |
|
|
DeIM Guru
Joined: 11 Apr 2006 Posts: 442
|
Posted: Tue Nov 28, 2023 7:33 am Post subject: |
|
|
OK seem solved - problem IMO was with combination:
Channel Width: 20/40MHz XX
Frequency: 2412
Solution:
Set Frequency to auto |
|
Back to top |
|
|
DeIM Guru
Joined: 11 Apr 2006 Posts: 442
|
Posted: Thu Nov 30, 2023 2:48 pm Post subject: |
|
|
Not solution at all as 20/40MHz XX auto-selected 2412 problem returned.
Solution is to select another channel as fixed in my case 2452 |
|
Back to top |
|
|
|