You are not logged in.
Hello!
I've been trying to connect to my wifi automatically upon boot while also using encrypted wifi-passwords via gnome keyring. I don't use a display manager for logging into my system and I think I followed the appropriate steps to get it to work.
My passwords are saved per user (as is needed for encrypted wifi-passwords) and I checked "Connect automatically with priority" and "All users may connect to this network" in nm-applet.
My keyring should also properly be unlocked, since it does connect once I click on it and I edited my /etc/pam.d/login according to the wiki for GNOME/Keyring.
I'm pretty certain that it worked before but somehow I can't seem to get this to work - any ideas?
greetings
Last edited by occasionally_smart (2019-03-24 21:12:12)
Offline
You may want to add something about gnome-keyring to your title as the actual issue seems focused there, not simply on connecting to wifi on boot which is just one symptom.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I don't use a display manager for logging into my system and I think I followed the appropriate steps to get it to work.
[...]
I edited my /etc/pam.d/login according to the wiki for GNOME/Keyring.
You should probably post exactly what you have done so that we can spot if you made a mistake.
Jin, Jîyan, Azadî
Offline
occasionally_smart wrote:I don't use a display manager for logging into my system and I think I followed the appropriate steps to get it to work.
[...]
I edited my /etc/pam.d/login according to the wiki for GNOME/Keyring.You should probably post exactly what you have done so that we can spot if you made a mistake.
Alright, well first I installed the packages and enabled the networkmanager service system wide and I'm using nm-applet which i start in my ~/.xinitrc.
At first I wasn't using gnome keyring and everything was working fine (but no encrypted wifi passwords) - I then installed gnome keyring and since I'm not using a display manager I'm starting the daemon as described in https://wiki.archlinux.org/index.php/GN … PAM_method. I'm also unlocking the keyring automatically on boot by using the same password.
A note in the wiki also states that you still need to use the code in your ~/.xinitrc to export environment variables required and I've tried it with and without using that code - doesn't change anything sadly https://wiki.archlinux.org/index.php/GN … trc_method.
I edited my connection in nm-applet to save passwords per user and was asked to unlock my keyring so that worked just fine. I then made sure that the settings were set as described in https://wiki.archlinux.org/index.php/Ne … et_on_boot - however, I noticed that the settings now are called somewhat differently. ("Connect automatically with priority" and "All users may connect to this network" as opposed to "Connect Automatically" and "Available to all users")
It's also possible to set a priority for connecting automatically which, by default, is 0. Changing this doesn't seem to change anything either sadly.
And that's about it.. to my understanding it should work without issues now but somehow it doesn't. I'm pretty sure that this did work on a previous install of mine however. (not sure if these were the exact steps but using gnome keyring and automatically connecting to a wifi)
any ideas?
Offline
You may want to add something about gnome-keyring to your title as the actual issue seems focused there, not simply on connecting to wifi on boot which is just one symptom.
Makes sense - done!
Offline