You are not logged in.
Hi all,
I upgraded my packages today and found that my nm-applet is silently failing to connect without prompting for a password whenever I select a WPA-secured wifi network.
Last time I saw this symptom it was because I'm running Cinnamon and I didn't have gnome-keyring installed. But I installed it and it's been working for the past several weeks, up until today.
These are my versions of the relevant packages after the upgrade:
cinnamon 1.8.8-4
gnome-keyring 3.8.2-1
network-manager-applet 0.9.8.4-1
networkmanager 0.9.8.4-1
And here's a log (journalctl -u NetworkManager) of when I try to connect to a secured network:
Sep 27 21:55:31 luz NetworkManager[319]: <info> Activation (wlp3s0) starting connection 'MIT SECURE'
Sep 27 21:55:31 luz NetworkManager[319]: <info> (wlp3s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Sep 27 21:55:31 luz NetworkManager[319]: <info> NetworkManager state is now CONNECTING
Sep 27 21:55:31 luz NetworkManager[319]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) scheduled...
Sep 27 21:55:31 luz NetworkManager[319]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) started...
Sep 27 21:55:31 luz NetworkManager[319]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) scheduled...
Sep 27 21:55:31 luz NetworkManager[319]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) complete.
Sep 27 21:55:31 luz NetworkManager[319]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) starting...
Sep 27 21:55:31 luz NetworkManager[319]: <info> (wlp3s0): device state change: prepare -> config (reason 'none') [40 50 0]
Sep 27 21:55:31 luz NetworkManager[319]: <info> Activation (wlp3s0/wireless): access point 'MIT SECURE' has security, but secrets are required.
Sep 27 21:55:31 luz NetworkManager[319]: <info> (wlp3s0): device state change: config -> need-auth (reason 'none') [50 60 0]
Sep 27 21:55:31 luz NetworkManager[319]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) complete.
Sep 27 21:55:31 luz NetworkManager[319]: <warn> No agents were available for this request.
Sep 27 21:55:31 luz NetworkManager[319]: <info> (wlp3s0): device state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
Sep 27 21:55:31 luz NetworkManager[319]: <info> NetworkManager state is now DISCONNECTED
Sep 27 21:55:31 luz NetworkManager[319]: <info> Marking connection 'MIT SECURE' invalid.
Sep 27 21:55:31 luz NetworkManager[319]: <warn> Activation (wlp3s0) failed for connection 'MIT SECURE'
Sep 27 21:55:31 luz NetworkManager[319]: <info> (wlp3s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Sep 27 21:55:31 luz NetworkManager[319]: <info> (wlp3s0): deactivating device (reason 'none') [0]
I was able to revert to network-manager-applet 0.9.8.2-1, which is what I had before upgrading, and that works. So it seems that the problem is with the latest version of network-manager-applet.
Has anyone else experienced this? I'm not sure how to tell whether this is a bug or a problem with my configuration.
Offline
I don't see anything in the changelog; so I think you'll need to report this upstream
Offline
exactly same here... everything up to date,
cinnamon 1.9.2-1
gnome-keyring 3.10.0-1
network-manager-applet 0.9.8.4-2
networkmanager 0.9.8.6-1
Installed archlinux using antergos.
$ nmcli nm perm
PERMISSION VALUE
org.freedesktop.NetworkManager.enable-disable-network yes
org.freedesktop.NetworkManager.enable-disable-wifi yes
org.freedesktop.NetworkManager.enable-disable-wwan yes
org.freedesktop.NetworkManager.enable-disable-wimax yes
org.freedesktop.NetworkManager.sleep-wake no
org.freedesktop.NetworkManager.network-control yes
org.freedesktop.NetworkManager.wifi.share.protected yes
org.freedesktop.NetworkManager.wifi.share.open yes
org.freedesktop.NetworkManager.settings.modify.system yes
org.freedesktop.NetworkManager.settings.modify.own yes
org.freedesktop.NetworkManager.settings.modify.hostname auth
journalctl -u NetworkManager shows nothing...
Offline
Try running nm-applet from your terminal and post the output here.
☑ CPU: Single core Intel Pentium M (-UP-) clocked at 1733.000 Mhz
☑ MEM: 490.1 MB
☑ HDD: 40.1 GB
Offline
I have been having the exact same problem for a couple of weeks. Network Manager wouldn't save any of my passwords and wouldn't prompt for it again. Even when I went into nm-connection-editor, the password wouldn't save. I think i have found that there is a problem with gnome-keyring daemon.
I killed NetworkManager and tried to run nm-applet and oddly enough, I got prompted for a password for my school's WPA2 Enterprise network. Here is what printed to the console
** (nm-applet:676): WARNING **: Error connecting to ModemManager: Error calling StartServiceByName for org.freedesktop.ModemManager1: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.
** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area
** Message: No keyring secrets found for bucknell.edu/802-1x; asking user.
** (nm-applet:676): CRITICAL **: write_one_secret_to_keyring: assertion 'type == G_TYPE_STRING' failed
The last line printed when I tried to go into the nm-connection-editor and save my password. Needless to say, it doesn't save...
Offline
I figured out what the problem partially was (for me at least)! nm-applet actually wasn't running on boot even though the try icon was showing. That meant that some of the functionality of the tray wasn't working while others did. I'm still not sure how this is possible, but it might be some compatibility mode with NetworkMangager. Anyways I added nm-applet to the list of Cinnamon startup programs and NetworkManager prompts me for a username and password. It still doesn't remember the passwords though...
Offline