You are not logged in.

#1 2020-07-02 04:05:29

shadeless
Member
Registered: 2013-05-26
Posts: 83

wifi authentication required everytime I log in

Everytime I log into gnome, my internet doesn't connect right away. I get a message saying "Authentication required" (see first image of link: https://imgur.com/a/57VzyE8 ) I then have to put in the password to my wifi. However, my password is saved in seahorse (see second image of https://imgur.com/a/57VzyE8 ). So why is it that I get this "Authentication required" message? How do I configure my desktop so that wi-fi is connected when I log in?

Offline

#2 2020-07-02 08:04:49

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: wifi authentication required everytime I log in

Do you have polkit installed?

Offline

#3 2020-07-02 12:12:29

shadeless
Member
Registered: 2013-05-26
Posts: 83

Re: wifi authentication required everytime I log in

I do have polkit installed.

[~] sudo pacman -Si polkit                                                     
Repository      : extra
Name            : polkit
Version         : 0.116-5
Description     : Application development toolkit for controlling system-wide
                  privileges
Architecture    : x86_64
URL             : https://www.freedesktop.org/wiki/Software/polkit/
Licenses        : LGPL
Groups          : None
Provides        : None
Depends On      : glib2  pam  expat  systemd  js60
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 399.35 KiB
Installed Size  : 1874.70 KiB
Packager        : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Build Date      : Sat 22 Feb 2020 04:06:44 PM PST
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Offline

#4 2020-07-02 12:47:36

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,609
Website

Re: wifi authentication required everytime I log in

The output you provided is useless, since it does not show information about an installed package, but about a package from your configured mirror.
What's the output of

ps -u <your_user_name> | grep keyring

Last edited by schard (2020-07-02 14:14:16)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#5 2020-07-02 13:59:48

shadeless
Member
Registered: 2013-05-26
Posts: 83

Re: wifi authentication required everytime I log in

Here is the output you asked for.

[~] ps -u <my-username> | grep keyring                                              
   1601 ?        00:00:00 gnome-keyring-d

Sorry, I think this is the more appropriate output for my installed package.

[~] sudo pacman -Qi polkit                                                                                           
Name            : polkit
Version         : 0.116-5
Description     : Application development toolkit for controlling system-wide privileges
Architecture    : x86_64
URL             : https://www.freedesktop.org/wiki/Software/polkit/
Licenses        : LGPL
Groups          : None
Provides        : None
Depends On      : glib2  pam  expat  systemd  js60
Optional Deps   : None
Required By     : accountsservice  bolt  colord  cups-pk-helper  flatpak  libvirt  malcontent  networkmanager
                  polkit-qt5  rtkit  udisks2
Optional For    : brltty  systemd
Conflicts With  : None
Replaces        : None
Installed Size  : 1874.70 KiB
Packager        : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Build Date      : Sat 22 Feb 2020 04:06:44 PM PST
Install Date    : Mon 24 Feb 2020 08:04:40 AM PST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Offline

#6 2020-07-02 14:16:19

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,609
Website

Re: wifi authentication required everytime I log in

Okay, so the keyring daemon is running and the package is indeed installed.
Do you maybe have a second, system-wide profile for the wireless network with a wrong password stored?

Last edited by schard (2020-07-02 14:16:26)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#7 2020-07-02 14:18:19

shadeless
Member
Registered: 2013-05-26
Posts: 83

Re: wifi authentication required everytime I log in

Do you maybe have a second, system-wide profile for the wireless network with a wrong password stored?

What do you mean by system-wide profile and how would I check for this?

Offline

#8 2020-07-02 14:23:25

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,609
Website

Re: wifi authentication required everytime I log in

It may be possible that there is a second NetworkManager connection for the same network on a system-level with a wrong password stored, resulting in the error.
What's the output of

# ls -l /etc/NetworkManager/conf.d/
# ls -l /etc/NetworkManager/system-connections/

Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#9 2020-07-09 23:46:13

shadeless
Member
Registered: 2013-05-26
Posts: 83

Re: wifi authentication required everytime I log in

These problems did start happening when I switched over from KDE to Gnome. I don't see any duplicate entries in system-connections though. Maybe the permissions are wrong?

[~] ls -l /etc/NetworkManager/conf.d/                                                                                                                                                                                                        
total 4
-rw-r--r-- 1 root root 21 Jan 17 07:55 dhcp-client.conf
[~] sudo ls -l /etc/NetworkManager/system-connections/                                                                                                                                                                                       
total 24
-rw------- 1 root root 361 Dec 23  2019 '4chan party van_5G.nmconnection'
-rw------- 1 root root 557 Jul  3 08:32  CENPARaphaelCervantes.nmconnection
-rw------- 1 root root 446 Jun 23 15:02  eduroam.nmconnection
-rw------- 1 root root 339 Jun 23 14:35 'Fast ADMX Hall.nmconnection'
-rw------- 1 root root 322 Jan 15 16:44 'University of Washington.nmconnection'
-rw------- 1 root root 266 May  6 14:24 'Wired connection 1.nmconnection'

Offline

#10 2020-07-10 15:25:47

shadeless
Member
Registered: 2013-05-26
Posts: 83

Re: wifi authentication required everytime I log in

My house network appears to be the only network that causes this behavior. Huh.

Offline

#11 2023-04-25 01:26:44

wangchengxin
Member
Registered: 2023-04-21
Posts: 2

Re: wifi authentication required everytime I log in

Maybe it's because iwd remebered this network, network-manager depends on iwd, but iwd requires root permission internally.

sudo iwctl
known-networks list
known-networks SSID forget

Offline

Board footer

Powered by FluxBB