Re: IP interface name of PPP connection

2019-07-29 Thread Thomas Haller via networkmanager-list
On Mon, 2019-07-29 at 21:27 +0200, Joachim Selke wrote: > Hello everyone, > > I have set up a PPP connection and would like to retrieve the name > of > its IP interface (typically it is ppp0, but not always). > > I have been able to get the name of the IP interface in dispatcher > scripts

Re: [PATCH] vpn-manager: respect NM_VPN_PLUGIN_DIR

2019-07-22 Thread Thomas Haller via networkmanager-list
On Thu, 2019-07-18 at 20:39 +0200, Jelle Licht wrote: > Thomas Haller writes: > > > [snip] > > if you have > > > > /gnu/store/123verylonghash-networkmanager-1.18.2/ > > /gnu/store/234verylonghash-networkmanager-1.20.0/ > > > > and > > > >

Re: [PATCH] vpn-manager: respect NM_VPN_PLUGIN_DIR

2019-07-18 Thread Thomas Haller via networkmanager-list
On Thu, 2019-07-18 at 13:27 +0200, Jelle Licht wrote: > Thomas Haller writes: > > > On Wed, 2019-07-17 at 11:46 +0200, Jelle Licht wrote: > > [snip] > > But the daemon runs as root, so setting NM_VPN_PLUGIN_DIR requires > > you > > to become root, to restart the daemon, and to set the

Re: [PATCH] vpn-manager: respect NM_VPN_PLUGIN_DIR

2019-07-17 Thread Thomas Haller via networkmanager-list
On Wed, 2019-07-17 at 11:46 +0200, Jelle Licht wrote: > From: Tomáš Čech Hi, This was not done intentionally (so far). Clients (nm-applet, nmcli) may load the client parts of the VPN plugins (the libnm.plugin setting from the .name file). That's useful to show the GTK configuration dialog or

Re: [PATCH] Allow use of TPM2-wrapped keyfiles

2019-07-09 Thread Thomas Haller via networkmanager-list
On Mon, 2019-07-08 at 18:46 +0200, Daniel Kobras wrote: > Hi all! > > Using either GnuTLS or one of the TPM2 engines for OpenSSL, it's > possible to use keyfiles that are encrypted with a wrapping key from > a > TPM2 device. Implementations have started to use special PEM headers > for > these

Re: Reconnecting GSM profile after a long period of no signal

2019-06-26 Thread Thomas Haller via networkmanager-list
On Tue, 2019-06-25 at 19:07 +, Matthew Starr wrote: > > -Original Message- > > From: Thomas Haller [mailto:thal...@redhat.com] > > Sent: Thursday, June 20, 2019 3:22 AM > > > > On Tue, 2019-06-18 at 22:58 +, Matthew Starr wrote: > > > I am running NetworkManager 1.12.0 on an

Re: Reconnecting GSM profile after a long period of no signal

2019-06-20 Thread Thomas Haller via networkmanager-list
On Tue, 2019-06-18 at 22:58 +, Matthew Starr wrote: > I am running NetworkManager 1.12.0 on an embedded Linux device that > has Ethernet, Wi-Fi, and cellular. I am seeing a connection issue on > GSM profiles that are setup for autoconnect=true. If I am able to > establish a connection on

Re: Connection policies control

2019-06-20 Thread Thomas Haller via networkmanager-list
Hi, On Sat, 2019-06-15 at 14:36 +0200, Daniel Vázquez via networkmanager- list wrote: > I'll want to setup a connect security policy like whitelist rules or > similar, some like: > - Users can connect only to any AP with security WPA2 As said, you cannot run you own script that hooks into the

Re: Connection policies control

2019-06-16 Thread Thomas Haller via networkmanager-list
On Sat, 2019-06-15 at 14:36 +0200, Daniel Vázquez via networkmanager- list wrote: > Hi guys!! > > I'll want to setup a connect security policy like whitelist rules or > similar, some like: > - Users can connect only to any AP with security WPA2 > - User can connect only to any AP in this list

Re: [PATCH] core/pppd-plugin: wait to recover port settings before notifying death

2019-06-14 Thread Thomas Haller via networkmanager-list
On Thu, 2019-06-13 at 18:23 +0200, Alfonso Sánchez-Beato via networkmanager-list wrote: > pppd restores the previous settings for the serial port it uses right > before exiting. It is especially important to do so because otherwise > ModemManager is not able to recover the port as it can receive a

Re: Looking for advice how to start contributing in NetworkManager and implement Hotstpot 2.0 feature for WiFi

2019-06-13 Thread Thomas Haller via networkmanager-list
On Thu, 2019-06-13 at 14:17 +0600, work vlpl via networkmanager-list wrote: > Hello, > > I want to contribute to NetworkManger but don't know where to start, > so I am looking for advise how I can start it. Hi, thanks for reaching out. We would very welcome your help! > wpa_supplicant supports

Re: Fwd: Added configuration for TELEKOM.RO (Romanian provider)

2019-06-12 Thread Thomas Haller via networkmanager-list
On Mon, 2019-06-10 at 16:11 +0300, fo'rika endre wrote: > -- Forwarded message - > From: fo'rika endre > Date: Mon, Jun 10, 2019 at 4:10 PM > Subject: Added configuration for TELEKOM.RO (Romanian provider) > To: < >

NetworkManager licensing and all new contributions must be under LGPL-2.0+

2019-06-11 Thread Thomas Haller via networkmanager-list
Hi all, TL;DR: if you contribute to NetworkManager ([1]), then these contributions must be made under terms of LGPL-2.0+ license. The source code of NetworkManager [1] both contains the daemon and the client library (libnm). Traditionally, the daemon is GPL-2.0+ licensed, while the library

Re: spamming router with router solicitations

2019-06-02 Thread Thomas Haller via networkmanager-list
On Sat, 2019-06-01 at 07:00 -0400, Brian J. Murrell wrote: > On Thu, 2019-05-30 at 12:23 +0200, Thomas Haller via networkmanager- > list wrote: > > On Wed, 2019-05-29 at 12:23 -0400, Brian J. Murrell wrote: > > > On Wed, 2019-05-29 at 09:28 +0200, Thomas Haller via > > &

Re: spamming router with router solicitations

2019-05-30 Thread Thomas Haller via networkmanager-list
On Wed, 2019-05-29 at 12:23 -0400, Brian J. Murrell wrote: > On Wed, 2019-05-29 at 09:28 +0200, Thomas Haller via networkmanager- > list wrote: > > If this is happening, when you kill NetworkManager with SIGKILL, it > > would not give NetworkManager to cleanup... > > >

Re: spamming router with router solicitations

2019-05-29 Thread Thomas Haller via networkmanager-list
On Mon, 2019-05-27 at 06:59 -0400, Brian J. Murrell wrote: > On Mon, 2019-05-27 at 10:16 +0200, Beniamino Galvani via > networkmanager-list wrote: > > Are you sure you don't have other daemons like systemd-networkd > > # repoquery -q systemd-networkd > systemd-networkd-0:219-62.el7_6.6.x86_64 >

Re: [PATCH] nm-hostname-manager.c: Use fqdn for persistent hostname on Slackware

2019-05-19 Thread Thomas Haller via networkmanager-list
On Sat, 2019-05-18 at 21:08 -0500, Robby Workman wrote: > The attached patch can be applied to master and 1.12 branches. > It's specific to the hostname handling on Slackware, so it > shouldn't affect anyone else. > Hi, Merged to upstream. Since the patch only affects Slackware, I assume you

Re: [PATCH] Add support of disabling IPv6.

2019-05-18 Thread Thomas Haller via networkmanager-list
On Sat, 2019-05-18 at 20:32 +0800, Gris Ge via networkmanager-list wrote: > **My first patch to NM, need some help for test cases** > > Use NM_SETTING_IP6_CONFIG_METHOD_DISABLED/"disabled" for disabling > IPv6 per profile. > > Signed-off-by: Gris Ge Hi Gris, great that you gave it a shot!!

ANN: NetworkManager 1.18.0 released

2019-04-21 Thread Thomas Haller via networkmanager-list
Hi, I am happy to announce the newest major release of NetworkManager. While NetworkManager 1.16.0 took 6 months after the previous release, 1.18.0 comes with just one month of development time. The reason for this shorter time is that we want to get some of the new features into RHEL 7.7, and

Re: How to deal with a new Wifi Adapter?

2019-04-11 Thread Thomas Haller via networkmanager-list
On Thu, 2019-04-11 at 10:16 -0400, Derek Atkins wrote: > Thanks, Thomas, > > Thomas Haller via networkmanager-list > writes: > > [snip] > > Any chance you could give a quick explanation of what these (two?) > sets > of commands are doing? Hi, UUID

Re: How to deal with a new Wifi Adapter?

2019-04-10 Thread Thomas Haller via networkmanager-list
On Wed, 2019-04-10 at 12:24 -0400, Derek Atkins wrote: > Hi, > I'm currently running Fedora 29 and my embedded wifi adapter is > failing. So I bought a USB Wifi adapter, which seems to be working > well.. Except for one problem: Network Manager does not know to > apply > all my existing wifi

Re: Adding basic OpenVPN PKCS#11 support

2019-04-02 Thread Thomas Haller via networkmanager-list
On Tue, 2019-03-26 at 08:41 +0100, Martin Forssen via networkmanager- list wrote: > Hello, > > I have the need to run OpenVPN with PKCS#11 hardware certificates on > Linux. This does currently not seem to be possible with > NetworkManager. > > I have looked around a bit and realize this is a can

Re: openvpn: "Authenticate/Decrypt packet error: bad packet ID", link-mtu=1472 consequences

2019-04-02 Thread Thomas Haller via networkmanager-list
On Wed, 2019-03-27 at 18:56 +, avemilia via networkmanager-list wrote: > Sorry, I have assumed that the VPN tunnel is up with this link-mtu > setting, but > in reality it is not. Hi, Try: sudo nmcli general logging level TRACE domains ALL,VPN_PLUGIN:TRACE and reactivate the VPN

ANN: NetworkManager 1.16.0 released

2019-03-15 Thread Thomas Haller via networkmanager-list
Hi, today we released NetworkManager 1.16.0. See the NEWS file https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/NEWS?id=1.16.0 and the overview written by Lubomir https://blogs.gnome.org/lkundrak/2019/03/15/networkmanager-1-16/ Find the tarball at our usual location:

ANN: NetworkManager 1.15.91 (1.16-rc2) released

2019-03-11 Thread Thomas Haller via networkmanager-list
Hi, there is now a second release candidate for upcoming 1.16.0. While it was planned to release 1.16.0 shortly after 1.16-rc1 [1], there were some issue which warrant a delay and this second release- candidate. There are API and ABI changes compared to 1.16-rc1. Notable changes are: -

Re: [PATCH] tests: Fix variant_from_dbus() for arrays of UInt32

2019-03-07 Thread Thomas Haller via networkmanager-list
On Wed, 2019-03-06 at 11:59 +0100, Frédéric Danis via networkmanager- list wrote: > Using test-networkmanager-servic.py, I get the following error when > trying to add manual config with a dns address: > Hi, looks good. Merged as

Re: [RFC] [nmstate] Linux routing in nmstate

2019-03-04 Thread Thomas Haller via networkmanager-list
On Mon, 2019-03-04 at 22:11 +0800, Gris Ge wrote: > Based on feedbacks, this is V2 scheme for review: > > ``` > { > "routes": { > "ipv4": [ # Sorted with 'table-id' then > 'destination' > { > "status": "up", >

Re: [RFC] [nmstate] Linux routing in nmstate

2019-02-28 Thread Thomas Haller via networkmanager-list
Hi, On Tue, 2019-02-26 at 14:56 +0800, Gris Ge via networkmanager-list > "protocol": "dhcp", # "static" or "dhcp" "protocol" sounds a bit like iproute2's "protocol" option (struct rtmsg's rtm_protocol). But I think it's not. I would call this "source". best, Thomas

Re: [RFC] [nmstate] Linux routing in nmstate

2019-02-28 Thread Thomas Haller via networkmanager-list
On Thu, 2019-02-28 at 22:40 +0200, Edward Haas via networkmanager-list wrote: > Thank you Gris. > Comments in-line. > > On Tue, Feb 26, 2019 at 8:56 AM Gris Ge wrote: > > Hi Guys, > > > > Could you review below schema for routing in nmstate before we > > start > > add routing support in

Re: NM 1.14.6 build error

2019-02-26 Thread Thomas Haller via networkmanager-list
On Tue, 2019-02-26 at 09:03 +0200, Cristian Crinteanu wrote: > .. > src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.c: In function > ‘discover_mac_address’: > src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.c:572:15: error: > storage size of ‘ifr’ isn’t known > struct ifreq ifr; >

Re: nm-applet edit unplugged device connections/profiles

2019-02-22 Thread Thomas Haller via networkmanager-list
On Fri, 2019-02-22 at 09:31 -0600, Greg Oliver via networkmanager-list wrote: > On Fri, Feb 22, 2019 at 9:08 AM Thomas Haller > wrote: > > On Fri, 2019-02-22 at 07:43 -0600, Greg Oliver via networkmanager- > > list > > wrote: > > > Hi, > > > > > > Is there some way to get nm-applet to show

Re: nm-applet edit unplugged device connections/profiles

2019-02-22 Thread Thomas Haller via networkmanager-list
On Fri, 2019-02-22 at 07:43 -0600, Greg Oliver via networkmanager-list wrote: > Hi, > > Is there some way to get nm-applet to show unplugged (ethernet > dongles) devices profiles in it's menu at all times? All of my > recent laptops have been thunderbolt usb-c only and my wired ethernet >

Re: NetworkManager and FirewallD

2019-02-15 Thread Thomas Haller via networkmanager-list
On Fri, 2019-02-15 at 14:38 +0200, Berend De Schouwer wrote: > On Fri, 2019-02-15 at 13:05 +0100, Thomas Haller wrote: > > On Fri, 2019-02-15 at 12:15 +0200, Berend De Schouwer via > > networkmanager-list wrote: > > > > > NetworkManager almost never directly configures iptables. The only > >

Re: libnm

2019-02-15 Thread Thomas Haller via networkmanager-list
On Fri, 2019-02-15 at 12:32 +0200, Kalev Toots wrote: > Hello > > I try to connect 3G GSM modem to network using Network Manager,libnm > API > and C/C++ code. > I cannot find any C/C++ example code which connects prepared NM > profile > to network > and waits until connection is up or error or

Re: NetworkManager and FirewallD

2019-02-15 Thread Thomas Haller via networkmanager-list
On Fri, 2019-02-15 at 12:15 +0200, Berend De Schouwer via networkmanager-list wrote: > Hi, > > I've got a connection setup with NetworkManager on Fedora 29, and > sometimes on reboot the firewall rules are re-ordered. > > The firewall is managed by firewalld. It creates a few zones, and >

Re: networkmanager and hostapd - wireless managed as wired

2019-02-15 Thread Thomas Haller via networkmanager-list
Hi, On Thu, 2019-02-14 at 19:06 +0100, Mithnar Menengrothello via networkmanager-list wrote: > Hi, > > I'm trying to build a gateway/AP with two SSID managed by hostapd > without completely disabling NetworkManager. Base is CentOS7 > > My current setup looks like this and works. > >

Re: Reciving multiple RAs causes NetworkManager to storm the network with RSes

2019-02-15 Thread Thomas Haller via networkmanager-list
On Thu, 2019-02-14 at 10:29 -0500, Brian J. Murrell wrote: > On Thu, 2019-02-14 at 15:16 +0100, Thomas Haller via networkmanager- > list wrote: > > Hi, > > Hi. > > > From the logs it looks like to me the IPv6 address of the sender is > > indeed the instance manag

Re: Reciving multiple RAs causes NetworkManager to storm the network with RSes

2019-02-14 Thread Thomas Haller via networkmanager-list
On Thu, 2019-02-14 at 08:25 -0500, Brian J. Murrell wrote: > On Thu, 2019-02-14 at 13:46 +0100, Thomas Haller wrote: > > Hi, > > Hi, > > > In 1.10.2-16.el7_5, that code looks pretty similar. NetworkManager > > should either log > > > > "router solicitation sent" > > > > or > > > >

Re: Reciving multiple RAs causes NetworkManager to storm the network with RSes

2019-02-14 Thread Thomas Haller via networkmanager-list
Hi, On Thu, 2019-02-14 at 07:01 -0500, Brian J. Murrell wrote: > On Thu, 2019-02-14 at 07:49 +0100, Thomas Haller via networkmanager- > > > It's not clear to me what you mean. > > > > Do you mean, that the many RA received at NetworkManager cause > > NetworkManager to send too frequent RS (in

Re: Reciving multiple RAs causes NetworkManager to storm the network with RSes

2019-02-13 Thread Thomas Haller via networkmanager-list
On Thu, 2019-01-31 at 06:46 -0500, Brian J. Murrell wrote: > On Thu, 2019-01-24 at 17:15 -0500, Brian J. Murrell wrote: > > On Tue, 2019-01-22 at 16:25 -0500, Brian J. Murrell wrote: > > > Seems I already had level=TRACE set. > > > > Was that debug useful? > > So, it seems this behaviour is more

Re: automatic APN selection

2019-02-12 Thread Thomas Haller via networkmanager-list
On Tue, 2019-02-12 at 11:49 +0100, Belisko Marek via networkmanager- list wrote: > Hello, > > I posted yesterday question to ModemManger mailing list about > implementing automatic APN selection (based on mobile broadband > database) and it was pointed [0] out that this feature should be > added

Re: Network connection local to devices.

2019-01-30 Thread Thomas Haller via networkmanager-list
Hi, On Wed, 2019-01-30 at 13:51 +0100, Alexandre Garreau via networkmanager-list wrote: > In what cases here for example? You mean, cases where this behavior is preferred? Good question. Dunno. > And are there ways (like a configuration option) to make so that nm- > applet stop creating

Re: Network connection local to devices.

2019-01-24 Thread Thomas Haller via networkmanager-list
On Tue, 2019-01-22 at 22:25 +0100, Alexandre Garreau wrote: > Thank you very much for your answer! Indeed, just erasing what’s in > “Device” (under “Ethernet” as you said, but only for wired > connections: for wifi (what’s most likely to change and require auth > info), it’s “Wifi”) works. > On

Re: multiple RAs spamming log with policy: set 'enp2s0' (enp2s0) as default for IPv6 routing and DNS

2019-01-22 Thread Thomas Haller via networkmanager-list
On Tue, 2019-01-22 at 08:50 -0500, Brian J. Murrell wrote: > My router is (now) sending multiple RAs instead of aggregating all > prefixes/routes into a single RA as such: > > Soliciting ff02::2 (ff02::2) on pc_bridge... > > Hop limit : 64 ( 0x40) > Stateful

Re: Network connection local to devices.

2019-01-22 Thread Thomas Haller via networkmanager-list
Hi, On Tue, 2019-01-22 at 09:56 +0100, Alexandre Garreau wrote: > How do you do that through GUI? There are several GUIs. For example, in nm-connection-editor there is the "Ethernet" tab with "Device" (which corresponds to the "connection.interface-name" and "ethernet.mac-address" properties).

Re: Network connection local to devices.

2019-01-22 Thread Thomas Haller via networkmanager-list
On Mon, 2019-01-21 at 19:22 +0100, Alexandre Garreau via networkmanager-list wrote: > I often change computer, but keep my configuration files, or even my > whole system. Or, sometimes, I only change or add a new wifi card. > Each time I do that, network-manager becomes unable to automatically >

Re: Access Point & WPA2

2019-01-07 Thread Thomas Haller via networkmanager-list
SCAN_07012019.PDF > On Tue, 2018-12-11 at 20:12 +0100, Thomas Haller wrote:> > On Tue, 2018-12-11 at 12:38 +0200, Berend De Schouwer via> > networkmanager-list wrote:> > > On Tue, 2018-12-11 at 10:58 +0100, Thomas Haller wrote:> > > > On Tue, 2018-12-11 at 10:41 +0200, Berend De

Re: DHCP lease renew

2018-12-24 Thread Thomas Haller via networkmanager-list
On Mon, 2018-12-24 at 13:43 +, Usyskin, Alexander wrote: > > -Original Message- > > From: Thomas Haller [mailto:thal...@redhat.com] > > Sent: Monday, December 24, 2018 11:35 > > To: Usyskin, Alexander ; > > networkmanager- > > l...@gnome.org > > Subject: Re: DHCP lease renew > > > >

Re: signal for (De)ActivateConnection?

2018-12-24 Thread Thomas Haller via networkmanager-list
On Sun, 2018-12-23 at 23:41 +0100, Michael Hirmke wrote: > Hi, > > after a long time I found some time to start the rewrite of my > script. > There are a few questions remaining, though. > > If I understood correctly, for a generic script I have to iterate > over > all existing connections

Re: DHCP lease renew

2018-12-24 Thread Thomas Haller via networkmanager-list
On Mon, 2018-12-24 at 08:03 +, Usyskin, Alexander via networkmanager-list wrote: > Hi > > I'm trying to force DHCP lease renew for specific interface. > Basically replicate in Linux IpRenewAddress function from Win32 API. > Without NetworkManager it's fairly simple, like "dhclient -r eth4 &&

Re: Access Point & WPA2

2018-12-11 Thread Thomas Haller via networkmanager-list
On Tue, 2018-12-11 at 12:38 +0200, Berend De Schouwer via networkmanager-list wrote: > On Tue, 2018-12-11 at 10:58 +0100, Thomas Haller wrote: > > On Tue, 2018-12-11 at 10:41 +0200, Berend De Schouwer wrote: > > > On Mon, 2018-12-10 at 17:22 +0100, Thomas Haller wrote: > > > > On Mon, 2018-12-10

Re: Adhoc via dbus API?

2018-12-11 Thread Thomas Haller via networkmanager-list
On Tue, 2018-12-11 at 10:15 -0500, Jane Wyngaard via networkmanager- list wrote: > Hi, > > I just started using the python dbus API, but am having some > difficulties, hoping someone here might be able to help me? (I did > find the old thread in this list with an example script but API has >

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

2018-12-10 Thread Thomas Haller via networkmanager-list
On Mon, 2018-12-10 at 17:34 +0100, Alexandre Garreau via networkmanager-list wrote: > Hi, > I’ve already asked some help on irc: I have a VPN that provides me a > public IP, which I use to run network servers, but I want to access > the local network I’m connecting too, without passing through the

Re: u-blox R410M modem (QMI) configuration with modern Network-manager

2018-11-30 Thread Thomas Haller via networkmanager-list
On Fri, 2018-11-30 at 11:24 -0800, Tim Harvey wrote: > root@bionic-newport:~# nmcli connection add type gsm con-name mymodem > apn $APN > Error: 'ifname' argument is required. try: $ nmcli connection add type gsm con-name mymodem apn $APN ifname '' or $ nmcli connection add type gsm

Re: D-Bus: Asking for a wifi rescan

2018-11-26 Thread Thomas Haller via networkmanager-list
On Mon, 2018-11-26 at 11:22 +0100, Damien Cassou wrote: > Thomas Haller writes: > > On Mon, 2018-11-26 at 09:53 +0100, Damien Cassou wrote: > > > How do my code know when the scan is finished? > > > > wait for "LastScan" property to change. You don't really care > > about > > the timestamp

Re: D-Bus: Asking for a wifi rescan

2018-11-26 Thread Thomas Haller via networkmanager-list
On Mon, 2018-11-26 at 09:53 +0100, Damien Cassou wrote: > Hi, > > with the interface org.freedesktop.NetworkManager.Device.Wireless, I > can > call the method "RequestScan" on a wifi device. How do my code know > when the > scan is finished? > > Relevant documentation: >

Re: Unable to add IPv6 address?

2018-11-23 Thread Thomas Haller via networkmanager-list
On Fri, 2018-11-23 at 22:26 +0100, Florian Leeber via networkmanager- list wrote: > Hello again, > > this seems to be phone specific for some reason, but we dont know > why. > We cannot add IPv6 addies on the mobile: > > Nov 23 22:23:46 ubuntu-phablet NetworkManager[1774]: > [1543008226.9182]

Re: NetworkManager behavior answers not found in docs

2018-11-15 Thread Thomas Haller via networkmanager-list
On Tue, 2018-11-06 at 12:23 +0100, Thomas HUMMEL wrote: > On 10/26/18 12:55 PM, Thomas HUMMEL wrote: > > > Generally, there are the device states "unmanaged" -> > > > "unavailable" -> > > > and "disconnected". For ethernet devices, a device is usually > > > "unavailable" because it has no carrier.

Re: nmcli connection down

2018-11-13 Thread Thomas Haller via networkmanager-list
On Tue, 2018-11-13 at 14:03 +0100, Thomas HUMMEL wrote: > On 11/13/18 1:56 PM, Thomas Haller wrote: > > > > I think this is just a documentation bug. > > > > Fixed: > > https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=17f9801e07df0c544e0416c65cedc28727476e55 > > > >

Re: nmcli connection down

2018-11-13 Thread Thomas Haller via networkmanager-list
On Thu, 2018-11-08 at 16:30 +0100, Thomas HUMMEL wrote: > Hello, > > nmcli(1) states about the connection down command : > > "Be aware that this command deactivates the specified active > connection, > but the device on which the connection was active, is still ready to > connect and will

Re: NM - dnsmasq, shared conn. no IP to client

2018-11-13 Thread Thomas Haller via networkmanager-list
On Mon, 2018-11-05 at 20:25 +0200, Kemal Kilic via networkmanager-list wrote: > Hello Folks, > > I have 64 bit openSUSE Tumbleweed. > Just a week ago my shared wifi and ethernet connections were working > with NetworkManager > > I do not know what happened but now I got such messages and the >

Re: dns-search ordering on dual nic setup

2018-11-13 Thread Thomas Haller via networkmanager-list
On Mon, 2018-11-12 at 11:37 +0100, Thomas HUMMEL wrote: Hi, > > [I'm talking only about ipv4.method=manual wired ethernet connections > here] > > As far as I experience, the 'search' line in the NetworkManager > resolv.conf file comes from the union of all the ipv4.dns-search > properties of

Re: stale prefix being resurrected on each received RA

2018-11-12 Thread Thomas Haller via networkmanager-list
On Thu, 2018-11-08 at 08:05 -0500, Brian J. Murrell wrote: > Hi. I have NM on 1.12.4 on Fedora 29 sitting behind my Internet > gateway router which has both IPv4 and IPv6 upstream connections. > > Recently one of my IPv6 upstream connections changed and got a new > prefix. My Internet gateway

Re: NetworkManager behavior answers not found in docs

2018-10-26 Thread Thomas Haller via networkmanager-list
On Fri, 2018-10-26 at 12:01 +0200, Thomas HUMMEL wrote: > On 10/26/2018 10:05 AM, Thomas Haller wrote: > > > > Ah, there is also `nmcli -f GENERAL.NM-MANAGED device show eth0 `, > > but > > this just returns (state != "unmanaged"). > > Wait : what's the diffence (if any) between

Re: NetworkManager behavior answers not found in docs

2018-10-26 Thread Thomas Haller via networkmanager-list
Hi, On Thu, 2018-10-25 at 20:35 +0200, Thomas HUMMEL wrote: > On 10/18/2018 11:30 PM, Thomas Haller wrote: > > Btw, note that if you configure the device as unmanaged via > > NM_CONTROLLED=no in ifcfg, then the device cannot be set to > > managed. > > This way of unmanaging a device is definite,

Re: NetworkManager behavior answers not found in docs

2018-10-25 Thread Thomas Haller via networkmanager-list
On Wed, 2018-10-24 at 16:40 +0200, Thomas HUMMEL wrote: > On 10/24/2018 04:11 PM, Thomas HUMMEL wrote: > > > > Reapply doesn't seem to have any relevance with modification or > > > persistance. > > > > Yes so now my understanding of reapply is more like "restore" (to > > its > > original

Re: NetworkManager behavior answers not found in docs

2018-10-25 Thread Thomas Haller via networkmanager-list
On Thu, 2018-10-25 at 15:09 +0200, Thomas HUMMEL wrote: > On 10/25/2018 03:05 PM, Thomas Haller wrote: > > On Thu, 2018-10-25 at 14:58 +0200, Thomas HUMMEL wrote: > > > On 10/24/2018 01:19 PM, Thomas Haller wrote: > > > > > > > > > > Both the device and the profile must be willing to autoconnect

Re: NetworkManager behavior answers not found in docs

2018-10-25 Thread Thomas Haller via networkmanager-list
On Wed, 2018-10-24 at 19:58 +0200, Thomas HUMMEL wrote: > On 10/24/2018 06:22 PM, Thomas Haller wrote: > > > Let's call this "externally managed". Not sure that's helpful, but > > in > > NetworkManager source code it's called like that. > > > > In nmcli output, you cannot really distinguish a

Re: NetworkManager behavior answers not found in docs

2018-10-25 Thread Thomas Haller via networkmanager-list
On Thu, 2018-10-25 at 14:58 +0200, Thomas HUMMEL wrote: > On 10/24/2018 01:19 PM, Thomas Haller wrote: > > > > Both the device and the profile must be willing to autoconnect for > > it > > to happen. It's both ways. That's why you can suppress autoconnect > > on > > both sides. > > > Also,

Re: NetworkManager behavior answers not found in docs

2018-10-24 Thread Thomas Haller via networkmanager-list
On Wed, 2018-10-24 at 15:52 +0200, Thomas HUMMEL wrote: > On 10/24/2018 01:23 PM, Thomas Haller wrote: > > > Hi, > > > > An unmanaged device is in state "unmanaged". All other states (like > > "100 (connected)") are not-unmanaged, which means they are > > "managed". > > > >$ nmcli -f

Re: NetworkManager behavior answers not found in docs

2018-10-24 Thread Thomas Haller via networkmanager-list
On Tue, 2018-10-23 at 17:29 +0200, Thomas HUMMEL wrote: > On 10/17/2018 10:38 AM, Thomas Haller wrote: > > 3) if you do > > > >nmcli device disconnect eth0 > >ip addr add 192.168.7.5/24 dev eth0 > > > > NM now creates an in-memory connection "eth0". This means that > >

Re: NetworkManager behavior answers not found in docs

2018-10-24 Thread Thomas Haller via networkmanager-list
On Tue, 2018-10-23 at 15:25 +0200, Thomas HUMMEL wrote: > On 10/18/2018 11:30 PM, Thomas Haller wrote: > > The profile has a "connection.autoconnect" property. If it's "no", > > the > > profile never autoconnects. Period. > > > > But there also needs to be a device which is currently in a state >

Re: NetworkManager behavior answers not found in docs

2018-10-24 Thread Thomas Haller via networkmanager-list
On Fri, 2018-10-19 at 19:22 +0200, Thomas HUMMEL wrote: Hi, > > > > Usually, NetworkManager (the daemon) does not automatically > > > > create > > > > connection profiles > > > > > > > > > But when it does (as in your cases), is it always only in RAM > > > (unless > > > we > > > then save the

Re: IPv6 RA route add/removal does not trigger dispatch action

2018-10-22 Thread Thomas Haller via networkmanager-list
On Sun, 2018-10-21 at 18:18 -0700, Matthew Gyurgyik wrote: > My ISPs router/modem does not support DHCPv6 and therefore I can only > use stateless configuration. To deal with some silliness from my from > my ISP, I need perform some extra configuration once the interface > gets an IP address. I'd

Re: NetworkManager behavior answers not found in docs

2018-10-18 Thread Thomas Haller via networkmanager-list
On Wed, 2018-10-17 at 19:34 +0200, Thomas HUMMEL wrote: > Hello, > > thanks for your answers. Very useful ! > Much content to digest ;-) > > > you can ignore > > initscripts entirely. > > I know, I was just curious about how they used D-Bus and nmcli and > how > compatibility worked both ways

Re: NetworkManager behavior answers not found in docs

2018-10-17 Thread Thomas Haller via networkmanager-list
> > -> where is that magic described ? How does a simple connect > > CREATES > > a > > connection. Man states that connect looks for a matching EXISTING > > connection ? > > man nmcli: > >connect ifname >Connect the device. NetworkManager will try to find a > suitable

Re: NetworkManager behavior answers not found in docs

2018-10-17 Thread Thomas Haller via networkmanager-list
On Tue, 2018-10-16 at 14:56 +0200, Thomas HUMMEL wrote: > I forgot : it seems to me that nmcli connection add also imply > "managed" > as in nmcli device set managed yes. > > Am I correct ? Then again when do we need those device commands > manipulation ? > I don't see that happening, and it

Re: NetworkManager behavior answers not found in docs

2018-10-17 Thread Thomas Haller via networkmanager-list
On Tue, 2018-10-16 at 14:40 +0200, Thomas HUMMEL wrote: Hi, > > I'm considering migrating from a CentOS 6 HPC cluster to CentOS 7 > one. > For this purpose I've read quite a lot of doc (man, guides, ...) > about > systemctl and NetworkManager to be fluent in their use. > > Regarding

Re: [RFC] Automatically remove stored SIM-PIN from gsm connection settings if it fails to unlock?

2018-10-08 Thread Thomas Haller via networkmanager-list
On Mon, 2018-10-08 at 09:24 +0200, Aleksander Morgado wrote: > Hey, > > I've SIM-PIN blocked one of my SIM cards just by having a gsm > autoconnected settings with a PIN stored and then PIN not matching > the > one in the device. When this happens, NM will try to unlock SIM-PIN > once, and if it

Re: unsecured networks

2018-10-03 Thread Thomas Haller via networkmanager-list
On Wed, 2018-10-03 at 20:19 +0200, live--- via networkmanager-list wrote: > Hello NM-community, > > > firth of all: thank you for this feature-rich networking tool, so far > did it never missed my needs! > > > However did I run into huge problems since I am working on changing > locations and

Re: [PATCH] core: fix typo in comment

2018-10-01 Thread Thomas Haller via networkmanager-list
On Mon, 2018-10-01 at 09:54 +0200, Frédéric Danis via networkmanager- list wrote: > Not refering to the right function > --- Hi, merged to master as https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=995ff778ce075e66b69c39db124a640043ff9c9d Thanks! Thomas signature.asc

Re: IPv6 Prefix Delegation through Network Manager

2018-09-27 Thread Thomas Haller via networkmanager-list
Hi, in the log [1538019154.6638] policy: ipv6-pd: enp5s0 needs a subnet [1538019154.6638] policy: ipv6-pd: no device to obtain a subnet to share on enp5s0 from ... [1538019154.6719] policy: ipv6-pd: none of 0 prefixes of enp2s0 can be shared on enp5s0 [1538019154.6719] device (enp2s0):

Re: No new PIN request to the user if PIN stored in settings is wrong

2018-09-27 Thread Thomas Haller via networkmanager-list
On Thu, 2018-09-27 at 11:51 +0200, Aleksander Morgado wrote: > Hey, > > I'm trying to understand whether this behavior is on purpose or not. > > I have some "gsm" settings for a broadband connection, and the > settings have a PIN stored. I then try to use those settings on a > modem device but

Re: Can't map keyfile path to /home/* directory

2018-09-26 Thread Thomas Haller via networkmanager-list
On Tue, 2018-09-25 at 17:50 -0400, Jackson Wiegman via networkmanager- list wrote: > Hi > > [testing this on a system with 1.2.6] > > I have a setup that (will be) a read-only root file system with RW > /home directory. To allow for network changes, I have mapped the > keyfile path in

Re: [PATCH] core: fix route metric set to -1 on DHCP renewal

2018-09-21 Thread Thomas Haller via networkmanager-list
Hi, merged to master: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=7d155757b195274c8ebac1b50d16332a5b7c91ec nm-1-14: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=474cf750548d2702925600bdb2be617f3b6525ff Thanks!! best, Thomas signature.asc

ANN: NetworkManager 1.12.4 and 1.10.12 released

2018-09-19 Thread Thomas Haller via networkmanager-list
Hello, yesterday new minor releases 1.12.4 and 1.10.12 of NetworkManager were done [1] [2]. Find the tarballs at our usual location: https://download.gnome.org/sources/NetworkManager/ They only contain bugfixes and a few translation updates. They are only backports from master and nm-1-12

Re: nmcli and cdc-wdm0 device for UMTS connection

2018-09-18 Thread Thomas Haller via networkmanager-list
On Tue, 2018-09-18 at 14:02 +0200, Giovanni Parodi via networkmanager- list wrote: > Hello everybody, > I have a problem connecting to a UMTS network on an embedded system. > Here are the details: > - Modem Quectel UC20 > - packages installed: usbutils, usb_modeswitch, NetworkManager > (1.0.4),

Re: [PATCH] ppp-manager: fix pppd not exiting correctly on modem hangup

2018-09-11 Thread Thomas Haller via networkmanager-list
On Tue, 2018-09-11 at 18:56 +0200, Frederic Danis wrote: > When unplugging an USB 3G modem device, pppd does not exit correctly > and > we have the following traces: Hi Frederic, good catch. Thank you for the patch. Merged to master:

ANN: NetworkManager 1.13.90 (1.14-rc1) released

2018-09-08 Thread Thomas Haller via networkmanager-list
Hello, I am happy to announce that we just released the first release- candidate for upcoming 1.14.0 NetworkManager. If all goes according to plan, the stable 1.14.0 release will already happen next Friday, 14th Sepember 2018. Find the preliminary NEWS file here:

Re: IPv6 Prefix Delegation through Network Manager

2018-09-07 Thread Thomas Haller via networkmanager-list
On Wed, 2018-09-05 at 19:50 -0500, dag dg via networkmanager-list wrote: > Thanks Thomas. Going into debug was able to point me in the right > direction. For those stumbling on this like myself, the > "ipv6.method=shared" refers to your *LAN* interface, not your WAN > interface. While this might

Re: IPv6 Prefix Delegation through Network Manager

2018-09-05 Thread Thomas Haller via networkmanager-list
On Tue, 2018-09-04 at 09:29 -0500, dag dg via networkmanager-list wrote: > > There doesn't seem to be much documentation for Network Manager on > the > prefix delegation support. Any insight would be appreciated. Hi, it's not much documented, because there isn't much to configure about

Re: wifi permanently switching between 2.4 and 5 GHz

2018-08-28 Thread Thomas Haller via networkmanager-list
Hi, On Wed, 2018-08-15 at 23:23 +0200, Shawn Adams wrote: > For general roaming, I think it would be great for NM expose the > bgscan and related configs, On Mon, 2018-08-27 at 20:21 -0700, Michael Butash wrote: > It would be nice if this were adjustable in NM ui [...] I am not sure we need

Re: Setting MACADDR with nmcli

2018-08-09 Thread Thomas Haller via networkmanager-list
Hi, On Wed, 2018-08-08 at 08:24 -0400, Robert Moskowitz wrote: > On 08/07/2018 09:07 AM, Thomas Haller wrote: > > On Tue, 2018-08-07 at 08:43 -0400, Robert Moskowitz wrote: > > > I hope this is the right list for nmcli. > > > > > > I want to set MACADDR in ifcfg-eth0 > > > > > > I thought it

Re: Network Manager and SLAAC

2018-08-08 Thread Thomas Haller via networkmanager-list
Hi, On Tue, 2018-08-07 at 14:33 -0500, Lesley Kimmel wrote: > > I'm looking for a way to globally disable SLAAC when using > NetworkManager on RHEL-based systems. > > I am able to disable SLAAC on a pre-interface basis by adding > IPV6_AUTOCONF=no to the relevant interface configuration file.

Re: Setting MACADDR with nmcli

2018-08-07 Thread Thomas Haller via networkmanager-list
On Tue, 2018-08-07 at 08:43 -0400, Robert Moskowitz wrote: > I hope this is the right list for nmcli. > > I want to set MACADDR in ifcfg-eth0 > > I thought it was: > > nmcli con mod eth0 mac "02:67:15:00:81:0B" > > but this sets HWADDR, which has a totally different use. I could > then >

NetworkManager, n-acd and GPLv2 license compatibility

2018-08-06 Thread Thomas Haller via networkmanager-list
Hi David, Tom, nm-list, Since version 1.11.2-dev, NetworkManager uses n-acd library [1] for IPv4 address collision detection. We imported commit [2] to NetworkManager's source tree in April 2018 [3]. NetworkManager daemon is licensed GPLv2+, while n-acd at that time was licensed Apache License

Re: networkmanager-applet

2018-07-31 Thread Thomas Haller via networkmanager-list
On Tue, 2018-07-31 at 10:33 +0300, Cristian Crinteanu wrote: > can't build networkmanager-applet 1.8.14 with headers of > networkmanager 1.12.2 > > + make -O -j4 > GEN src/libnm-gtk/nm-resources.c > GEN src/libnm-gtk/nm-resources.h > GEN src/wireless-security/ws-resources.h

Re: Broken Cross Compile with NetworkManager 1.12.0

2018-07-25 Thread Thomas Haller via networkmanager-list
On Wed, 2018-07-25 at 19:09 +, Matthew Starr wrote: > I am trying to compile NetworkManager 1.12.0 for armhf using an amd64 > install of Ubuntu 17.10 and building the ARM software using > buildroot. During the configure step, I am getting the following > error: > > checking for

Re: Change of route metric are not well propagated for default route

2018-07-18 Thread Thomas Haller via networkmanager-list
On Wed, 2018-07-18 at 23:18 +0200, Thomas Haller via networkmanager- list wrote: > > In 1.8, NetworkManager treated the default-route specially, and then > reapply (`nmcli device modify`) worked correctly to change the metric > of the default-route. > > With 1.10, Network

Re: Change of route metric are not well propagated for default route

2018-07-18 Thread Thomas Haller via networkmanager-list
On Wed, 2018-07-18 at 07:30 +, Frederic Martinsons wrote: > Hello guys, > > I would like to change route metric on a device without reactivated > its connection profile. For example, with nmcli, to change the metric > from 100 to 800, I do the following: > > nmcli device modify eth0

<    1   2   3   4   >