different ways to connect to protected wifi during boot for nm-applet created connections on gnome (encrypted psk)



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]