Can't connect to any wifi (but all of them are detected / wired works / fresh install)

Hi, I recently installed Manjaro (dualboot with Windows 11 on the same SSD, in separate partitions). Unfortunately, there was a problem with wifi (wired works). It searches for all networks, but does not connect to them.

  • ManjaroLinux 22.0 Sikaris
  • kernel: linux61
Drivers
> 0000:03:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:01:00.0 (0300:10de:2560) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.11.04               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.11.04               false            PCI
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:05:00.0 (0300:1002:1638) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.11.04               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


Global Information
System:
  Kernel: 6.1.1-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=e51bf650-4d11-4461-b280-f49b6c20c42c rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: GNOME v: 43.2 tk: GTK v: 3.24.36 wm: gnome-shell dm: GDM v: 43.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82JU v: Legion 5 15ACH6H
    serial: <superuser required> Chassis: type: 10 v: Legion 5 15ACH6H
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
    serial: <superuser required> UEFI: LENOVO v: GKCN54WW date: 05/05/2022
Battery:
  ID-1: BAT0 charge: 55.2 Wh (100.0%) condition: 55.2/60.0 Wh (92.1%)
    volts: 17.2 min: 15.4 model: Celxpert L20C4PC0 type: Li-poly serial: <filter>
    status: full cycles: 440
  Device-1: hidpp_battery_0 model: Logitech Wireless Gaming Mouse
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
Memory:
  RAM: total: 13.51 GiB used: 2.94 GiB (21.8%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000C
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 1574 high: 3200 min/max: 1200/4462 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1200 2: 3200
    3: 1200 4: 1200 5: 1200 6: 1200 7: 1200 8: 3200 9: 1200 10: 1200 11: 1200
    12: 3200 13: 1198 14: 1200 15: 1200 16: 1200 bogomips: 102255
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
    pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
    svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl
    v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
    xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo
    driver: nouveau v: kernel non-free: 525.xx+ status: current (as of 2022-12)
    arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-22 pcie:
    speed: Unknown lanes: 63 link-max: gen: 6 speed: 64 GT/s ports:
    active: none empty: DP-1, DP-2, HDMI-A-1, eDP-1 bus-ID: 01:00.0
    chip-ID: 10de:2560 class-ID: 0300
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5.1 code: Vega-2
    process: TSMC n7 (7nm) built: 2018-21 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: eDP-2 empty: none
    bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 32.0 C
  Device-3: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:3
    chip-ID: 5986:2137 class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.6 with: Xwayland v: 22.1.7
    compositor: gnome-shell driver: gpu: amdgpu display-ID: 0
  Monitor-1: eDP-2 model: BOE Display 0x0998 built: 2020 res: 1920x1080
    dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: AMD Radeon Graphics (renoir LLVM
    14.0.6 DRM 3.49 6.1.1-1-MANJARO) direct render: Yes
Audio:
  Device-1: NVIDIA GA106 High Definition Audio driver: snd_hda_intel v: kernel
    pcie: speed: Unknown lanes: 63 link-max: gen: 6 speed: 64 GT/s
    bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
    snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir,
    snd_sof_amd_rembrandt pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound API: ALSA v: k6.1.1-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Lenovo driver: rtw89_8852ae v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:8852 class-ID: 0280
  IF: wlp4s0 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 3-4:2 chip-ID: 0bda:4852 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 953.87 GiB used: 17.11 GiB (1.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN730
    SDBPNTY-1T00-1101 size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 11170001 temp: 31.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 29.77 GiB size: 29.13 GiB (97.86%) used: 9.06 GiB (31.1%)
    fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7 label: N/A
    uuid: e51bf650-4d11-4461-b280-f49b6c20c42c
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 316 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A
    uuid: 31A0-97FD
  ID-3: /home raw-size: 82.11 GiB size: 80.27 GiB (97.75%)
    used: 8.05 GiB (10.0%) fs: ext4 dev: /dev/nvme0n1p8 maj-min: 259:8 label: N/A
    uuid: 92a82116-29b1-46d2-bd9a-bba16299aa91
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 15.62 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p6 maj-min: 259:6 label: N/A
    uuid: 9ef08227-cc19-4996-87d3-9ae017902b45
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 260 MiB fs: vfat label: SYSTEM_DRV
    uuid: 0654-F4DF
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 824.62 GiB fs: ntfs
    label: Windows-SSD uuid: 204C567E4C564EA2
  ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 1000 MiB fs: ntfs
    label: WINRE_DRV uuid: 9AC65715C656F0CD
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-2:2 info: Genesys Logic Hub ports: 3 rev: 2.1 speed: 480 Mb/s
    chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 1-2.1:4 info: Logitech Cordless Mouse Receiver type: Mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 98mA chip-ID: 046d:c537 class-ID: 0300
  Device-2: 1-3:3 info: Acer Integrated Camera type: Video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 5986:2137
    class-ID: 0e02
  Device-3: 1-4:5 info: Integrated Express ITE Device(8910) type: Keyboard
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 048d:c101 class-ID: 0301
  Hub-3: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-4: 2-2:2 info: Genesys Logic GL3523 Hub ports: 3 rev: 3.2 speed: 5 Gb/s
    chip-ID: 05e3:0620 class-ID: 0900
  Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-4:2 info: Realtek Bluetooth Radio type: Bluetooth driver: btusb
    interfaces: 2 rev: 1.0 speed: 12 Mb/s power: 500mA chip-ID: 0bda:4852
    class-ID: e001 serial: <filter>
  Hub-6: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 38.5 C mobo: N/A gpu: amdgpu temp: 33.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 338 Uptime: 36m wakeups: 284 Init: systemd v: 252
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6
  Packages: pm: pacman pkgs: 1212 libs: 311 tools: gnome-software,pamac
  pm: flatpak pkgs: 0 Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.24

Just network
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: 38:f3:ab:cd:58:57
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    driver: rtw89_8852ae
  IF: wlp4s0 state: down mac: f2:38:58:88:08:22

I’ve already tried this:

pamac install linux61-headers
pamac build rtw89-dkms-git 

But it ends up with black screen after reboot (it endlessly prints lines with audit, a few minutes later it gives flag “Failed to start Accounts Service”), so I had to reinstall Manjaro (twice).

I would appreciate tips on how to fix this without breaking the system and reinstalling again. Currently it is a fresh installation, I have not performed any steps on it from other advice from the forum.

No need for that.

FYI, that driver has been included in the kernel since 5.16 I believe. Notice it’s already installed? You may also need linux-firmware installed.

I’ve heard of issues with Wi-Fi and BlueTooth in that scenario before. I haven’t used Windows in years and try not to remember things about it, so I won’t be much help there. Something about making sure Windows is fully shut down, maybe.

1 Like

Hello @skalisz :wink:

When I search for your device, the I see that the driver is include since linux 5.16. So the DKMS you mentioned is only there to serve anything older than that.

If you insist in installing the mentioned DKMS, then you need to blacklist the builtin kernel driver.

However…

Please provide more information about the process:

journalctl --boot 0 --unit NetworkManager --no-pager      

You can switch the log level on the fly to debug and info:

sudo nmcli general logging level info 
sudo nmcli general logging level debug

To follow the current process run this:

journalctl --boot 0 --unit NetworkManager --follow     
2 Likes
Log

It’s already installed and up to date.

Well ok, looks like the issue is the authentication process. Could you check what type of encryption method is used? WPA/WPA2/WPA3 ? Or is it even mixed? There are issues when using WPA3 mixed with WPA2, because it doesn’t follow the standards.

When you switch to debug as mentioned above and try to reconnect, there will be more information about that on the journal.

1 Like
Log

WPA & WPA2 Personal

Yepp that must be the reason. Switch to WPA2 or WPA3 only (not mixed). That works at least for me all the time. Anyway… the logs just say: wpa supplicant tries to authenticate you, but the router doesn’t like your request for what ever reason. Guessing it is a fritzbox isn’t it?

I am just guessing here… but there were some sort of feature combination which are out of the standard, which doesn’t work with wpa supplicant (which is the backend in NetworkManager).

When I switch back to Windows, it’s just WPA2 (the same wifi). A few days ago I took my laptop somewhere else and I also couldn’t connect to any wifi. Same with my mobile hotspot. So it looks like the problem is deeper :confused:

I guess you mean fast startup feature. But I’ve checked - it’s disabled.

Ok I just tested it on a laptop. I have 3 options on my router:

  • WPA & WPA 2
  • WPA2 (CCMP)
  • WPA2 & WPA3

On all 3 methods I can connect and my fritzbox is up-to-date and manjaro is on stable branch up to date.

I could imagine that your router has a bug, or the driver, or the service assume that your card has a feature, but it does not. You see, I am speculating.

The only difference between my log and yours is that you are in 5Ghz, and I am in 2.4Ghz.

Just for the record the capabilities of the card:

{
        "type" : "a{sv}",
        "data" : {
                "Pairwise" : {
                        "type" : "as",
                        "data" : [
                                "ccmp-256",
                                "gcmp-256",
                                "ccmp",
                                "gcmp",
                                "tkip"
                        ]
                },
                "Group" : {
                        "type" : "as",
                        "data" : [
                                "ccmp-256",
                                "gcmp-256",
                                "ccmp",
                                "gcmp",
                                "tkip"
                        ]
                },
                "GroupMgmt" : {
                        "type" : "as",
                        "data" : [
                                "aes-128-cmac",
                                "bip-gmac-128",
                                "bip-gmac-256",
                                "bip-cmac-256"
                        ]
                },
                "KeyMgmt" : {
                        "type" : "as",
                        "data" : [
                                "none",
                                "ieee8021x",
                                "wpa-eap",
                                "wpa-ft-eap",
                                "wpa-eap-sha256",
                                "wpa-psk",
                                "wpa-ft-psk",
                                "wpa-psk-sha256",
                                "wps",
                                "sae",
                                "owe"
                        ]
                },
                "Protocol" : {
                        "type" : "as",
                        "data" : [
                                "rsn",
                                "wpa"
                        ]
                },
                "AuthAlg" : {
                        "type" : "as",
                        "data" : [
                                "open",
                                "shared",
                                "leap"
                        ]
                },
                "Scan" : {
                        "type" : "as",
                        "data" : [
                                "active",
                                "passive",
                                "ssid"
                        ]
                },
                "Modes" : {
                        "type" : "as",
                        "data" : [
                                "infrastructure",
                                "ad-hoc",
                                "ap",
                                "p2p",
                                "mesh"
                        ]
                },
                "MaxScanSSID" : {
                        "type" : "i",
                        "data" : 4
                }
        }
}

Please share yours also…

Check the tree:

sudo busctl tree fi.w1.wpa_supplicant1

and get the current pperties:

sudo busctl -j get-property fi.w1.wpa_supplicant1 /fi/w1/wpa_supplicant1/Interfaces/16 fi.w1.wpa_supplicant1.Interface Capabilities

(the number 16 here can differ, modify it if needed according to the tree info.)

1 Like

Sorry, missed that. No, it’s TP-Link Archer.

Not sure if I share the correct piece of information. I’ve used command iw list:

Info

I’ve got two wifis, 5Ghz and 2.4Ghz, but both of them are out of reach on Manjaro.

└─/fi
  └─/fi/w1
    └─/fi/w1/wpa_supplicant1

I don’t know how to find any number like 16 in that tree :stuck_out_tongue:

legion5% sudo busctl -j get-property fi.w1.wpa_supplicant1 /fi/w1/wpa_supplicant1/Interfaces/16 fi.w1.wpa_supplicant1.Interface Capabilities
Failed to get property Capabilities on interface fi.w1.wpa_supplicant1.Interface: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist

Well that makes me think…

If you get only:

Then wpa_supplicant is not running? I get the exact same output on my workstation (it has only ethernet).

Are you using iw as backend instead of wpa_supplicant? Or is iw a standalone, so that it conflicts with NetworkManager? No idea right now what is happening on your system.

Maybe your router doesnt like mac randomization on scanning:

echo -e "[device]\nwifi.scan-rand-mac-address=no" | sudo tee /etc/NetworkManager/conf.d/no-random-mac.conf
sudo systemctl restart NetworkManager

Obvious this feature provides privacy in the public. It fakes the mac address when it scans for networks, so that you cannot be tracked.

1 Like

Nothing changed, sadly.

I have no idea, it’s just fresh install of Manjaro with GNOME DE :stuck_out_tongue:
But I was trying to check this out:

cat /etc/NetworkManager/NetworkManager.conf
# Configuration file for NetworkManager.
# See "man 5 NetworkManager.conf" for details.
wpa_supplicant -i wlo1 -c /etc/wpa_supplicant/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant
Failed to open config file '/etc/wpa_supplicant/wpa_supplicant.conf', error: No such file or directory
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
: CTRL-EVENT-DSCP-POLICY clear_all
systemctl status wpa_supplicant.service
 wpa_supplicant.service - WPA supplicant
     Loaded: loaded (/usr/lib/systemd/system/wpa_supplicant.service; disabled; preset: disabled)
     Active: active (running) since Sun 2023-01-22 23:07:51 CET; 23min ago
   Main PID: 850 (wpa_supplicant)
      Tasks: 1 (limit: 16574)
     Memory: 5.5M
        CPU: 2.605s
     CGroup: /system.slice/wpa_supplicant.service
             └─850 /usr/bin/wpa_supplicant -u -s -O /run/wpa_supplicant

I guess that’s the direction I want to follow.

That is normal.
NetworkManager will use wpa_supplicant - no configuration of it needed

also normal
unless you explicitly want to use iwd

then you also don’t configure that
but tell NetworkManager to use it instead of wpa_supplicant

NetworkManager - ArchWiki

Section 7.12

I’ll post some updates, so the thread won’t be locked up after 2 days automatically.
Nothing’s helped, so I went back to wpa_supplicant.

Following: Network configuration/Wireless - ArchWiki
1.1

lspci -k
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852AE 802.11ax PCIe Wireless Network Adapter
	Subsystem: Lenovo Device 4852
	Kernel driver in use: rtw89_8852ae
	Kernel modules: rtw89_8852ae
ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 38:f3:ab:cd:58:57 brd ff:ff:ff:ff:ff:ff
    altname enp3s0
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000
    link/ether 74:4c:a1:9a:2f:73 brd ff:ff:ff:ff:ff:ff

wlan0 state is down, so I’ve tried ip link set wlan0 up, but nothing changes. dmesg | grep firmware prints nothing, so I’ve tried:

dmesg | grep rtw89_8852ae
[   21.993751] Modules linked in: hid_logitech_hidpp hid_logitech_dj usbhid ccm algif_aead cbc des_generic libdes intel_rapl_msr intel_rapl_common ecb snd_sof_amd_rembrandt snd_sof_amd_renoir qrtr snd_sof_amd_acp algif_skcipher snd_sof_pci snd_sof cmac snd_sof_utils rtw89_8852ae edac_mce_amd md4 rtw89_8852a algif_hash snd_soc_core snd_hda_codec_realtek bnep af_alg snd_compress rtw89_pci kvm_amd snd_hda_codec_generic joydev ac97_bus snd_pcm_dmaengine ledtrig_audio snd_hda_codec_hdmi mousedev btusb snd_pci_ps snd_hda_intel kvm rtw89_core btrtl snd_intel_dspcfg snd_rpl_pci_acp6x irqbypass snd_intel_sdw_acpi btbcm crct10dif_pclmul snd_acp_pci snd_hda_codec btintel crc32_pclmul amdgpu snd_pci_acp6x btmtk polyval_clmulni vfat nouveau hid_multitouch mac80211 snd_hda_core polyval_generic snd_pci_acp5x snd_hwdep gpu_sched gf128mul libarc4 fat bluetooth wmi_bmof snd_pcm snd_rn_pci_acp3x ghash_clmulni_intel mxm_wmi drm_buddy nvidia_wmi_ec_backlight sha512_ssse3 ecdh_generic drm_ttm_helper
[   21.998403] Modules linked in: hid_logitech_hidpp hid_logitech_dj usbhid ccm algif_aead cbc des_generic libdes intel_rapl_msr intel_rapl_common ecb snd_sof_amd_rembrandt snd_sof_amd_renoir qrtr snd_sof_amd_acp algif_skcipher snd_sof_pci snd_sof cmac snd_sof_utils rtw89_8852ae edac_mce_amd md4 rtw89_8852a algif_hash snd_soc_core snd_hda_codec_realtek bnep af_alg snd_compress rtw89_pci kvm_amd snd_hda_codec_generic joydev ac97_bus snd_pcm_dmaengine ledtrig_audio snd_hda_codec_hdmi mousedev btusb snd_pci_ps snd_hda_intel kvm rtw89_core btrtl snd_intel_dspcfg snd_rpl_pci_acp6x irqbypass snd_intel_sdw_acpi btbcm crct10dif_pclmul snd_acp_pci snd_hda_codec btintel crc32_pclmul amdgpu snd_pci_acp6x btmtk polyval_clmulni vfat nouveau hid_multitouch mac80211 snd_hda_core polyval_generic snd_pci_acp5x snd_hwdep gpu_sched gf128mul libarc4 fat bluetooth wmi_bmof snd_pcm snd_rn_pci_acp3x ghash_clmulni_intel mxm_wmi drm_buddy nvidia_wmi_ec_backlight sha512_ssse3 ecdh_generic drm_ttm_helper
[   21.998930] Modules linked in: hid_logitech_hidpp hid_logitech_dj usbhid ccm algif_aead cbc des_generic libdes intel_rapl_msr intel_rapl_common ecb snd_sof_amd_rembrandt snd_sof_amd_renoir qrtr snd_sof_amd_acp algif_skcipher snd_sof_pci snd_sof cmac snd_sof_utils rtw89_8852ae edac_mce_amd md4 rtw89_8852a algif_hash snd_soc_core snd_hda_codec_realtek bnep af_alg snd_compress rtw89_pci kvm_amd snd_hda_codec_generic joydev ac97_bus snd_pcm_dmaengine ledtrig_audio snd_hda_codec_hdmi mousedev btusb snd_pci_ps snd_hda_intel kvm rtw89_core btrtl snd_intel_dspcfg snd_rpl_pci_acp6x irqbypass snd_intel_sdw_acpi btbcm crct10dif_pclmul snd_acp_pci snd_hda_codec btintel crc32_pclmul amdgpu snd_pci_acp6x btmtk polyval_clmulni vfat nouveau hid_multitouch mac80211 snd_hda_core polyval_generic snd_pci_acp5x snd_hwdep gpu_sched gf128mul libarc4 fat bluetooth wmi_bmof snd_pcm snd_rn_pci_acp3x ghash_clmulni_intel mxm_wmi drm_buddy nvidia_wmi_ec_backlight sha512_ssse3 ecdh_generic drm_ttm_helper
[   22.003492] Modules linked in: hid_logitech_hidpp hid_logitech_dj usbhid ccm algif_aead cbc des_generic libdes intel_rapl_msr intel_rapl_common ecb snd_sof_amd_rembrandt snd_sof_amd_renoir qrtr snd_sof_amd_acp algif_skcipher snd_sof_pci snd_sof cmac snd_sof_utils rtw89_8852ae edac_mce_amd md4 rtw89_8852a algif_hash snd_soc_core snd_hda_codec_realtek bnep af_alg snd_compress rtw89_pci kvm_amd snd_hda_codec_generic joydev ac97_bus snd_pcm_dmaengine ledtrig_audio snd_hda_codec_hdmi mousedev btusb snd_pci_ps snd_hda_intel kvm rtw89_core btrtl snd_intel_dspcfg snd_rpl_pci_acp6x irqbypass snd_intel_sdw_acpi btbcm crct10dif_pclmul snd_acp_pci snd_hda_codec btintel crc32_pclmul amdgpu snd_pci_acp6x btmtk polyval_clmulni vfat nouveau hid_multitouch mac80211 snd_hda_core polyval_generic snd_pci_acp5x snd_hwdep gpu_sched gf128mul libarc4 fat bluetooth wmi_bmof snd_pcm snd_rn_pci_acp3x ghash_clmulni_intel mxm_wmi drm_buddy nvidia_wmi_ec_backlight sha512_ssse3 ecdh_generic drm_ttm_helper
[   22.004012] Modules linked in: hid_logitech_hidpp hid_logitech_dj usbhid ccm algif_aead cbc des_generic libdes intel_rapl_msr intel_rapl_common ecb snd_sof_amd_rembrandt snd_sof_amd_renoir qrtr snd_sof_amd_acp algif_skcipher snd_sof_pci snd_sof cmac snd_sof_utils rtw89_8852ae edac_mce_amd md4 rtw89_8852a algif_hash snd_soc_core snd_hda_codec_realtek bnep af_alg snd_compress rtw89_pci kvm_amd snd_hda_codec_generic joydev ac97_bus snd_pcm_dmaengine ledtrig_audio snd_hda_codec_hdmi mousedev btusb snd_pci_ps snd_hda_intel kvm rtw89_core btrtl snd_intel_dspcfg snd_rpl_pci_acp6x irqbypass snd_intel_sdw_acpi btbcm crct10dif_pclmul snd_acp_pci snd_hda_codec btintel crc32_pclmul amdgpu snd_pci_acp6x btmtk polyval_clmulni vfat nouveau hid_multitouch mac80211 snd_hda_core polyval_generic snd_pci_acp5x snd_hwdep gpu_sched gf128mul libarc4 fat bluetooth wmi_bmof snd_pcm snd_rn_pci_acp3x ghash_clmulni_intel mxm_wmi drm_buddy nvidia_wmi_ec_backlight sha512_ssse3 ecdh_generic drm_ttm_helper
[   22.004567] Modules linked in: hid_logitech_hidpp hid_logitech_dj usbhid ccm algif_aead cbc des_generic libdes intel_rapl_msr intel_rapl_common ecb snd_sof_amd_rembrandt snd_sof_amd_renoir qrtr snd_sof_amd_acp algif_skcipher snd_sof_pci snd_sof cmac snd_sof_utils rtw89_8852ae edac_mce_amd md4 rtw89_8852a algif_hash snd_soc_core snd_hda_codec_realtek bnep af_alg snd_compress rtw89_pci kvm_amd snd_hda_codec_generic joydev ac97_bus snd_pcm_dmaengine ledtrig_audio snd_hda_codec_hdmi mousedev btusb snd_pci_ps snd_hda_intel kvm rtw89_core btrtl snd_intel_dspcfg snd_rpl_pci_acp6x irqbypass snd_intel_sdw_acpi btbcm crct10dif_pclmul snd_acp_pci snd_hda_codec btintel crc32_pclmul amdgpu snd_pci_acp6x btmtk polyval_clmulni vfat nouveau hid_multitouch mac80211 snd_hda_core polyval_generic snd_pci_acp5x snd_hwdep gpu_sched gf128mul libarc4 fat bluetooth wmi_bmof snd_pcm snd_rn_pci_acp3x ghash_clmulni_intel mxm_wmi drm_buddy nvidia_wmi_ec_backlight sha512_ssse3 ecdh_generic drm_ttm_helper
[   57.814780] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[  139.075524] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[  194.082358] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[  512.762842] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[  590.821411] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[  642.772227] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[  668.811932] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[  694.881513] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[  944.788735] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[ 1022.840297] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[ 1048.822159] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[ 1100.488788] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[ 1402.841022] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[ 1507.025244] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[ 1565.435792] rtw89_8852ae 0000:04:00.0: MAC has already powered on
[ 1728.152416] rtw89_8852ae 0000:04:00.0: MAC has already powered on

Also some logs from supplicant cli (it’s nothing new):

sudo wpa_cli
<3>CTRL-EVENT-SCAN-STARTED 
<3>CTRL-EVENT-NETWORK-ADDED 0
<3>SME: Trying to authenticate with e0:63:da:04:af:1e (SSID='WP_8_5G' freq=5180 MHz)
<3>CTRL-EVENT-SCAN-STARTED 
<3>CTRL-EVENT-SCAN-RESULTS 
<3>WPS-AP-AVAILABLE 
<3>CTRL-EVENT-SCAN-STARTED 
<3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="WP_8_5G" auth_failures=1 duration=10 reason=CONN_FAILED

In the meantime I also find that other people had similiar problem on dualboot with Windows, but there were only 2 solutions that helped them on the Windows side:

  1. turning off fast startup feature
  2. turning on lan (wol) feature

Unfortunately neither of them works.

Hello everybody.

This may sound absurd, but have you tried kernel 5.15?

I said that because a few days ago I had a problem when closing the laptop and I did have kernel 6.1. Now I use kernel 5.15 without problems.

The same problem still occurs :frowning: The only difference was there were no drivers, so I had to use pamac build rtw89-dkms-git.

Thanks everyone for your help, appreciate a lot your dedication (especially yours @megavolt). I’ll probably try out another distro and maybe will come back to the Manjaro alongside new kernel version.

The same problem happens on Fedora. The issue is firmware which doesn’t load. But I don’t know why. Usually it’s because of windows fast startup feature, but I’ve disabled it at the beggining.

What firmware doesn’t load and how do you know that? :thinking:

I finally found a solution. The problem was hardware. For some reason, one of the wires was not connected to the network card. This was probably the case from the beginning (the laptop was bought new, unused). This is strange because in theory wifi should not have worked at all before, even on Windows.

Anyway, everything is now working flawlessly.

This post was flagged by the community and is temporarily hidden.