Re: Using both VPN and non-VPN (default route non-VPN)

2018-12-10 Thread Andrei Borzenkov via networkmanager-list
10.12.2018 21:02, Alexandre Garreau via networkmanager-list пишет: > On 2018-12-10 at 18:16, Thomas Haller wrote: >> you need to have the routes configured properly, which depends on your >> environment. > > Maybe should I ask on debian mailing-lists (not that much active, not > sure I can get

Listing currently registered secret agents?

2019-04-19 Thread Andrei Borzenkov via networkmanager-list
Is there any way to see which secret agents are currently registered with NM? basically to see where user connection secrets may be stored? Thank you! ___ networkmanager-list mailing list networkmanager-list@gnome.org

Re: Set permanent route to IPv6 subnet on interface

2020-03-26 Thread Andrei Borzenkov via networkmanager-list
26.03.2020 11:15, Jeremy Ardley пишет: > What is the best NetworkManager method to add a permanent route to an > ipv6 subnet on an interface? > > I can add a temporary route outside of NetworkManager thus: > > ip -6 route add 2001:db8:c111:b000::/56 dev eth0 > Many aspects of IPv6 implicitly

Re: IPV6 auto method not working

2020-03-25 Thread Andrei Borzenkov via networkmanager-list
26.03.2020 02:48, Jeremy Ardley пишет: > I have a debian stretch system acting as a client. > > I have another system acting as ipv6 router and dhcpv6 server . I am > using isc-dhcp-server and radvd router advertisements. > > My issue is that the client instance of NetworkManager is not behaving

Re: Need help porting ifcfg-ppp0 config to NetworkManager

2020-03-27 Thread Andrei Borzenkov via networkmanager-list
28.03.2020 00:30, Beniamino Galvani via networkmanager-list пишет: > On Thu, Mar 26, 2020 at 09:09:36AM +, David Howells via > networkmanager-list wrote: >> Hi, >> >> I need some help porting an ifcfg-ppp0 config from my old internet gateway >> which was running to Fedora 16 to my new

Re: Putting interface always up with NetworkManager

2020-10-16 Thread Andrei Borzenkov via networkmanager-list
On Fri, Oct 16, 2020 at 10:15 AM Andrei Petru Mura via networkmanager-list wrote: > > Hi, > > In my CentOS 8, I want to make my network card to be configured at boot time. > The networking is managed by NetworkManager. I configured the connection with > nmcli as such: > > nmcli con add type

Re: Putting interface always up with NetworkManager

2020-10-16 Thread Andrei Borzenkov via networkmanager-list
16.10.2020 13:19, Andrei Petru Mura пишет: > Hi Andrei, > > What value should I set to ignore-carrier? > Is it ok if I proceed like this: > > in /etc/NetworkManager/conf.d/general.conf > > I'll put this: > [device] > match-device=interface-name:enp5s0f1 > ignore-carrier=yes > > ? > Works for

Re: How to send DHCPv6 request with IA-PD option within NM

2020-08-28 Thread Andrei Borzenkov via networkmanager-list
On Fri, Aug 28, 2020 at 12:45 PM Mars via networkmanager-list wrote: > > hi all, > > For CentOS 8, NetworkManager is default to manage and configure network > devices, I want to obtain IPv6 address via dhcpv6, found NM always send > dhcpv6 packet with ia-na option, I tried internal dhcp

Re: NetworkManager removes *STATIC* IP address from interface when link down

2020-07-06 Thread Andrei Borzenkov via networkmanager-list
07.07.2020 04:51, Graham пишет: > Thomas, I'm still struggling with this one. > > I read the man page and have created a new file in > /etc/NetworkManager/conf.d > > I also note that the "main" option that you suggested is deprecated in > favour of per-device options, but I have been unable to

Re: How to configure NM using dhclient-script file

2020-11-27 Thread Andrei Borzenkov via networkmanager-list
That's rather concise answers. 28.11.2020 06:00, Mars via networkmanager-list пишет: > Hi Thomas, > > > Much thanks for your reply, my problem is that NM cannot deal with the > DHCPv6 message with IA_PD option, It is unclear what you mean here. NM supports IA_PD for connection sharing, it

Re: Understanding IPv6-PD over PPPoE

2021-06-16 Thread Andrei Borzenkov via networkmanager-list
On Wed, Jun 16, 2021 at 11:39 AM Beniamino Galvani via networkmanager-list wrote: > > > > It feels as though NetworkManager should always be making both IA_NA and > > IA_PD requests and, if it didn't receive an IA_NA response from the ISP, it > > should assign an address from the delegated prefix

Re: Understanding IPv6-PD over PPPoE

2021-06-16 Thread Andrei Borzenkov via networkmanager-list
On Wed, Jun 16, 2021 at 12:13 PM Beniamino Galvani wrote: > > On Wed, Jun 16, 2021 at 11:43:36AM +0300, Andrei Borzenkov wrote: > > > It is explicitly prohibited to assign any IA_PD prefix to the same > > interface via which this was obtained. > > > >

Re: Understanding IPv6-PD over PPPoE

2021-06-16 Thread Andrei Borzenkov via networkmanager-list
On Wed, Jun 16, 2021 at 12:28 PM Steve Hill wrote: > > On 16/06/2021 10:07, Andrei Borzenkov wrote: > > > The default and standard method to assign IPv6 address is SLAAC. > > DHCPv6 is optional. You need to investigate why SLAAC address was not > > assigned. > > As I said, I'm not 100% sure that

Re: Understanding IPv6-PD over PPPoE

2021-06-16 Thread Andrei Borzenkov via networkmanager-list
On Wed, Jun 16, 2021 at 12:03 PM Steve Hill wrote: > > On 16/06/2021 09:43, Andrei Borzenkov wrote: > > > It is explicitly prohibited to assign any IA_PD prefix to the same > > interface via which this was obtained. > > > >the requesting router MUST

Re: VPN connection disappeared from networkmanager

2021-07-11 Thread Andrei Borzenkov via networkmanager-list
On 11.07.2021 19:30, David H Durgee via networkmanager-list wrote: > As you can see froman earlier post I am working to add a VPN connection > to secure my connection when out of the office.  I don't know how or > why, but my VPN connection no longer shows in the connections list! > Given this of

Re: org.freedesktop.NetworkManager.Settings.PropertiesChanged deprecated

2021-07-14 Thread Andrei Borzenkov via networkmanager-list
On 14.07.2021 14:32, m...@mike.franken.de wrote: > Hi, > > thx for your answer. > > On Mittwoch, 14. Juli 2021 13:19:44 CEST Thomas Haller wrote: > [...] >>> I use the perl module Net::DBus for this job. >>> The following snippet shows how far I got up to date: >>> >>> my $busobjpath =

Re: org.freedesktop.NetworkManager.Settings.PropertiesChanged deprecated

2021-07-14 Thread Andrei Borzenkov via networkmanager-list
On 14.07.2021 19:58, m...@mike.franken.de wrote: > Hi, > > On Mittwoch, 14. Juli 2021 16:52:53 CEST Andrei Borzenkov via networkmanager- > list wrote: > [...] >>> >>> Probably there is a fundamental misunderstanding regaring the concept on >>> my

Re: org.freedesktop.NetworkManager.Settings.PropertiesChanged deprecated

2021-07-14 Thread Andrei Borzenkov via networkmanager-list
On 14.07.2021 21:57, m...@mike.franken.de wrote: > RuntimeError: To make asynchronous calls, receive signals or export objects, > D-Bus connections must be attached to a main loop by passing mainloop=... to > the constructor or calling dbus.set_default_main_loop(...) > > Here is full import

Re: org.freedesktop.NetworkManager.Settings.PropertiesChanged deprecated

2021-07-15 Thread Andrei Borzenkov via networkmanager-list
On Thu, Jul 15, 2021 at 11:27 AM wrote: > > On Donnerstag, 15. Juli 2021 06:45:06 CEST Andrei Borzenkov via > networkmanager-list wrote: > [...] > > > #!/usr/bin/perl -w > > > > > > use strict; > > > > > > use Data::Dumper; > >

Re: org.freedesktop.NetworkManager.Settings.PropertiesChanged deprecated

2021-07-14 Thread Andrei Borzenkov via networkmanager-list
On 14.07.2021 19:30, m...@mike.franken.de wrote: > Hi, > > On Mittwoch, 14. Juli 2021 16:52:15 CEST Thomas Haller wrote: > [...] >>> so how can I use org.freedesktop.DBus.Properties.PropertiesChanged >>> then? >>> What would be the correct way instead? >>> Using >>> my $busobjpath =

Re: org.freedesktop.NetworkManager.Settings.PropertiesChanged deprecated

2021-07-15 Thread Andrei Borzenkov via networkmanager-list
On Wed, Jul 14, 2021 at 5:52 PM Thomas Haller via networkmanager-list wrote: > > So, yes, there should be not much to do except replace the interface > name "org.freedesktop.NetworkManager*" with > "org.freedesktop.DBus.Properties". > It is probably oversimplified. Signatures are different, so

Re: Make NetworkManager connection profiles without changing the current network configuration

2021-08-03 Thread Andrei Borzenkov via networkmanager-list
On 03.08.2021 17:38, Thomas Haller via networkmanager-list wrote: > > Also, if you modify profiles via D-Bus API (which is what nmcli does), > then the configuration only take effect when activating the profile the > next time. I mean, the profile changes immediately, but the current > network

Chrony IPv6 sources offline after resume - dispatcher script runs before IPv6 is up

2021-08-12 Thread Andrei Borzenkov via networkmanager-list
Chrony comes with sample NetworkManager dispatcher script that offlines NTP sources when interface goes down and onlines them when interface comes up. Technically it runs "chronyc onoffline" which tries to determine whether each source can be reached. This script is actually installed by

Re: Question on using NM to connect to wifi AP

2021-07-28 Thread Andrei Borzenkov via networkmanager-list
On 28.07.2021 19:29, Michael Uman wrote: > Hello, > This is my 1st post to the list so please be forgiving if I am not asking > the question correctly. I am trying to use NM to connect to a wifi SSID and > I have the SSID and password, but I cannot figure out which interfaces and > which objects

Re: Enable virtual interface in pre.d script

2021-11-19 Thread Andrei Borzenkov via networkmanager-list
On 19.11.2021 16:36, Eric wrote: > I have a chicken/egg problem. > > I want to have wlan1 as an interface. I have created a connection to use it. > But it doesn’t exist on reboot so I’d like to have a script in pre.d/ that > will add the interface but NM refuses to start the connection

Re: Enable virtual interface in pre.d script

2021-11-20 Thread Andrei Borzenkov via networkmanager-list
On 20.11.2021 16:15, Eric wrote: > On 19.11.2021 16:36, Eric wrote: > I have a chicken/egg problem. > > I want to have wlan1 as an interface. I have created a connection to use it. > But it doesn?t exist on reboot so I?d like to have a script in pre.d/ that > will add the interface but NM

Re: connection to disable an interface

2022-05-13 Thread Andrei Borzenkov via networkmanager-list
On 14.05.2022 00:23, Adrian Freihofer via networkmanager-list wrote: > Hi > > Is it somehow possible to disable an interface via NetworkManager? > > I am thinking of something like: > > nmcli connection modify con-eth0 802-3-ethernet.phy disabled > nmcli connection up con-eth0 > > which would

Re: connection to disable an interface

2022-05-14 Thread Andrei Borzenkov via networkmanager-list
On 14.05.2022 22:24, Thomas Haller wrote: > Hi, > > > On Sat, 2022-05-14 at 07:38 +0300, Andrei Borzenkov via networkmanager- > list wrote: >>> >>> >>> The background is a security requirement. Unused interfaces must >>> ideally remain disable

Programmatically manage no-auto-default.state file?

2022-08-10 Thread Andrei Borzenkov via networkmanager-list
When automatic connection is deleted/modified, interface is added to /var/lib/NetworkManager/no-auto-default.state. Is there any device property to show "no-auto-default" state? Is there any command/D-Bus API to remove interface from this list? ___

Re: Programmatically manage no-auto-default.state file?

2022-08-10 Thread Andrei Borzenkov via networkmanager-list
On 10.08.2022 13:09, Thomas Haller wrote: > On Wed, 2022-08-10 at 09:01 +0300, Andrei Borzenkov via networkmanager- > list wrote: >> When automatic connection is deleted/modified, interface is added to >> /var/lib/NetworkManager/no-auto-default.state. Is there any device &