133 questions
-2
votes
0
answers
21
views
Fedora loses connectivity to intranet VPN domain after connection expires [closed]
Fedora 42.
I use the following script to connect to my work VPN using Cisco AnyConnect Secure Mobility Client 4.10.08029
echo -e "$USER\n$(pass company/domain)\n$(pass otp company/mfa)\ny" &...
2
votes
0
answers
38
views
How to provide 4th argument for NM.SecretAgentOldGetSecretsFunc in NM 1.0 when there's no error
I'm using Network Manager (NM 1.0) from PyGObject to create a widget that can show and connect to a network. I created a subclass of NM.SecretAgentOld to provide passwords to NM, basically I just ...
0
votes
0
answers
141
views
Python code to wait for sms messages received by ModemManager
I have a Debian system using ModemManager with a 4G cellular modem (Debian 10 Buster, with ModemManager 1.10 to be precise).
I want to monitor D-Bus messages, with a python app, to wait for received ...
0
votes
0
answers
92
views
IS CAN NM message suppression possible in AUTOSAR
My ECU sends NM message default at startup. I need to control this behavior to send only on certain events. Is that possible? I'm using EB stack.
0
votes
1
answer
589
views
Correct handling of GMainContext acquired from NetworkManager object iterating in thread
I am trying to use the libnm library to call NetworkManager calls from one thread while another thread takes care of iterating the context and handling the callbacks of the asynchronous methods. Yet ...
1
vote
0
answers
1k
views
How to set an ipv4 default gateway with ansible nmcli in RHEL9?
I'm writing a playbook to set the default gateway on a server with RHEL9 and multiple network interfaces.
This is part of a repeated process, we're cloning a VM from a template with default gateway on ...
1
vote
1
answer
828
views
NetworkManager interfers with wpa_supplicant
I'm trying to build an app in C++ to connect 2 Linux devices via WiFi Direct using WPA_Supplicant. Trying to do that in the wpa_cli (with wlo1 interface), I got to the point where with NetworkManager ...
1
vote
1
answer
510
views
Get property of DBus interface in Python
I would like to check current network connection is metered or not. In the Bash I can run:
qdbus --system org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager....
1
vote
1
answer
752
views
Reading full NetworkManager connection information using python-dbus
I am trying to interrogate dbus in python to get NetworkManager to tell me whether or not a connection is configured to attempt to connect automatically to a network.
When I use nmcli to inspect a ...
2
votes
0
answers
222
views
Can't reapply changes to '802-11-wireless.ssid' setting
I am using GObject's python introspection for libnm to write a program that changes connection settings via NetworkManager. In this case, the user will enter the SSID and password of an Access Point ...
2
votes
1
answer
387
views
libnm - What are the necessary steps to create a hotspot?
I want to create a hotspot network using libnm in C. I tried following the following steps:
Connect to NetworkManager using nm_client_new(NULL, NULL);
Get the wlan device ...
0
votes
1
answer
271
views
How can I run `sudo dpkg --configure -a` headless with "[info] Restarting NetworkManager"
An installation was interrupted. To fix it, I need to run
sudo dpkg --configure -a
However, I'm headless (Ubuntu, Raspberry Pi), and connect via ssh. dpkg wants to restart the network manager, i.e., ...
1
vote
0
answers
238
views
nmcli create Hotspot with HT parametrs
i have created a Hotspot with nmcli command. But the Hotspot have very low bandwidth. After debugging found out that the HT parameters isn't set.
Would like to know how to set the HT parameters using ...
0
votes
1
answer
495
views
Network Manager ipv6.method=disabled from which version?
Does anyone know, from which version is in Network Manager available option disabled? I am writing puppet module and to write it propperly I have to specify in which version to use ignore and where to ...
1
vote
3
answers
191
views
NetworkManager: nm_setting_gsm_get_pin returns NULL
I'm trying to use libnm to communicate with NetworkManager from a custom application. But I've run into a problem.
Whenever I try to read the configured PIN code using nm_setting_gsm_get_pin, NULL is ...
2
votes
0
answers
72
views
How can I get notified if the network connection state has changed in linux, without polling? [duplicate]
I am trying to write a piece of go code that will trigger an expensive function. Right now the expensive function is triggered in an interval of a five seconds.
The thing is, that it only needs to be ...
1
vote
2
answers
3k
views
What the heck is a dbus argument of type a{sa{sv}} in the Network Manager API?
I'm looking through the dbus api for Network Manager and there are methods with inputs of type a{sa{sv}}.
I'm still new to dbus but if I'm interpreting the definition of signature specifiers in https:/...
0
votes
1
answer
617
views
Network-Manager automatically disconnects after 20 seconds
I have a Quectel EG25-G setup but whenever I connect (right after a reboot) it connects for 20 seconds and then disconnects.
It happens at the
Jun 24 04:59:32 linux NetworkManager[5093]: <info> [...
0
votes
1
answer
2k
views
networkmanager an issue managing bridge
I'm currently have this:
br0: connected to bridge-br0
"br0"
bridge, 02:81:A4:CF:CE:9F, sw, mtu 1500
ip4 default
inet4 192.168.1.10/24
route4 192.168.1....
0
votes
1
answer
367
views
Passing Type to Dio Interceptors Flutter
I am using a base network manager and custom Dio interceptors. I am getting type of the response via the network request sender method like this:
Future<IResponseModel<R>> send<T ...
1
vote
0
answers
388
views
NetworkManager.conf reset to "404: NotFound" every time service is restarted
i encountered a problem while working with the NetworkManager service on my Raspberry pi 4, i am running it with openSUSE Tumbeweed JeOS, so the default is not networkmanager but wicked, i started to ...
0
votes
1
answer
763
views
How do I request a scan on a Wi-Fi device using libnm?
The documentation suggests I use nm-device-wifi-request-scan-async, but I don't understand how to understand when it's has finished scanning. What's the correct second parameter I should pass, how is ...
1
vote
1
answer
1k
views
How to determine an SELinux rule from an error in dbus-monitor output
I have an issue in a yocto based embedded linux system. I have tracked it down to an interaction between dbus and SELinux, and using dbus-monitor I can see the following error:
error time=1621869986....
2
votes
3
answers
31k
views
How to delete a connection by type with nmcli?
I want to have a bash script that can delete all my network manager connections of type gsm with nmcli.
What is the best approach for this?
1
vote
1
answer
1k
views
Change IP Address using libnm and glib
I'm trying to use libnm to change the ip address of my interface inside a C++ application, but I cannot find a good example around. For now I was able to get the device handler and ask for connections....