how to set psk-flags=0 disabling encrypted psk storage as default for gnome-network-manager
- From: Jelle de Jong <jelledejong powercraft nl>
- To: networkmanager-list gnome org
- Subject: how to set psk-flags=0 disabling encrypted psk storage as default for gnome-network-manager
- Date: Thu, 12 Mar 2020 23:44:54 +0100
Hi everybody,
I want to find a way to keep WiFi networks connected before user logins
or logoff.
The problem seems to be that network-manager tries to auto connect but
does not have access to the encrypted key. I am going through the docs
and there is an psk-flags=0 that should tell to not use encrypted storage.
How do I set psk-flags=0 as default for gnome-network-manager, i cant
seem to find the right dbus or polkit policy.
tried the bellow in /etc/NetworkManager/NetworkManager.conf but did not
work.
[802-11-wireless-security]
psk-flags=0
[wifi-security]
psk-flags=0
Kind regards,
Jelle de Jong
On 2020-03-11 20:19, Jelle de Jong via networkmanager-list wrote:
Hello everybody,
This seems to be gnome-network-manager question but I hope I can find
support here:
I am trying to make it possible for a user to connect to a protected
wifi and then reboot the machine and have it connect to the wifi without
having to login first (unlock gnome-keyring ect).
So I have been trying to figure out different ways but non are working
or I did them incorrect.
1) How do I enable to option "All users may connect to this network" by
default which seems to be the connection.permissions and I asked about
this in my previous mail on this list.
2) How do I disable the use of encrypted wifi password in gnome with new
connections made with the nm-applet gui so network manager can automatic
connect on boot before login.
3) How can I make network-manager have assess to the gnome-keyring
before login of the user so tit can connect to the portected wifi.
4) I tried the bellow but without luck:
pkaction --action-id org.freedesktop.NetworkManager.wifi.share.protected
--verbose
sudo su jdoe -c "nmcli general permissions"
cat
/var/lib/polkit-1/localauthority/10-vendor.d/org.freedesktop.NetworkManager.pkla
Identity=unix-group:netdev;unix-group:sudo;unix-user:systemd-network;unix-group:ipausers
Action=org.freedesktop.NetworkManager.settings.modify.system
ResultAny=yes
ResultInactive=yes
ResultActive=yes
Identity=unix-group:netdev;unix-group:sudo;unix-user:systemd-network;unix-group:ipausers
Action=org.freedesktop.NetworkManager.wifi.share.protected
ResultAny=yes
ResultInactive=yes
ResultActive=yes
Identity=unix-group:netdev;unix-group:sudo;unix-user:systemd-network;unix-group:ipausers
Action=org.freedesktop.NetworkManager.enable-disable-network
ResultAny=no
ResultInactive=yes
ResultActive=yes
Kind regards,
Jelle de Jong
_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
https://mail.gnome.org/mailman/listinfo/networkmanager-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]