I also experience this behavior. I think it is something to do with Network Manager not trusting that it already has the password if you get a few quick disconnect/reconnect cycles.
Another option - that people on the internet are talking about - is that Network Manager will prompt for the password if it can’t talk to the FreeDesktop.org secrets manager. This could be either KDE’s KWallet, or GNOME keyring. See if you have either of them running: the GNOME keyring process should be called gnome-keyring-daemon and the KWallet process should be called kwalletd5.
PS /home/rokejulianlockhart> Get-Process gnome-keyring-daemon
Get-Process: Cannot find a process with the name "gnome-keyring-daemon". Verify the process name and call the cmdlet again.
PS /home/rokejulianlockhart> Get-Process kwalletd5
NPM(K) PM(M) WS(M) CPU(s) Id SI ProcessName
------ ----- ----- ------ -- -- -----------
0 0.00 114.43 5.26 3595 …19 kwalletd5
Yea, that more or less my setup (I mean - except PowerShell…). Can you please check what version of kwalletd5 is installed? It needs to be at least 5.97 to have org.freedesktop.secrets support. Also, if you can - see if you have that D-Bus API available on your system - for example by running qdbus org.freedesktop.secrets
PS /home/rokejulianlockhart> zypper info kwalletd5 Repository 'KDE:Unstable:Extra' is out-of-date. You can run 'zypper refresh' as root to update it.
Loading repository data...
Reading installed packages...
Information for package kwalletd5:
Repository : KDE:Unstable:Frameworks
Name : kwalletd5
Version : 5.110.0git.20230818T171113~e452dae-ku.1.1
Arch : x86_64
Vendor : obs://build.opensuse.org/KDE:Unstable
Installed Size : 458.0 KiB
Installed : Yes
Status : out-of-date (version 5.109.0git.20230807T020122~d3aa686-ku.8.3 installed)
Source package : kwallet-5.110.0git.20230818T171113~e452dae-ku.1.1.src
Upstream URL : https://www.kde.org
Summary : Safe desktop-wide storage for passwords
This framework contains two main components:
* Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces.
* The kwalletd used to safely store the passwords on KDE work spaces.
Hahaha. Once I even chsh -s’d it, and it was actually wonderful. There’s no other battle-hardened object-oriented shell like it for Linux.
Yea… that looks fine. I would further check that KDE Wallet has your network password by opening the KDE Wallet Manager (don’t use the application launcher - that shortcut will not work, open it from the system tray icon) and check under “Network Management” → “maps” - there’ll be lots of UUID style keys, where one should just have your password next to “psk” (you may need to check “show values”).
One possibility of the issue is that the KDE wallet service has crashed - next time you get the password prompt, see if the secrets D-Bus service is still available.
There’s no other object-oriented shell on Linux (or any OS)
Personally I can’t get my head around the Verb-Object-Subject syntax that it uses - I much prefer my shell syntax “object verb subject”. It could be that I’m not a native English speaker, or the fact that Verb-Object is terrible for TAB completion. Either or, I’m not sure. The second I stopped needing to write shell scripts for Windows systems, I stopped using PowerShell and I haven’t looked back. I mean - it is great that PowerShell is available on Linux (and open source, or some such), but it isn’t for me.