Authorization supplicant timed out error / Connection gets lost and reconnects again

Hello,

i have some WiFi problems with my PC since im using Manjaro. First i was using the build in Intel Centrino Wireless-N 2230 WiFi Card. But i had a terrible download rate after some minutes of use, the related thread can be found here: WiFi suddenly gets slow / after reconnect its fast again

So i decided to buy an USB WiFi adapter and disable the Intel Card, but after some browsing my connection disconnects, then reconnects and the message Authorization supplicant timed out error appears. It happens randomly, i cant reproduce it.

Ok some facts:

System Kernel:

uname -a                                                                                       
Linux esprimo-q510 5.15.12-1-MANJARO #1 SMP PREEMPT Wed Dec 29 18:08:07 UTC 2021 x86_64 GNU/Linux

USB WiFi Card:

lsusb:          
Bus 002 Device 003: ID 0bda:b812 Realtek Semiconductor Corp. RTL88x2bu [AC1200 Techkey]

iwconfig:

wlp0s29u1u1  IEEE 802.11AC  ESSID:"MYSSID"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:5.22 GHz  Access Point: F8:2F:65:5D:35:AC   
          Bit Rate:867 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=98/100  Signal level=-53 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Manual i used to install the driver for the 8812BU Chipset (its the chipset of the USB dongle):

Translated into English :innocent: :https://translate.google.de/?sl=de&tl=en&text=https%3A%2F%2Falexhaack.de%2Ftreiber-fuer-wlan-adapter-installieren-rtl88x2bu-windows-linux-macos.html%23Folgende_Komponenten_mussen_installiert_sein&op=translate

I found something simmilar here on manjaro forums, but i have no hidden ssid:

inxi:

System:
  Kernel: 5.15.12-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: FUJITSU product: ESPRIMO Q510 v: N/A
    serial: <superuser required> Chassis: type: 16 serial: <superuser required>
  Mobo: FUJITSU model: D3173-A1 v: S26361-D3173-A1
    serial: <superuser required> UEFI: FUJITSU // American Megatrends
    v: 4.6.5.3 R1.23.0 for D3173-A1x date: 01/17/2013
CPU:
  Info: dual core model: Intel Celeron G540T bits: 64 type: MCP
    smt: <unsupported> arch: Sandy Bridge rev: 7 cache: L1: 128 KiB L2: 512 KiB
    L3: 2 MiB
  Speed (MHz): avg: 1600 high: 1602 min/max: 1600/2100 cores: 1: 1598
    2: 1602 bogomips: 8384
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: Fujitsu Solutions driver: i915 v: kernel bus-ID: 00:02.0
    chip-ID: 8086:0102 class-ID: 0300
  Display: x11 server: X.Org 1.21.1.2 compositor: kwin_x11 driver:
    loaded: modesetting alternate: fbdev,vesa resolution: 1920x1080~60Hz
    s-dpi: 96
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    vendor: Fujitsu Solutions driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:1c20 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.12-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.42 running: yes
Network:
  Device-1: Intel 82579V Gigabit Network vendor: Fujitsu Solutions
    driver: e1000e v: kernel port: f080 bus-ID: 00:19.0 chip-ID: 8086:1503
    class-ID: 0200
  IF: enp0s25 state: down mac: <filter>
  Device-2: Intel Centrino Wireless-N 2230 driver: N/A bus-ID: 02:00.0
    chip-ID: 8086:0887 class-ID: 0280
  Device-3: Realtek RTL88x2bu [AC1200 Techkey] type: USB driver: rtl88x2bu
    bus-ID: 2-1.1:3 chip-ID: 0bda:b812 class-ID: 0000 serial: <filter>
  IF: wlp0s29u1u1 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Centrino Bluetooth Wireless Transceiver type: USB
    driver: btusb v: 0.8 bus-ID: 1-1.1:3 chip-ID: 8087:07da class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 167.68 GiB used: 15.08 GiB (9.0%)
  ID-1: /dev/sda vendor: Intel model: SSDSC2CT180A3 size: 167.68 GiB
    speed: 3.0 Gb/s type: SSD serial: <filter> rev: 300i scheme: GPT
Partition:
  ID-1: / size: 167.38 GiB used: 15.08 GiB (9.0%) fs: btrfs dev: /dev/dm-0
    mapped: luks-2043888e-2ef0-4217-94e2-b6bcb742f3c4
  ID-2: /boot/efi size: 299.4 MiB used: 712 KiB (0.2%) fs: vfat
    dev: /dev/sda1
  ID-3: /home size: 167.38 GiB used: 15.08 GiB (9.0%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-2043888e-2ef0-4217-94e2-b6bcb742f3c4
  ID-4: /var/log size: 167.38 GiB used: 15.08 GiB (9.0%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-2043888e-2ef0-4217-94e2-b6bcb742f3c4
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 61.0 C mobo: 27.8 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 232 Uptime: 1h 40m wakeups: 0 Memory: 7.22 GiB
  used: 3.2 GiB (44.3%) Init: systemd v: 250 Compilers: gcc: 11.1.0
  clang: 13.0.0 Packages: 1299 pacman: 1275 flatpak: 10 snap: 14 Shell: Zsh
  v: 5.8 default: Bash v: 5.1.12 running-in: konsole inxi: 3.3.11

I disabled the internal intel wifi card by blacklisting iwlwifi module:

cd /etc/modprobe.d
sudo touch blacklist.conf
sudo nano blacklist.conf
blacklist iwlwifi 

And set the Region to Germany

sudo iw reg get
sudo iw reg set DE

cd /etc/conf.d
sudo nano wireless-regdom
=> removed the # in front of WIRELESS_REGDOM="DE" and saved it.

And now im out of knowledge what causes this issue. Does anybody have an idea?

a few things:

Have you verified that this actually worked?
Because the syntax is incorrect - there should not be any quotation marks in there.
The content of that file should now be this:

blacklist iwlwifi

test with:
cat /etc/modprobe.d/blacklist.conf

again, to check what is now not commented out in that file, use:
grep -v ^# /etc/conf.d/wireless-regdom

it should return:
WIRELESS_REGDOM="DE"

But that setting is really not important.

Lets actually see whether what @cscs recommended was actually implemented and whether it is still there or not:
cat /etc/modprobe.d/iwlwifi.conf
cat /etc/modprobe.d/iwlmvm.conf
just to make sure there where no syntax errors (see above - no quotation marks)

comment out
/etc/modprobe.d/blacklist.conf
by putting a # mark in front of the line to again test it
… else the module will not even get loaded

Hi thank you for your answer.

My blacklist.conf is correct, the quotation marks are copied from my internal documentation, but the file i’ve set is correct.

cat /etc/modprobe.d/blacklist.conf

blacklist iwlwifi

My region set should be correct aswell:

   ~  sudo iw reg get                                                                              
global
country DE: DFS-ETSI
        (2400 - 2483 @ 40), (N/A, 20), (N/A)
        (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
        (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
        (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
        (5725 - 5875 @ 80), (N/A, 13), (N/A)
        (5945 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

I have no iwlwifi or iwlmvm.conf file in this directory /etc/modprobe.d/, but out of my understanding i dont need them, because i disabled iwlwifi module?

I was referring to your other post,
where you where given the recommendation to create these files
as they activate certain options within the iwlwifi driver that might be helping to mitigate your problem with your built in card.

It wasn’t very clear to me that that was thoroughly tested.
But it probably was - and now you have the very same symptoms with a different wifi device.

I’d check for any power saving software and disable it entirely (temporarily, for testing purposes).

tlp came preinstalled and activated in some, if not all, Manjaro editions - but it is not always correctly configured and can cause symptoms like this.

systemctl status tlp
if it’s running - stop and disable it … for now

or at least re-check the configuration to make sure that USB devices and network related hardware are excluded from power saving measures

That would be my next step before blaming and trying to find fault in the new wifi driver.

I filtered logfile to errors and other system messages and this is what i get:

sudo dmesg --level emerg,alert,crit,err,warn                                                    ✔ 
[    0.142947] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.317053] efifb: Ignoring BGRT: unexpected or invalid BMP data
[    7.753312] ipmi_si: Unable to find any System Interface(s)
[    9.106039] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20210730/utaddress-204)
[    9.106054] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20210730/utaddress-204)
[    9.106060] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20210730/utaddress-204)
[    9.106066] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20210730/utaddress-204)
[    9.106070] lpc_ich: Resource conflict(s) found affecting gpio_ich
[   10.384927] at24 0-0050: supply vcc not found, using dummy regulator
[   13.413299] kauditd_printk_skb: 85 callbacks suppressed
[   15.080910] 88x2bu: loading out-of-tree module taints kernel.
[   17.277017] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[   19.827114] kauditd_printk_skb: 20 callbacks suppressed
[   23.516982] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[   28.621335] kauditd_printk_skb: 2 callbacks suppressed
[  344.387418] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[  364.643782] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[  374.665709] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)

=> 88x2bu: loading out-of-tree module taints kernel. Is this relevant? After i exported this logfile i already had such an timeout error.

no
It’s just a message about the license of that module being incompatible with the GPL (the license of the kernel)
it’s not about functionality
… you could google the term “loading out-of-tree module taints kernel” to learn what it means …
I don’t quite get why you posted this log - and why you chose to filter it like you did.

What about tlp?
Has it made any difference?

Ok thank you. I posted this log to be sure, that there are no errors in hardware or kernel. And its part of the “[[HowTo] Provide System Information]” thread. So i thought its helpful.

I disabled usb autosuspend in tlp with

/etc/tlp.conf
# Do not suspend USB devices
USB_AUTOSUSPEND=0

now im waiting if the problem still persists.

//EDIT: Problem is still there as feared

information gathering
next up is NetworkManager
and it’s configuration
Do you use it?
I have had similar problems myself with some routers at some places.

have a terminal open and in it run:
journalctl -f
to observe the messages as your issue occurs

also try using
sudo dmesg -w
in the same way - it seems to be more verbose

Of course all that is already in the logs, but may be hard to find.
journalctl -b0 | grep NetworkManager
to find the timestamps around which to look
then look at it at around that time without the filter
journalctl -b0

-b0 is the current boot - use a number to refer to previous boots

Thank you, i installed Kubuntu for testing purposes to be sure, that this problem has nothing to do with Manjaro / Arch Linux. On Debian (Kubuntu) i have the same problem with these disonnections.

I was able to save a Log when the disconnect happened. But i dont get whats happened there? I fear its a driver problem, isnt it?

wlxe84e069973f8 is the WiFi adapter

20.01.22 09:18	NetworkManager	<info>  [1642666689.9559] device (wlxe84e069973f8): supplicant interface state: completed -> disconnected
20.01.22 09:18	NetworkManager	<info>  [1642666689.9559] device (p2p-dev-wlxe84e069973f8): supplicant management interface state: completed -> disconnected
20.01.22 09:18	kernel	start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
20.01.22 09:18	NetworkManager	<info>  [1642666691.1124] device (wlxe84e069973f8): supplicant interface state: disconnected -> scanning
20.01.22 09:18	NetworkManager	<info>  [1642666691.1124] device (p2p-dev-wlxe84e069973f8): supplicant management interface state: disconnected -> scanning
20.01.22 09:18	wpa_supplicant	wlxe84e069973f8: Trying to associate with f8:2f:65:5d:35:ac (SSID='Ben's Black' freq=5220 MHz)
20.01.22 09:18	wpa_supplicant	nl80211: kernel reports: Authentication algorithm number required
20.01.22 09:18	NetworkManager	<info>  [1642666695.9144] device (wlxe84e069973f8): supplicant interface state: scanning -> associating
20.01.22 09:18	NetworkManager	<info>  [1642666695.9156] device (p2p-dev-wlxe84e069973f8): supplicant management interface state: scanning -> associating
20.01.22 09:18	wpa_supplicant	wlxe84e069973f8: CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5220 ht_enabled=1 ch_offset=1 ch_width=80 MHz cf1=5210 cf2=0
20.01.22 09:18	wpa_supplicant	wlxe84e069973f8: Associated with f8:2f:65:5d:35:ac
20.01.22 09:18	wpa_supplicant	wlxe84e069973f8: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
20.01.22 09:18	NetworkManager	<info>  [1642666696.0799] device (wlxe84e069973f8): supplicant interface state: associating -> associated
20.01.22 09:18	NetworkManager	<info>  [1642666696.0799] device (p2p-dev-wlxe84e069973f8): supplicant management interface state: associating -> associated
20.01.22 09:18	NetworkManager	<warn>  [1642666705.4001] device (wlxe84e069973f8): link timed out.
20.01.22 09:18	NetworkManager	<info>  [1642666705.4003] device (wlxe84e069973f8): state change: activated -> failed (reason 'supplicant-timeout', sys-iface-state: 'managed')
20.01.22 09:18	NetworkManager	<info>  [1642666705.4007] manager: NetworkManager state is now DISCONNECTED
20.01.22 09:18	NetworkManager	<warn>  [1642666705.4012] device (wlxe84e069973f8): Activation: failed for connection 'Ben's Black'
20.01.22 09:18	NetworkManager	<info>  [1642666705.4029] device (wlxe84e069973f8): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
20.01.22 09:18	whoopsie	[09:18:25] offline
20.01.22 09:18	whoopsie	[09:18:25] Cannot reach: https://daisy.ubuntu.com
20.01.22 09:18	avahi-daemon	Withdrawing address record for fdf8:2f65:5d35:9f00:5b98:b517:b98d:3a18 on wlxe84e069973f8.
20.01.22 09:18	avahi-daemon	Withdrawing address record for fdf8:2f65:5d35:9f00:ea4e:6ff:fe99:73f8 on wlxe84e069973f8.
20.01.22 09:18	avahi-daemon	Leaving mDNS multicast group on interface wlxe84e069973f8.IPv6 with address fdf8:2f65:5d35:9f00:ea4e:6ff:fe99:73f8.
20.01.22 09:18	avahi-daemon	Joining mDNS multicast group on interface wlxe84e069973f8.IPv6 with address fe80::ea4e:6ff:fe99:73f8.
20.01.22 09:18	avahi-daemon	Registering new address record for fe80::ea4e:6ff:fe99:73f8 on wlxe84e069973f8.*.
20.01.22 09:18	avahi-daemon	Withdrawing address record for fe80::ea4e:6ff:fe99:73f8 on wlxe84e069973f8.
20.01.22 09:18	avahi-daemon	Leaving mDNS multicast group on interface wlxe84e069973f8.IPv6 with address fe80::ea4e:6ff:fe99:73f8.
20.01.22 09:18	avahi-daemon	Interface wlxe84e069973f8.IPv6 no longer relevant for mDNS.
20.01.22 09:18	dbus-daemon	[system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.11' (uid=0 pid=746 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
20.01.22 09:18	systemd	Starting Network Manager Script Dispatcher Service...
20.01.22 09:18	NetworkManager	<info>  [1642666705.4241] dhcp4 (wlxe84e069973f8): canceled DHCP transaction
20.01.22 09:18	NetworkManager	<info>  [1642666705.4242] dhcp4 (wlxe84e069973f8): state changed bound -> terminated
20.01.22 09:18	avahi-daemon	Withdrawing address record for 192.168.100.26 on wlxe84e069973f8.
20.01.22 09:18	avahi-daemon	Leaving mDNS multicast group on interface wlxe84e069973f8.IPv4 with address 192.168.100.26.
20.01.22 09:18	avahi-daemon	Interface wlxe84e069973f8.IPv4 no longer relevant for mDNS.
20.01.22 09:18	wpa_supplicant	wlxe84e069973f8: CTRL-EVENT-DISCONNECTED bssid=f8:2f:65:5d:35:ac reason=3 locally_generated=1
20.01.22 09:18	wpa_supplicant	wlp2s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
20.01.22 09:18	systemd-resolved	wlxe84e069973f8: Bus client reset search domain list.
20.01.22 09:18	NetworkManager	<info>  [1642666705.4470] device (wlxe84e069973f8): supplicant interface state: associated -> disconnected
20.01.22 09:18	NetworkManager	<info>  [1642666705.4470] device (p2p-dev-wlxe84e069973f8): supplicant management interface state: associated -> disconnected
20.01.22 09:18	systemd-resolved	wlxe84e069973f8: Bus client set default route setting: no
20.01.22 09:18	dbus-daemon	[system] Successfully activated service 'org.freedesktop.nm_dispatcher'
20.01.22 09:18	systemd	Started Network Manager Script Dispatcher Service.
20.01.22 09:18	systemd-resolved	wlxe84e069973f8: Bus client reset DNS server list.
20.01.22 09:18	systemd	Started KSystemLog - Systemprotokoll-Betrachter.
20.01.22 09:18	PackageKit	get-updates transaction /339_baacedee from uid 1000 finished with success after 926ms
20.01.22 09:18	NetworkManager	<info>  [1642666709.7993] policy: auto-activating connection 'Ben's Black' (9664c719-8d68-4f4d-ac70-10a02ed8870b)
20.01.22 09:18	NetworkManager	<info>  [1642666709.8000] device (wlxe84e069973f8): Activation: starting connection 'Ben's Black' (9664c719-8d68-4f4d-ac70-10a02ed8870b)
20.01.22 09:18	NetworkManager	<info>  [1642666709.8041] device (wlxe84e069973f8): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
20.01.22 09:18	NetworkManager	<info>  [1642666709.8045] manager: NetworkManager state is now CONNECTING
20.01.22 09:18	NetworkManager	<info>  [1642666709.8048] device (wlxe84e069973f8): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
20.01.22 09:18	NetworkManager	<info>  [1642666709.8052] device (wlxe84e069973f8): Activation: (wifi) access point 'Ben's Black' has security, but secrets are required.
20.01.22 09:18	NetworkManager	<info>  [1642666709.8052] device (wlxe84e069973f8): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
20.01.22 09:18	NetworkManager	<info>  [1642666709.8054] sup-iface[0b939fd42cd1aa65,1,wlxe84e069973f8]: wps: type pbc start...
20.01.22 09:18	wpa_supplicant	wlxe84e069973f8: WPS-PBC-ACTIVE
20.01.22 09:18	NetworkManager	<info>  [1642666709.8471] device (wlxe84e069973f8): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
20.01.22 09:18	NetworkManager	<info>  [1642666709.8488] device (wlxe84e069973f8): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
20.01.22 09:18	NetworkManager	<info>  [1642666709.8506] device (wlxe84e069973f8): Activation: (wifi) connection 'Ben's Black' has security, and secrets exist.  No new secrets needed.
20.01.22 09:18	kernel	start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
20.01.22 09:18	NetworkManager	<info>  [1642666710.9345] Config: added 'ssid' value 'Ben's Black'
20.01.22 09:18	NetworkManager	<info>  [1642666710.9346] Config: added 'scan_ssid' value '1'
20.01.22 09:18	NetworkManager	<info>  [1642666710.9346] Config: added 'bgscan' value 'simple:30:-70:86400'
20.01.22 09:18	NetworkManager	<info>  [1642666710.9347] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK'
20.01.22 09:18	NetworkManager	<info>  [1642666710.9347] Config: added 'psk' value '<hidden>'
20.01.22 09:18	NetworkManager	<info>  [1642666710.9387] device (wlxe84e069973f8): supplicant interface state: disconnected -> scanning
20.01.22 09:18	NetworkManager	<info>  [1642666710.9388] device (p2p-dev-wlxe84e069973f8): supplicant management interface state: disconnected -> scanning
20.01.22 09:18	sudo	benjamin : TTY=pts/2 ; PWD=/home/benjamin ; USER=root ; COMMAND=/usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu_stub -
20.01.22 09:18	sudo	pam_unix(sudo:session): session opened for user root by (uid=1000)
20.01.22 09:18	sudo	pam_unix(sudo:session): session closed for user root
20.01.22 09:18	sudo	benjamin : TTY=pts/2 ; PWD=/home/benjamin ; USER=root ; COMMAND=/usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu_stub -
20.01.22 09:18	sudo	pam_unix(sudo:session): session opened for user root by (uid=1000)
20.01.22 09:18	dbus-daemon	[session uid=0 pid=8716] AppArmor D-Bus mediation is enabled
20.01.22 09:18	wpa_supplicant	wlxe84e069973f8: Trying to associate with f8:2f:65:5d:35:ac (SSID='Ben's Black' freq=5220 MHz)
20.01.22 09:18	wpa_supplicant	nl80211: kernel reports: Authentication algorithm number required
20.01.22 09:18	NetworkManager	<info>  [1642666711.5761] device (wlxe84e069973f8): supplicant interface state: scanning -> associating
20.01.22 09:18	NetworkManager	<info>  [1642666711.5762] device (p2p-dev-wlxe84e069973f8): supplicant management interface state: scanning -> associating
20.01.22 09:18	wpa_supplicant	wlxe84e069973f8: CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5220 ht_enabled=1 ch_offset=1 ch_width=80 MHz cf1=5210 cf2=0
20.01.22 09:18	wpa_supplicant	wlxe84e069973f8: Associated with f8:2f:65:5d:35:ac
20.01.22 09:18	wpa_supplicant	wlxe84e069973f8: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
20.01.22 09:18	NetworkManager	<info>  [1642666711.7504] device (wlxe84e069973f8): supplicant interface state: associating -> 4way_handshake
20.01.22 09:18	NetworkManager	<info>  [1642666711.7505] device (p2p-dev-wlxe84e069973f8): supplicant management interface state: associating -> 4way_handshake
20.01.22 09:18	wpa_supplicant	wlxe84e069973f8: WPA: Key negotiation completed with f8:2f:65:5d:35:ac [PTK=CCMP GTK=CCMP]
20.01.22 09:18	wpa_supplicant	wlxe84e069973f8: CTRL-EVENT-CONNECTED - Connection to f8:2f:65:5d:35:ac completed [id=0 id_str=]
20.01.22 09:18	wpa_supplicant	bgscan simple: Failed to enable signal strength monitoring
20.01.22 09:18	kernel	IPv6: ADDRCONF(NETDEV_CHANGE): wlxe84e069973f8: link becomes ready
20.01.22 09:18	NetworkManager	<info>  [1642666711.7589] device (wlxe84e069973f8): supplicant interface state: 4way_handshake -> completed
20.01.22 09:18	NetworkManager	<info>  [1642666711.7589] device (wlxe84e069973f8): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "Ben's Black"
20.01.22 09:18	NetworkManager	<info>  [1642666711.7590] device (p2p-dev-wlxe84e069973f8): supplicant management interface state: 4way_handshake -> completed
20.01.22 09:18	NetworkManager	<info>  [1642666711.7591] device (wlxe84e069973f8): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
20.01.22 09:18	NetworkManager	<info>  [1642666711.7595] dhcp4 (wlxe84e069973f8): activation: beginning transaction (timeout in 45 seconds)
20.01.22 09:18	NetworkManager	<info>  [1642666711.7784] dhcp4 (wlxe84e069973f8): state changed unknown -> bound, address=192.168.100.26
20.01.22 09:18	NetworkManager	<info>  [1642666711.7799] device (wlxe84e069973f8): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
20.01.22 09:18	avahi-daemon	Joining mDNS multicast group on interface wlxe84e069973f8.IPv4 with address 192.168.100.26.
20.01.22 09:18	avahi-daemon	New relevant interface wlxe84e069973f8.IPv4 for mDNS.
20.01.22 09:18	avahi-daemon	Registering new address record for 192.168.100.26 on wlxe84e069973f8.IPv4.
20.01.22 09:18	whoopsie	[09:18:31] Cannot reach: https://daisy.ubuntu.com
20.01.22 09:18	NetworkManager	<info>  [1642666711.7892] device (wlxe84e069973f8): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
20.01.22 09:18	NetworkManager	<info>  [1642666711.7898] device (wlxe84e069973f8): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
20.01.22 09:18	NetworkManager	<info>  [1642666711.7924] manager: NetworkManager state is now CONNECTED_LOCAL
20.01.22 09:18	NetworkManager	<info>  [1642666711.7939] manager: NetworkManager state is now CONNECTED_SITE
20.01.22 09:18	NetworkManager	<info>  [1642666711.7951] policy: set 'Ben's Black' (wlxe84e069973f8) as default for IPv4 routing and DNS
20.01.22 09:18	NetworkManager	<info>  [1642666711.7984] device (wlxe84e069973f8): Activation: successful, device activated.
20.01.22 09:18	NetworkManager	<info>  [1642666711.8015] manager: NetworkManager state is now CONNECTED_GLOBAL
20.01.22 09:18	systemd-resolved	wlxe84e069973f8: Bus client set search domain list to: router
20.01.22 09:18	systemd-resolved	wlxe84e069973f8: Bus client set default route setting: yes
20.01.22 09:18	systemd-resolved	wlxe84e069973f8: Bus client set DNS server list to: 192.168.100.1
20.01.22 09:18	whoopsie	[09:18:31] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/2
20.01.22 09:18	whoopsie	[09:18:31] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/2
20.01.22 09:18	whoopsie	[09:18:31] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/2
20.01.22 09:18	avahi-daemon	Joining mDNS multicast group on interface wlxe84e069973f8.IPv6 with address fe80::ea4e:6ff:fe99:73f8.
20.01.22 09:18	avahi-daemon	New relevant interface wlxe84e069973f8.IPv6 for mDNS.
20.01.22 09:18	avahi-daemon	Registering new address record for fe80::ea4e:6ff:fe99:73f8 on wlxe84e069973f8.*.
20.01.22 09:18	PackageKit	get-updates transaction /340_baccadea from uid 1000 finished with success after 1091ms
20.01.22 09:18	NetworkManager	<info>  [1642666713.7169] policy: set 'Ben's Black' (wlxe84e069973f8) as default for IPv6 routing and DNS
20.01.22 09:18	whoopsie	[09:18:34] online
20.01.22 09:18	avahi-daemon	Leaving mDNS multicast group on interface wlxe84e069973f8.IPv6 with address fe80::ea4e:6ff:fe99:73f8.
20.01.22 09:18	avahi-daemon	Joining mDNS multicast group on interface wlxe84e069973f8.IPv6 with address fdf8:2f65:5d35:9f00:f5a7:434c:b8e8:c019.
20.01.22 09:18	avahi-daemon	Registering new address record for fdf8:2f65:5d35:9f00:f5a7:434c:b8e8:c019 on wlxe84e069973f8.*.
20.01.22 09:18	avahi-daemon	Withdrawing address record for fe80::ea4e:6ff:fe99:73f8 on wlxe84e069973f8.
20.01.22 09:18	avahi-daemon	Registering new address record for fdf8:2f65:5d35:9f00:ea4e:6ff:fe99:73f8 on wlxe84e069973f8.*.

I don’t think it’s a driver issue.

I had problems like this with one network at a place I was staying at.
It prompted me to read up on NetworkManager and it’s various default options.

What I have got now in /etc/NetworkManager/NetworkManager.conf is this:

# Configuration file for NetworkManager.
# See "man 5 NetworkManager.conf" for details.

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

[connection]
# wifi.cloned-mac-address=preserve
wifi.cloned-mac-address=permanent

Basically, I disabled the default behaviour of scanning with an ever changing (fake) MAC address
in favour of using always the same.
Some Routers seem to not like this and I don’t care whether I can be identified my my MAC address …

This has made my connection there stable - where before it would take ages to connect and even longer after the connection dropped for some reason.

This setting should be partially available via the GUI
It’s in the Wi-Fi tab (cloned MAC address) of nm-connection-editor

I also disabled IPv6 since I don’t need it and to exclude another layer of possible reasons for problems.

1 Like

I disabled ipv6 in KDE connection settings and set, that my SSID is only restricted to connect with the wlxe84e069973f8 adapter. ( the onboard intel card is still running but not connected)
I dont know how its called in english, i think "restrict on device or similar.

Also i added the option

[connection]
# wifi.cloned-mac-address=preserve
wifi.cloned-mac-address=permanent

to my NetworkManager.conf file. The device entry was already there.

It was? I thought I at least changed it from yes to no …

I do not use KDE, but Xfce - but the Network config should be the same since both use NetworkManager.

I do not quite know what that means.
You can restrict the scan to a specific MAC (that of your router you want to connect to)

We are not supposed to write in german in an english forum - but you could … :wink:
(I thought I saw something hinting at this in the log …)

In addition I just saw that you seem to use systemd-resolved for a DNS resolver
(not entirely sure)
I use dnsmasq myself, because it provides caching and is therefore faster (for me).
Here are the relevant items in the Arch wiki:

NetworkManager - ArchWiki

NetworkManager - ArchWiki

(the links look the same - but go to different places in the main article)

The onboard device is there again, because of my (Kubuntu) reinstallation. To disable it didnt solved my issue, these devices are not affecting each other so i leave it enabled for now.

My current settings:

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

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

[connection]
wifi.cloned-mac-address=permanent

Thense are my current N Manager settings:



I will take a look into dnsmasq, thank you for this. :slight_smile: I will test if my connection is running now with the new NetWorkmanager.conf settings. I will keep you informed :wink:

Sorry for late response but the problem still persists.

I think its the driver, because the 2,4 Ghz wifi has a stable connection. The wifi i tried to get a stable connection is 5 Ghz :confused: