NetworkManage cant connect wifi unless nm-applet is started
Hi,
I use elementary OS 5.1.7 Hera, and I use Git.
I have installed libsecret to be used with git to remember my credentials.
After installing libsecret I can not anymore connect to new wifi networks (previously saved wifi works well). All is working with wifi network interface, I test firmware missing, package missing and seems to be ok.
After some research I found this on Arch Linux forum: https://wiki.archlinux.org/index.php/Talk:NetworkManager#Explain_that_encrypting_passwords_requires_nm-applet_(or_equivalent?)_to_be_running
The problem, as I understand is that NetworkManager wants to get credentials but it can not after installing libsecret, the only way that it can is starting first the nm-applet. I dont understand very well why but I wrote this report to help anyone with same problem or even to known if this is a bug. In effect, it is like nm-applet acts as brigde to get credential through libsecret or something like this.
Steps to Reproduce:
- Install fresh Elementary OS
- Conenct to any wifi (all will work normally)
- install
gitandlibsecret - configure
gitto uselibsecretas the credential manager (I dont known if this were relevant) - reboot
- try to connect to a new wifi that needs a password
The result should be that you can't connect and password prompt never is presented.
The Solution:
- open terminal and start
nm-applet - a new orange icon will appear on systemtray
- try to connect to the a new wifi
- password prompt appears and all works perfect
- then stop
nm-appletand try to connect to new one wifi, this will not work again.
Viewing the /var/log/syslog I see while trying to connect:
Apr 15 14:02:41 camilova NetworkManager[979]:
What ends to be the way to solve this for me was researching about the line No agents were available for this request. and I understand this as "it cant find the credential manager" ???
Then, could it be a bug on elementary (or ubuntu, or linux wide)?