Hello, When i’m trying to change a setting in wifi network i can’t Apply it using the Apply button : When sharing wifi network on a mobile device the desktop pc is automatically trying to log to the wifi network. I would like to set this setting Off but i can’t . In the general config tab i can unselect the box saying that the network device is “automatically login in with priority …” … but when i want to apply this config i can’t . I only have the “Ok” button that is available and not the “Apply” one (can’t be selected) I have an error message saying no agent is available. Is there a way to solve this ? Thank you
Hallo Manchette,
I am amateur like but just a suggestion. Do you tried the simple way?
Look to the control bar at the bottom of the Desktop. In the right corner you see this little icons.
From left to right it is for the Clipboard, Volumecontrol and then Networks and the Clock.
Click to the Network icon, a transparent field appears. On the top it is named “Networks” or for germans like me “Netzwerke”
or in french language maybe “Reseau” (this i have from Google Translator, don’t blame me…)
Under the name you see 2 little boxes. Left the symbol for Wireless, right for Flightmode.
When your wireless is working the left one should be “Blue” for activated. Click to it
to make it “Black” and switched off.
I wanted to add some screenshots. But this funny guys here only allow “Image from URL”.
I have no idea why and for what. Just Opensuse…
I am fighting with VPN connection. No one all around the world seems to have the same problem.
With Ubuntu it is absolutely no problem… Same Networkmanager (from Debian) as OpenSuse is using…
But just more clever.
Also "no agent available " for my problem.
This is just a construction site…
@debiente is likely correct,
Your problem may be related to accessing Network Manager a different way and not configuring the correct connection settings.
Although shouldn’t happen, you may be running into a permissions problem unable to change that setting or something else may be running that’s dependent on that setting.
A quick search suggests “no agents available” means that Network Manager is not communicating with a necessary piece of software on your system…
TSU
There are several options that come to my mind. You could try to
- use nmtui
to apply the change. - use nmcli
to apply the change. - edit (as root) the connection file in /etc/NetworkManager/system-connections/
and set autoconnect=false. After you have saved the updated file you need to restart networkmanager with ```
systemctl restart network
However if your problem is permission-related then the first two options might not work.
Regards
susejunky
Thank you, i understand what you mean : switching off wifi is a way to avoid the problem. I’d like to understand why it does not work though. It should work.
Hello ;=) Thank you. When i tried the 1st one (nmtui) from console it worked, as a user (not as root) i was then able to modify the interface and switch offf auto connection :=) Can i change a permission for it to work with network manager graphical user interface ?
I do not understand what you are asking for (sorry, i’m no native English speaker).
plama-nm5 (the KDE desktop widget, probably what you called “network manager graphical user interface”), nmtui and nmcli are just different tools which all allow you to control** NetworkManager**.
Regards
susejunky
Hello ;=)
I was wondering if the plasma widget can allow me to do what i can from the command line interface. Is it because of permissions ?
I can see this :
nmcli general permissions
PERMISSION VALUE
org.freedesktop.NetworkManager.enable-disable-network oui (=yes)
org.freedesktop.NetworkManager.enable-disable-wifi oui
org.freedesktop.NetworkManager.enable-disable-wwan oui
org.freedesktop.NetworkManager.enable-disable-wimax oui
org.freedesktop.NetworkManager.sleep-wake oui
org.freedesktop.NetworkManager.network-control oui
org.freedesktop.NetworkManager.wifi.share.protected auth
org.freedesktop.NetworkManager.wifi.share.open auth
org.freedesktop.NetworkManager.settings.modify.system auth
org.freedesktop.NetworkManager.settings.modify.own oui
org.freedesktop.NetworkManager.settings.modify.hostname auth
org.freedesktop.NetworkManager.settings.modify.global-dns auth
org.freedesktop.NetworkManager.reload auth
org.freedesktop.NetworkManager.checkpoint-rollback auth
org.freedesktop.NetworkManager.enable-disable-statistics oui
org.freedesktop.NetworkManager.enable-disable-connectivity-check oui
org.freedesktop.NetworkManager.wifi.scan inconnu (=unknown)
User permissions are governed by polkit:
From polkit homepage:
polkit is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes: It is a framework for centralizing the decision making process with respect to granting access to privileged operations for unprivileged applications.
Polkit is used for controlling system-wide privileges. It provides an organized way for non-privileged processes to communicate with privileged ones. In contrast to systems such as sudo, it does not grant root permission to an entire process, but rather allows a finer level of control of centralized system policy.
Polkit works by delimiting distinct actions, e.g. running GParted, and delimiting users by group or by name, e.g. members of the wheel group. It then defines how – if at all – those users are allowed those actions, e.g. by identifying as members of the group by typing in their passwords.
Ah, now i understand. Thank you.
I would expect that plasma-nm5 and nmtui (both used as a “normal” user) would behave identically, i.e. would allow you to do the same things.
Can you revert the changes you made with nmtui by using plasma-nm5?
If not, please show the content of the networkmanager-connection-file which you are trying to change.
Regards
susejunky