You are not logged in.

#1 2023-01-18 20:25:04

SomeRandomDude
Member
Registered: 2023-01-18
Posts: 5

[SOLVED] Inconsistent WiFi with NetworkManager

Hi! I've installed Arch on a new laptop using the installation script. WiFi afterwards was working as expected using systemd-networkd, but since I'm running KDE I wanted to have the network indicator on the taskbar using NetworkManager and I've had some issues ever since:

  • Sometimes I need to toggle the WiFi on and off a couple of times for it to work.

  • Sometimes a message appears with something along the lines "Credentials are required but none were provided"

  • KDE often shows the WiFi stuck at Configuring interface.

While looking at journalctl -xe I've noticed this:

ene 18 12:50:12 ThinkPad wpa_supplicant[27658]: wlan0: SME: Authentication request to the driver failed

Output from "lspci -k"

03:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter
        Subsystem: Lenovo Device e0c6
        Kernel driver in use: mt7921e
        Kernel modules: mt7921e

Also rfkill doesn't show the interface to be blocked, nor does systemd shows another network service running:

UNIT FILE                          STATE   PRESET
bluetooth.service                  enabled disabled
getty@.service                     enabled enabled
governor_at_boot.service           enabled disabled
governor_at_resume.service         enabled disabled
iwd.service                        enabled disabled
NetworkManager-dispatcher.service  enabled disabled
NetworkManager-wait-online.service enabled disabled
NetworkManager.service             enabled disabled
numlock.service                    enabled disabled
sddm.service                       enabled disabled
sshd.service                       enabled disabled
syncthing.service                  enabled disabled
systemd-timesyncd.service          enabled enabled
remote-fs.target                   enabled enabled
fstrim.timer                       enabled disabled

15 unit files listed.
Things I've tried
  • Disabling dhcpcd.service

  • Removing everything in /etc/NetworkManager/system-connections

  • Added a config file with "wifi.scan-rand-mac-address=no"

Again, it works just fine with systemd-networkd the problems arise when i try to use NetworkManager

Why don't I just use systemd-networkd and call it a day?

Simply because I want that WiFi indicator on KDE (and the ability to manage my networks through the gui), and it looks like it only works trough NetworkManager.

Last edited by SomeRandomDude (2023-01-18 20:38:08)

Offline

#2 2023-01-18 20:28:16

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Inconsistent WiFi with NetworkManager

You don't want both iwd and NetworkManager enabled. If you want to use iwd, configure NM to use it and it will launch it itself.

Offline

#3 2023-01-18 20:36:18

SomeRandomDude
Member
Registered: 2023-01-18
Posts: 5

Re: [SOLVED] Inconsistent WiFi with NetworkManager

Can confirm that disabling iwd.service worked, thanks!

Offline

Board footer

Powered by FluxBB