From pieter.cardoen@hotmail.com Tue Jun 2 19:02:43 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 9BFF876952 for ; Tue, 2 Jun 2015 19:02:43 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.791 X-Spam-Level: X-Spam-Status: No, score=0.791 tagged_above=-999 required=2 tests=[BAYES_50=0.8, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lHVg3tdenXOF for ; Tue, 2 Jun 2015 19:02:38 +0000 (UTC) X-Greylist: delayed 333 seconds by postgrey-1.34 at restaurant.gnome.org; Tue, 02 Jun 2015 19:02:37 UTC Received: from DUB004-OMC4S27.hotmail.com (dub004-omc4s27.hotmail.com [157.55.2.102]) by restaurant.gnome.org (Postfix) with ESMTP id CCFE7762C2 for ; Tue, 2 Jun 2015 19:02:37 +0000 (UTC) Received: from DUB120-W19 ([157.55.2.71]) by DUB004-OMC4S27.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 2 Jun 2015 11:56:47 -0700 X-TMN: [FOAIprcAnXCY5xs6f6PpzmzdgWrEPzQu] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_f7c5414f-bc2c-45e2-8f0d-537ff1b01b48_" From: Pieter Cardoen To: "networkmanager-list@gnome.org" Subject: NetworkManager: network selection Date: Tue, 2 Jun 2015 20:56:47 +0200 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 02 Jun 2015 18:56:47.0460 (UTC) FILETIME=[E053F240:01D09D65] X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2015 19:02:43 -0000 --_f7c5414f-bc2c-45e2-8f0d-537ff1b01b48_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear I have some questions about how networkmanager selects a network. How does the NetworkManager deamon decide which network to use if multiple = network connections are available? Is it possible to configure preferred networks? Is it possible to configure the NetworkManager to only connect to one WiFi = network and ignore all other free networks? Thanks in advance = --_f7c5414f-bc2c-45e2-8f0d-537ff1b01b48_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear

I have some question= s about how networkmanager selects a network.

How does the NetworkMa= nager deamon decide which network to use if multiple network connections ar= e available?
Is it possible to configure preferred networks?
Is it po= ssible to configure the NetworkManager to only connect to one WiFi network = and ignore all other free networks?

Thanks in advance

=
= --_f7c5414f-bc2c-45e2-8f0d-537ff1b01b48_-- From pieter.cardoen@hotmail.com Tue Jun 2 19:05:14 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id A4A2A76848 for ; Tue, 2 Jun 2015 19:05:14 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.909 X-Spam-Level: X-Spam-Status: No, score=-1.909 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wzYk_mz4r3MG for ; Tue, 2 Jun 2015 19:05:13 +0000 (UTC) Received: from DUB004-OMC4S23.hotmail.com (dub004-omc4s23.hotmail.com [157.55.2.98]) by restaurant.gnome.org (Postfix) with ESMTP id 7D11C762C2 for ; Tue, 2 Jun 2015 19:05:02 +0000 (UTC) Received: from DUB120-W29 ([157.55.2.72]) by DUB004-OMC4S23.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 2 Jun 2015 12:05:00 -0700 X-TMN: [RCVqxEDcDtuFaJdJFpczHu0VhR/wm0Clf+Lcr+/6qcc=] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_5c71e99d-1338-4473-a162-0ce6b3f40438_" From: Pieter Cardoen To: "networkmanager-list@gnome.org" Subject: NetworkManager & WPA supplicant Date: Tue, 2 Jun 2015 21:04:59 +0200 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 02 Jun 2015 19:05:00.0859 (UTC) FILETIME=[066AA8B0:01D09D67] X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2015 19:05:14 -0000 --_5c71e99d-1338-4473-a162-0ce6b3f40438_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear I want to use the option scan_ssid=3D0 for the wpa_supplicant configuration= . However when I add this line to the Wifi configuration keyfile of Network= Manager=2C it is ignored by the NM daemon. How could I configure the scan_s= sid option using NetworkManager? Thanks in advance! = --_5c71e99d-1338-4473-a162-0ce6b3f40438_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear

I want to use the op= tion scan_ssid=3D0 for the wpa_supplicant configuration. However when I add= this line to the Wifi configuration keyfile of NetworkManager=2C it is ign= ored by the NM daemon. How could I configure the scan_ssid option using Net= workManager?

Thanks in advance!
= --_5c71e99d-1338-4473-a162-0ce6b3f40438_-- From pieter.cardoen@hotmail.com Tue Jun 2 19:31:03 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id E87ED76848 for ; Tue, 2 Jun 2015 19:31:03 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.909 X-Spam-Level: X-Spam-Status: No, score=-1.909 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z8kUXMkesY4k for ; Tue, 2 Jun 2015 19:31:02 +0000 (UTC) Received: from DUB004-OMC4S16.hotmail.com (dub004-omc4s16.hotmail.com [157.55.2.91]) by restaurant.gnome.org (Postfix) with ESMTP id DA2BF762C2 for ; Tue, 2 Jun 2015 19:30:51 +0000 (UTC) Received: from DUB120-W39 ([157.55.2.71]) by DUB004-OMC4S16.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 2 Jun 2015 12:30:49 -0700 X-TMN: [KA1hZpiEp5IydskXr1XS7cjY0EpmPuOrpf4RWUiJ2xE=] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_29a80e7e-57dd-4f41-ac9b-236d6337fdf4_" From: Pieter Cardoen To: "networkmanager-list@gnome.org" Subject: OpenVPN support Date: Tue, 2 Jun 2015 21:30:49 +0200 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 02 Jun 2015 19:30:49.0955 (UTC) FILETIME=[A1BFF330:01D09D6A] X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2015 19:31:04 -0000 --_29a80e7e-57dd-4f41-ac9b-236d6337fdf4_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear I've tried to use openVPN with NetworkManager via the GUI. However=2C I onl= y can use a very limited amount of options and would like to use the full o= penVPN functionality. Is it possible to import ovpn-files to NetworkManager= ? Does someone know where I can find documentation about keyfiles for openVPN= connections? Thanks! = --_29a80e7e-57dd-4f41-ac9b-236d6337fdf4_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear

I've tried to use op= enVPN with NetworkManager via the GUI. However=2C I only can use a very lim= ited amount of options and would like to use the full openVPN functionality= . Is it possible to import ovpn-files to NetworkManager?

Does someon= e know where I can find documentation about keyfiles for openVPN connection= s?

Thanks!
= --_29a80e7e-57dd-4f41-ac9b-236d6337fdf4_-- From thaller@redhat.com Tue Jun 2 19:37:02 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 6B3AC76981 for ; Tue, 2 Jun 2015 19:37:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.911 X-Spam-Level: X-Spam-Status: No, score=-6.911 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HmMI3J-1IVrR for ; Tue, 2 Jun 2015 19:37:01 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 3A3E9762C2 for ; Tue, 2 Jun 2015 19:36:50 +0000 (UTC) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 8EB7B2B9DDE; Tue, 2 Jun 2015 19:36:49 +0000 (UTC) Received: from x250 (ovpn-204-49.brq.redhat.com [10.40.204.49]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t52JalbB020312 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Tue, 2 Jun 2015 15:36:48 -0400 Message-ID: <1433273801.20042.10.camel@redhat.com> Subject: Re: NetworkManager: network selection From: Thomas Haller To: Pieter Cardoen Date: Tue, 02 Jun 2015 21:36:41 +0200 In-Reply-To: References: Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-vzRYmf1UspHN9jS0WnA0" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2015 19:37:02 -0000 --=-vzRYmf1UspHN9jS0WnA0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Di, 2015-06-02 at 20:56 +0200, Pieter Cardoen wrote: >=20 > I have some questions about how networkmanager selects a network. >=20 > How does the NetworkManager deamon decide which network to use if=20 > multiple network connections are available? Hi when a device is currently not connected, at various instances autoconnect hits. For example when you plug-in your cable and carrier -detect indicates a link. Or when Wi-Fi scanning indicates new visible networks. So, in that case, NM will search through the non-connected connections and choose a candidate to autoconnect. If there are multiple candidates, the one that was used most recently will be used. > Is it possible to configure preferred networks? Yes. Such a candidate must have the "connection.autoconnect" property set to "yes". This is the default. In nm-applet this is called "Automatically connect to this network when it is available". > Is it possible to configure the NetworkManager to only connect to one=20 > WiFi network and ignore all other free networks? Yes, set all connection.autoconnect properties of the other connections to "no". Since 1.0, there is also a new property "connection.autoconnect -priority". You can assign there a number, see nmcli connection show CON-NAME nmcli connection modify CON-NAME connection.autoconnect-priority 1 man nm-settings If there are multiple autoconnect candidates, those with higher numbers will be preferred. So, you could set the priority of the connection you prefer to "1", leaving all others to their default at 0. Thomas --=-vzRYmf1UspHN9jS0WnA0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVbgXJAAoJECnCNm5N/FcoQicP/2NtdEACU/EaHkg9zcVFBMqM dAaSG+H17ghh6EitigQr49gYe2r1m9dPU0Lgf8CBrajhP8Bg3P2XoP+t6DN1Oi1B d7Ed339UlS+6O8TNpOm6ver2GFErW4f8sz3kWVFCbCQEixs2P7WHmcIy24WowFce ztf+DQepTe42T3R2yt8zHmdAR4qiQZwVTGQkVAvMpBotPLFlT/PN6JICpTWBCu2s AEURgwLk8S6lK5JEJqvrg1lI/jOmXH+NOxFhyKksPsAEJtcBX4tzqJMD/s7eIHxn dZ+PuxAC/Uo1vUOOSjaOlv9TDgszHDWdfH3E86MYZ4AfYGCN02aTgUg/F8DFsM3u H7qBLt/ZlDYsTGfnuBfrYbxfBZ1wGfOoVxreSnpy6/PmOLw1HtdcGLbefR2jjAIv WmY241d/9/FWlJdUq2yLZXtgT9AKS2K7rcv3Frg0Ym0uzUynllTxnttxJxDoRt+m +al+Z/EFsazsjnDYlMG589UoW42YuP7+2VHHm50ddWcP1nd52BQgVqipQWr/WGEQ 5JOUeKVXRz/43ngkdwSSYjtdipU2OAxkd22aepCzgnB3pt20ulDOCWqrJxWWUQQc +qoRWcu5FXKpgG50/ntorvVPQ+GYUmP/l/4afDKeiQqytrSAusY+EldoKbnbrGpP A5CfwEC3FZkmcdZmptZy =Cd3o -----END PGP SIGNATURE----- --=-vzRYmf1UspHN9jS0WnA0-- From thaller@redhat.com Tue Jun 2 19:42:47 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id C15D576848 for ; Tue, 2 Jun 2015 19:42:47 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.911 X-Spam-Level: X-Spam-Status: No, score=-6.911 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NO3gY3fsYRu8 for ; Tue, 2 Jun 2015 19:42:47 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 1F44F762C2 for ; Tue, 2 Jun 2015 19:42:36 +0000 (UTC) Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 11258BAEFF; Tue, 2 Jun 2015 19:42:35 +0000 (UTC) Received: from x250 (ovpn-204-49.brq.redhat.com [10.40.204.49]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t52JgWeU020287 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Tue, 2 Jun 2015 15:42:34 -0400 Message-ID: <1433274152.20042.15.camel@redhat.com> Subject: Re: OpenVPN support From: Thomas Haller To: Pieter Cardoen Date: Tue, 02 Jun 2015 21:42:32 +0200 In-Reply-To: References: Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-jEkS3oq5rVRJmME33ASk" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2015 19:42:47 -0000 --=-jEkS3oq5rVRJmME33ASk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Di, 2015-06-02 at 21:30 +0200, Pieter Cardoen wrote: > Dear >=20 > I've tried to use openVPN with NetworkManager via the GUI. However, I=20 > only can use a very limited amount of options and would like to use=20 > the full openVPN functionality. Is it possible to import ovpn-files=20 > to NetworkManager? As you saw, NM-openvpn only supports a subset of the possible options. You cannot use ovpn files directly. You can import ovpn files, but unknown options will be ignored. So this import doesn't allow you to use your ovpn file directly. Which options are you using? Consider opening a bug, or commenting on one of the open feature requests: https://bugzilla.gnome.org/showdependencytree.cgi?id=3D750082&hide_resolv ed=3D1 > Does someone know where I can find documentation about keyfiles for=20 > openVPN connections? Not really.=20 See https://git.gnome.org/browse/network-manager-openvpn/tree/src/nm -openvpn-service-defines.h https://git.gnome.org/browse/network-manager-openvpn/tree/src/nm -openvpn-service.c#n879 Thomas --=-jEkS3oq5rVRJmME33ASk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVbgcoAAoJECnCNm5N/FcouxAP/2Ug1tBRy9GK3RWUlaw/CA1N kZz6nd/z+Qap8JY1tXqriyJka9h49J4kc7lesWpTIKNcoYxfV7egg7u5iNExzWk5 9cazUWzi0qapjCXiObk1CCNGwQ0B/N2yM1YqQDmJQR9SMjUcCXpu01UYKL96VMik JwDQ2XSPR6pi/1TTRvfBsS3Fjuv37z5ijKtFEaPjLTicj/x/tL8TFCTPFFehkl6f QtCvW7of/eUtUid/FBF8HEek5sKra+4QIPsBT8Apfkyjvw63SyZSHdKB4knloyap v+hq7Ct3htCqO0RoYFF+umS4DusKKFgtbamLcFrhEBUgi1ZoXYAlaNxhJR3tZuB3 dZXYXC+BhYsWZ/xMUXZrP3WOmQ2jKu3bNYzftQfhFi3vQfXKstB7RHyR/n+hAoaH b4L3gJiJZxmBw7gXofeptE0x2iurD1Z05lFpQlNl6ybj8Pb0QllAw1OjTtrFTrGc 3lVkwskBnURSQ63SEIst1AyvJW1oBEodsFFp0VCT2Nu9yA/ydwI1UV5UnL06qAUJ ooxutECjD+Qd8JpYYoQvleJkhpq/D4xCi3iW4ndyQ2LKM1kioGM4DULs+f5Vd5Le fcEWVQxPx8gsm5EJhYrrFTucJxChDC8VPHHoPqw7Ndfui+mxqyo0GL1n/Qzh9l1S Lk7FnGkrWv2K/c1Q3OiF =jekj -----END PGP SIGNATURE----- --=-jEkS3oq5rVRJmME33ASk-- From pieter.cardoen@hotmail.com Wed Jun 3 06:26:13 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id C63A576981 for ; Wed, 3 Jun 2015 06:26:13 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.909 X-Spam-Level: X-Spam-Status: No, score=-1.909 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iHvb1YeGN03K for ; Wed, 3 Jun 2015 06:26:12 +0000 (UTC) Received: from DUB004-OMC3S22.hotmail.com (dub004-omc3s22.hotmail.com [157.55.2.31]) by restaurant.gnome.org (Postfix) with ESMTP id BF62A7693C for ; Wed, 3 Jun 2015 06:26:00 +0000 (UTC) Received: from DUB120-W42 ([157.55.2.8]) by DUB004-OMC3S22.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 2 Jun 2015 23:25:59 -0700 X-TMN: [NCnSb/ofI3dBP7WSj3L6bbN/gTTM2fHa] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_566a4da5-c765-4f7a-8e3e-4d333d57bf82_" From: Pieter Cardoen To: Thomas Haller Subject: RE: NetworkManager: network selection Date: Wed, 3 Jun 2015 08:25:58 +0200 Importance: Normal In-Reply-To: <1433273801.20042.10.camel@redhat.com> References: , <1433273801.20042.10.camel@redhat.com> MIME-Version: 1.0 X-OriginalArrivalTime: 03 Jun 2015 06:25:59.0401 (UTC) FILETIME=[28016590:01D09DC6] Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 06:26:13 -0000 --_566a4da5-c765-4f7a-8e3e-4d333d57bf82_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thomas Thanks for the reply. It made some things clear. It is for my application n= ot acceptable that the NetworkManager just prefers the most recently used n= etwork but due to the priority feature=2C it is possible to prefer the WiFi= network over a mobile network. However=2C debian stable doesn't come with = NetworkManager 1.0. I will try to install this version on Debian Jessie. ThanksPieter > Subject: Re: NetworkManager: network selection > From: thaller@redhat.com > To: pieter.cardoen@hotmail.com > CC: networkmanager-list@gnome.org > Date: Tue=2C 2 Jun 2015 21:36:41 +0200 >=20 > On Di=2C 2015-06-02 at 20:56 +0200=2C Pieter Cardoen wrote: > >=20 > > I have some questions about how networkmanager selects a network. > >=20 > > How does the NetworkManager deamon decide which network to use if=20 > > multiple network connections are available? >=20 > Hi >=20 > when a device is currently not connected=2C at various instances > autoconnect hits. For example when you plug-in your cable and carrier > -detect indicates a link. Or when Wi-Fi scanning indicates new visible > networks. >=20 > So=2C in that case=2C NM will search through the non-connected connection= s > and choose a candidate to autoconnect. >=20 > If there are multiple candidates=2C the one that was used most recently > will be used. >=20 > > Is it possible to configure preferred networks? >=20 > Yes. Such a candidate must have the "connection.autoconnect" property > set to "yes". This is the default. In nm-applet this is called > "Automatically connect to this network when it is available". >=20 > > Is it possible to configure the NetworkManager to only connect to one=20 > > WiFi network and ignore all other free networks? >=20 > Yes=2C set all connection.autoconnect properties of the other connections > to "no". >=20 >=20 > Since 1.0=2C there is also a new property "connection.autoconnect > -priority". You can assign there a number=2C see > nmcli connection show CON-NAME > nmcli connection modify CON-NAME connection.autoconnect-priority 1 > man nm-settings > If there are multiple autoconnect candidates=2C those with higher numbers > will be preferred. > So=2C you could set the priority of the connection you prefer to "1"=2C > leaving all others to their default at 0. >=20 >=20 >=20 > Thomas = --_566a4da5-c765-4f7a-8e3e-4d333d57bf82_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thomas

= Thanks for the reply. It made some things clear. It is for my application n= ot acceptable that the NetworkManager just prefers the most recently used n= etwork but due to the priority feature=2C it is possible to prefer the WiFi= network over a mobile network. However=2C debian stable doesn't come with = NetworkManager 1.0. I will try to install this version on Debian Jessie.
Thanks
Pieter

>=3B Subject: Re: Ne= tworkManager: network selection
>=3B From: thaller@redhat.com
>= =3B To: pieter.cardoen@hotmail.com
>=3B CC: networkmanager-list@gnome.= org
>=3B Date: Tue=2C 2 Jun 2015 21:36:41 +0200
>=3B
>=3B O= n Di=2C 2015-06-02 at 20:56 +0200=2C Pieter Cardoen wrote:
>=3B >=3B=
>=3B >=3B I have some questions about how networkmanager selects a= network.
>=3B >=3B
>=3B >=3B How does the NetworkManager de= amon decide which network to use if
>=3B >=3B multiple network conn= ections are available?
>=3B
>=3B Hi
>=3B
>=3B when a = device is currently not connected=2C at various instances
>=3B autocon= nect hits. For example when you plug-in your cable and carrier
>=3B -d= etect indicates a link. Or when Wi-Fi scanning indicates new visible
>= =3B networks.
>=3B
>=3B So=2C in that case=2C NM will search thr= ough the non-connected connections
>=3B and choose a candidate to auto= connect.
>=3B
>=3B If there are multiple candidates=2C the one t= hat was used most recently
>=3B will be used.
>=3B
>=3B >= =3B Is it possible to configure preferred networks?
>=3B
>=3B Ye= s. Such a candidate must have the "connection.autoconnect" property
>= =3B set to "yes". This is the default. In nm-applet this is called
>= =3B "Automatically connect to this network when it is available".
>=3B=
>=3B >=3B Is it possible to configure the NetworkManager to only c= onnect to one
>=3B >=3B WiFi network and ignore all other free netw= orks?
>=3B
>=3B Yes=2C set all connection.autoconnect properties= of the other connections
>=3B to "no".
>=3B
>=3B
>= =3B Since 1.0=2C there is also a new property "connection.autoconnect
&g= t=3B -priority". You can assign there a number=2C see
>=3B nmcli con= nection show CON-NAME
>=3B nmcli connection modify CON-NAME connecti= on.autoconnect-priority 1
>=3B man nm-settings
>=3B If there ar= e multiple autoconnect candidates=2C those with higher numbers
>=3B wi= ll be preferred.
>=3B So=2C you could set the priority of the connecti= on you prefer to "1"=2C
>=3B leaving all others to their default at 0.=
>=3B
>=3B
>=3B
>=3B Thomas
= = --_566a4da5-c765-4f7a-8e3e-4d333d57bf82_-- From pieter.cardoen@hotmail.com Wed Jun 3 06:32:58 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id F18E876981 for ; Wed, 3 Jun 2015 06:32:58 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.909 X-Spam-Level: X-Spam-Status: No, score=-1.909 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lqiRiHdfv2PE for ; Wed, 3 Jun 2015 06:32:57 +0000 (UTC) Received: from DUB004-OMC3S31.hotmail.com (dub004-omc3s31.hotmail.com [157.55.2.40]) by restaurant.gnome.org (Postfix) with ESMTP id 053C97693C for ; Wed, 3 Jun 2015 06:32:46 +0000 (UTC) Received: from DUB120-W9 ([157.55.2.8]) by DUB004-OMC3S31.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 2 Jun 2015 23:32:44 -0700 X-TMN: [PZzsKqzQTePfM9SIYd83aI62rPqER52X] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_72e414ce-7499-4087-abc7-ea1ea7e099a9_" From: Pieter Cardoen To: Thomas Haller Subject: RE: OpenVPN support Date: Wed, 3 Jun 2015 08:32:44 +0200 Importance: Normal In-Reply-To: <1433274152.20042.15.camel@redhat.com> References: , <1433274152.20042.15.camel@redhat.com> MIME-Version: 1.0 X-OriginalArrivalTime: 03 Jun 2015 06:32:44.0519 (UTC) FILETIME=[19797F70:01D09DC7] Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 06:32:59 -0000 --_72e414ce-7499-4087-abc7-ea1ea7e099a9_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear thaller My openVPN config file is: clientdev tap0proto udpremote resolv-retry infinitenobin= dpersist-keypersist-tunca ca.crtcert name.crtkey name.keyns-cert-type serve= rverb 3keepalive 1 20sndbuf size 20000000rcvbuf size 20000000 Especially the keepalive line is important as well as the sndbuf and rcvbuf= line. ThanksPieter > Subject: Re: OpenVPN support > From: thaller@redhat.com > To: pieter.cardoen@hotmail.com > CC: networkmanager-list@gnome.org > Date: Tue=2C 2 Jun 2015 21:42:32 +0200 >=20 > On Di=2C 2015-06-02 at 21:30 +0200=2C Pieter Cardoen wrote: > > Dear > >=20 > > I've tried to use openVPN with NetworkManager via the GUI. However=2C I= =20 > > only can use a very limited amount of options and would like to use=20 > > the full openVPN functionality. Is it possible to import ovpn-files=20 > > to NetworkManager? >=20 >=20 > As you saw=2C NM-openvpn only supports a subset of the possible options. > You cannot use ovpn files directly. >=20 > You can import ovpn files=2C but unknown options will be ignored. So this > import doesn't allow you to use your ovpn file directly. >=20 > Which options are you using? Consider opening a bug=2C or commenting on > one of the open feature requests: > https://bugzilla.gnome.org/showdependencytree.cgi?id=3D750082&hide_resolv > ed=3D1 >=20 >=20 >=20 >=20 > > Does someone know where I can find documentation about keyfiles for=20 > > openVPN connections? >=20 > Not really.=20 > See > https://git.gnome.org/browse/network-manager-openvpn/tree/src/nm > -openvpn-service-defines.h >=20 > https://git.gnome.org/browse/network-manager-openvpn/tree/src/nm > -openvpn-service.c#n879 >=20 >=20 > Thomas = --_72e414ce-7499-4087-abc7-ea1ea7e099a9_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear thaller

= My openVPN config file is:

client
dev ta= p0
proto udp
remote <=3BIP-address>=3B <=3Bport&g= t=3B
resolv-retry infinite
nobind
persist-key=
persist-tun
ca ca.crt
cert name.crt
key name.key
ns-cert-type server
verb 3
kee= palive 1 20
sndbuf size 20000000
rcvbuf size 20000000

Especially the keepalive line is important as well as the sndb= uf and rcvbuf line.

Thanks
Pieter
>=3B Subject: Re: OpenVPN support
>=3B From: thaller@redhat.co= m
>=3B To: pieter.cardoen@hotmail.com
>=3B CC: networkmanager-lis= t@gnome.org
>=3B Date: Tue=2C 2 Jun 2015 21:42:32 +0200
>=3B
= >=3B On Di=2C 2015-06-02 at 21:30 +0200=2C Pieter Cardoen wrote:
>= =3B >=3B Dear
>=3B >=3B
>=3B >=3B I've tried to use openVP= N with NetworkManager via the GUI. However=2C I
>=3B >=3B only can = use a very limited amount of options and would like to use
>=3B >= =3B the full openVPN functionality. Is it possible to import ovpn-files >=3B >=3B to NetworkManager?
>=3B
>=3B
>=3B As you sa= w=2C NM-openvpn only supports a subset of the possible options.
>=3B Y= ou cannot use ovpn files directly.
>=3B
>=3B You can import ovpn= files=2C but unknown options will be ignored. So this
>=3B import doe= sn't allow you to use your ovpn file directly.
>=3B
>=3B Which o= ptions are you using? Consider opening a bug=2C or commenting on
>=3B = one of the open feature requests:
>=3B https://bugzilla.gnome.org/show= dependencytree.cgi?id=3D750082&=3Bhide_resolv
>=3B ed=3D1
>=3B=
>=3B
>=3B
>=3B
>=3B >=3B Does someone know where= I can find documentation about keyfiles for
>=3B >=3B openVPN conn= ections?
>=3B
>=3B Not really.
>=3B See
>=3B https://= git.gnome.org/browse/network-manager-openvpn/tree/src/nm
>=3B -openvpn= -service-defines.h
>=3B
>=3B https://git.gnome.org/browse/networ= k-manager-openvpn/tree/src/nm
>=3B -openvpn-service.c#n879
>=3B <= br>>=3B
>=3B Thomas
= --_72e414ce-7499-4087-abc7-ea1ea7e099a9_-- From arigead@gmail.com Wed Jun 3 09:17:04 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 5D4A37693F for ; Wed, 3 Jun 2015 09:17:04 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wK7G7y1vBF4L for ; Wed, 3 Jun 2015 09:17:03 +0000 (UTC) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by restaurant.gnome.org (Postfix) with ESMTP id EDC2376976 for ; Wed, 3 Jun 2015 09:16:52 +0000 (UTC) Received: by wibdt2 with SMTP id dt2so4822688wib.1 for ; Wed, 03 Jun 2015 02:16:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=AM0tLiNgCk1EQipP6mJrHgahdA3VR0vA6VrisnStJxs=; b=L/4+T/DT6ruQKFiWungbaeDZWuprJkDqaJ86Cip24TKeGzssE94ipJYylIkCNEC0+7 4OWknJ26NWTPtMLprFy3JorB5od/dzYufV34HjZervgLba8seeP+WVcBnDpAv0QjiT/k SVXGChRWMXDIxaYrIDPsh+/AfZo4eAZVnGpMLsmr3sPItoSHEgiepp9qDq+wnMrNJeOQ le+ouDTUnvpwLMRY97c1x/1MORoosJKX0z8Qo2YkGg8hkplyd8XEFfbMdBI+c5+8xgZI KaPwyV76F16Z1nFq1SbnX5s7ncpeG67Fdy33ZM3srXA0BNe/aqGN4Z+zwpm6uMr2Eo8Y js4Q== X-Received: by 10.194.240.8 with SMTP id vw8mr13339656wjc.114.1433323010804; Wed, 03 Jun 2015 02:16:50 -0700 (PDT) Received: from bamboo.electronicsoup ([88.151.80.134]) by mx.google.com with ESMTPSA id i6sm109518wjf.29.2015.06.03.02.16.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jun 2015 02:16:49 -0700 (PDT) Date: Wed, 3 Jun 2015 10:13:35 +0100 From: John Whitmore To: Dan Williams Subject: Re: Interaction with ModemManager Message-ID: <20150603091334.GA28185@bamboo.electronicsoup> References: <20150528143055.GD10494@bamboo.electronicsoup> <1432843632.32451.20.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1432843632.32451.20.camel@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 09:17:04 -0000 On Thu, May 28, 2015 at 03:07:12PM -0500, Dan Williams wrote: > On Thu, 2015-05-28 at 15:30 +0100, John Whitmore wrote: > > I could probably send this message to the ModemManager list as well but I'll > > start here. > > > > I was on last week about connecting 2 4G LTE USB Dongles to a RaspberryPi. I > > got one working but had a few issues with the second (vodafone) one. Every > > time I edited the connection, the "vodafone" password had disappeared from the > > connection. I'm away from the unit at the moment, taking a break 'till > > tomorrow, then back at it. I ended up moving from Raspbian to Ubuntu Mate on > > the RPi as Raspian has such old versions of NM and MM. Actually had serious > > problems with Ubuntu Mate and Serial ports both the GPIO serial on the RPi and > > USB - Serial cables. SO think I might be moving on the Arch Linux. There's a > > first time for everything. > > > > Anyhow that's not my question. When I'd added a dongle that was correctly > > modeswitched and recognised by ModemManager I was able to create a new network > > connection in the NetworkManager. My question is with regards to entering the > > ISP details into the NetworkManager. If I'd an operator SIM, say "three" in > > the dongle and create the network connection but then pull the dongle and > > change the SIM to "vodafone" then the NetworkManager will attempt to connect to > > the "vodafone" network with the "three" APN details. > > Correct. The APN is stored in the network connection details itself, so > the connection is really tied to a specific provider. We intend to add > a way to lock a connection to a specific device/SIM in the future, but > that won't even really solve the SIM swapping thing. > > > Now I've not tested that and what happens so forgive my possibly premature > > question. It seems more logical to me that the APN details would be entered > > into the ModemManger and NetworkManager don't need to know it, but just > > requests a connection from the ModemManager. Ideally the ModemManager could > > look at the current SIM and say what that means in terms of APN details. > > In recent versions of NetworkManager you can leave the APN blank (just > don't specify it when creating the connection) and then NM+MM will > request the "default subscribe APN" it the network supports it. But, of > course, you're at the mercy of whether the network supports it, and what > is configured at the provider's end which may not always be correct. > > > New to the party so I'm sure there's a good reason why it is the way it is, > > but just wondered. I'm sure that the data required for a Data connection must > > be on the SIM becasue if I have an open unlocked phone and insert any SIM I've > > never been asked for APN details. Phone just knows what to do. Well that's > > been my expierence. > > The data is stored on the device, actually, not the SIM. Devices/modems > have a cached list of "PDP contexts" (GSM/UMTS) or "EPS contexts" (LTE) > that includes the APN. When you swap the SIM that list doesn't change > unless something actively changes it, like software on the computer. > > What happens on the phone is that there is software to inspect the SIM's > IMSI, extract the MCC/MNC of the provider, and reconfigure the default > APNs stored on the device to something in a hardcoded list. Or, after > registering with the network, the provider can send an SMS that includes > the correct APNs and the phone will automatically provision. > > NetworkManager doesn't do that kind of thing, it's currently up to the > callers of NetworkManager to update the configuration/connections as NM > is just a mechanism and doesn't actually enforce policy like this. The > various UIs that talk to NM do look at the "mobile broadband provider > database" that is maintained on gnome.org, that does include a list of > MCC/MNC and APNs that a client could use to match up the IMSI with a > suggested APN though. > > Does that help? In short, the SIM swapping problem is always solved at > a level higher than ModemManager, and probably higher than > NetworkManager too. Been mulling that over in my head over the weekend and, at the risk of sounding like a fan boy, it's brilliant. What I think that means is that I could write a higher level piece of code, in python and talk to ModemManager via the DBus interface to ask it about the installed modem and then fire a request to the NetworkManager, again over DBus, to request a connection. The idea was always to manage two modems so given that, I can use the higher level to ask ModemManager who has the stronger signal strength and then ask the NetworkManager to establish a connection accordingly. Like I say Brilliant. > > Dan > From pieter.cardoen@hotmail.com Wed Jun 3 09:30:07 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id A44EA76976 for ; Wed, 3 Jun 2015 09:30:07 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.909 X-Spam-Level: X-Spam-Status: No, score=-0.909 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TmeYirZ5CHWt for ; Wed, 3 Jun 2015 09:30:05 +0000 (UTC) Received: from DUB004-OMC4S6.hotmail.com (dub004-omc4s6.hotmail.com [157.55.2.81]) by restaurant.gnome.org (Postfix) with ESMTP id A53807693F for ; Wed, 3 Jun 2015 09:29:53 +0000 (UTC) Received: from DUB120-W21 ([157.55.2.71]) by DUB004-OMC4S6.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Wed, 3 Jun 2015 02:29:52 -0700 X-TMN: [48lwL6A8MbVt78nFNN7gVt97z3Dee3Qy] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_f2eed015-0e7b-49dc-b0c1-5e125e2798b7_" From: Pieter Cardoen To: John Whitmore , Dan Williams Subject: RE: Interaction with ModemManager Date: Wed, 3 Jun 2015 11:29:51 +0200 Importance: Normal In-Reply-To: <20150603091334.GA28185@bamboo.electronicsoup> References: <20150528143055.GD10494@bamboo.electronicsoup>, <1432843632.32451.20.camel@redhat.com>, <20150603091334.GA28185@bamboo.electronicsoup> MIME-Version: 1.0 X-OriginalArrivalTime: 03 Jun 2015 09:29:52.0032 (UTC) FILETIME=[D7F74A00:01D09DDF] Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 09:30:07 -0000 --_f2eed015-0e7b-49dc-b0c1-5e125e2798b7_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dan This should be possible. I already have some experience with Python and Net= workManager-ModemManager. By now=2C there isn't a Python library available = for the ModemManager dbus interface but there is for the NetworkManager dbu= s API. I used this Python script a starting point to write a dbus interface= for ModemManager. Many functionality is already available by the NetworkMa= nager library and I only had to add some classes to be able to read the Mod= emManager. I did the same for the WPA_supplicant dbus interface. I however must warn you for the versions of NetworkManager and ModemManager= . I'm now using debian jessie (recently turned to be stable). This version = has the org.freedesktop.ModemManager1 interface available while older Modem= Manager versions do not support this interface. This said: success with the development. I'm willing to send my sources! Pieter > Date: Wed=2C 3 Jun 2015 10:13:35 +0100 > From: arigead@gmail.com > To: dcbw@redhat.com > Subject: Re: Interaction with ModemManager > CC: networkmanager-list@gnome.org >=20 > On Thu=2C May 28=2C 2015 at 03:07:12PM -0500=2C Dan Williams wrote: > > On Thu=2C 2015-05-28 at 15:30 +0100=2C John Whitmore wrote: > > > I could probably send this message to the ModemManager list as well b= ut I'll > > > start here.=20 > > >=20 > > > I was on last week about connecting 2 4G LTE USB Dongles to a Raspber= ryPi. I > > > got one working but had a few issues with the second (vodafone) one. = Every > > > time I edited the connection=2C the "vodafone" password had disappear= ed from the > > > connection. I'm away from the unit at the moment=2C taking a break 't= ill > > > tomorrow=2C then back at it. I ended up moving from Raspbian to Ubunt= u Mate on > > > the RPi as Raspian has such old versions of NM and MM. Actually had s= erious > > > problems with Ubuntu Mate and Serial ports both the GPIO serial on th= e RPi and > > > USB - Serial cables. SO think I might be moving on the Arch Linux. Th= ere's a > > > first time for everything. > > >=20 > > > Anyhow that's not my question. When I'd added a dongle that was corre= ctly > > > modeswitched and recognised by ModemManager I was able to create a ne= w network > > > connection in the NetworkManager. My question is with regards to ente= ring the > > > ISP details into the NetworkManager. If I'd an operator SIM=2C say "t= hree" in > > > the dongle and create the network connection but then pull the dongle= and > > > change the SIM to "vodafone" then the NetworkManager will attempt to = connect to > > > the "vodafone" network with the "three" APN details. > >=20 > > Correct. The APN is stored in the network connection details itself=2C= so > > the connection is really tied to a specific provider. We intend to add > > a way to lock a connection to a specific device/SIM in the future=2C bu= t > > that won't even really solve the SIM swapping thing. > >=20 > > > Now I've not tested that and what happens so forgive my possibly prem= ature > > > question. It seems more logical to me that the APN details would be e= ntered > > > into the ModemManger and NetworkManager don't need to know it=2C but = just > > > requests a connection from the ModemManager. Ideally the ModemManager= could > > > look at the current SIM and say what that means in terms of APN detai= ls. > >=20 > > In recent versions of NetworkManager you can leave the APN blank (just > > don't specify it when creating the connection) and then NM+MM will > > request the "default subscribe APN" it the network supports it. But=2C= of > > course=2C you're at the mercy of whether the network supports it=2C and= what > > is configured at the provider's end which may not always be correct. > >=20 > > > New to the party so I'm sure there's a good reason why it is the way = it is=2C > > > but just wondered. I'm sure that the data required for a Data connect= ion must > > > be on the SIM becasue if I have an open unlocked phone and insert any= SIM I've > > > never been asked for APN details. Phone just knows what to do. Well t= hat's > > > been my expierence. > >=20 > > The data is stored on the device=2C actually=2C not the SIM. Devices/m= odems > > have a cached list of "PDP contexts" (GSM/UMTS) or "EPS contexts" (LTE) > > that includes the APN. When you swap the SIM that list doesn't change > > unless something actively changes it=2C like software on the computer. > >=20 > > What happens on the phone is that there is software to inspect the SIM'= s > > IMSI=2C extract the MCC/MNC of the provider=2C and reconfigure the defa= ult > > APNs stored on the device to something in a hardcoded list. Or=2C afte= r > > registering with the network=2C the provider can send an SMS that inclu= des > > the correct APNs and the phone will automatically provision. > >=20 > > NetworkManager doesn't do that kind of thing=2C it's currently up to th= e > > callers of NetworkManager to update the configuration/connections as NM > > is just a mechanism and doesn't actually enforce policy like this. The > > various UIs that talk to NM do look at the "mobile broadband provider > > database" that is maintained on gnome.org=2C that does include a list o= f > > MCC/MNC and APNs that a client could use to match up the IMSI with a > > suggested APN though. > >=20 > > Does that help? In short=2C the SIM swapping problem is always solved = at > > a level higher than ModemManager=2C and probably higher than > > NetworkManager too. >=20 > Been mulling that over in my head over the weekend and=2C at the risk of = sounding > like a fan boy=2C it's brilliant. What I think that means is that I could= write > a higher level piece of code=2C in python and talk to ModemManager via th= e DBus > interface to ask it about the installed modem and then fire a request to = the > NetworkManager=2C again over DBus=2C to request a connection.=20 >=20 > The idea was always to manage two modems so given that=2C I can use the h= igher > level to ask ModemManager who has the stronger signal strength and then a= sk the > NetworkManager to establish a connection accordingly. Like I say Brillian= t. >=20 >=20 >=20 > >=20 > > Dan > >=20 > _______________________________________________ > networkmanager-list mailing list > networkmanager-list@gnome.org > https://mail.gnome.org/mailman/listinfo/networkmanager-list = --_f2eed015-0e7b-49dc-b0c1-5e125e2798b7_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dan

This shou= ld be possible. I already have some experience with Python and NetworkManag= er-ModemManager. By now=2C there isn't a Python library available for the M= odemManager dbus interface but there is for the NetworkManager dbus API. I = used this Python script a starting point to write a dbus interface for Mode= mManager. Many functionality is already available by the NetworkManager lib= rary and I only had to add some classes to be able to read the ModemManager= . I did the same for the WPA_supplicant dbus interface.

I however must warn you for the versions of NetworkManager and ModemM= anager. I'm now using debian jessie (recently turned to be stable). This ve= rsion has the org.freedesktop.ModemManager1 interface available while older= ModemManager versions do not support this interface.

<= div>This said: success with the development. I'm willing to send my sources= !

Pieter

>=3B Date: Wed=2C 3 Jun 201= 5 10:13:35 +0100
>=3B From: arigead@gmail.com
>=3B To: dcbw@redha= t.com
>=3B Subject: Re: Interaction with ModemManager
>=3B CC: ne= tworkmanager-list@gnome.org
>=3B
>=3B On Thu=2C May 28=2C 2015 a= t 03:07:12PM -0500=2C Dan Williams wrote:
>=3B >=3B On Thu=2C 2015-0= 5-28 at 15:30 +0100=2C John Whitmore wrote:
>=3B >=3B >=3B I could= probably send this message to the ModemManager list as well but I'll
&g= t=3B >=3B >=3B start here.
>=3B >=3B >=3B
>=3B >=3B &= gt=3B I was on last week about connecting 2 4G LTE USB Dongles to a Raspber= ryPi. I
>=3B >=3B >=3B got one working but had a few issues with t= he second (vodafone) one. Every
>=3B >=3B >=3B time I edited the c= onnection=2C the "vodafone" password had disappeared from the
>=3B >= =3B >=3B connection. I'm away from the unit at the moment=2C taking a bre= ak 'till
>=3B >=3B >=3B tomorrow=2C then back at it. I ended up mo= ving from Raspbian to Ubuntu Mate on
>=3B >=3B >=3B the RPi as Ras= pian has such old versions of NM and MM. Actually had serious
>=3B >= =3B >=3B problems with Ubuntu Mate and Serial ports both the GPIO serial = on the RPi and
>=3B >=3B >=3B USB - Serial cables. SO think I migh= t be moving on the Arch Linux. There's a
>=3B >=3B >=3B first time= for everything.
>=3B >=3B >=3B
>=3B >=3B >=3B Anyhow th= at's not my question. When I'd added a dongle that was correctly
>=3B = >=3B >=3B modeswitched and recognised by ModemManager I was able to cre= ate a new network
>=3B >=3B >=3B connection in the NetworkManager.= My question is with regards to entering the
>=3B >=3B >=3B ISP de= tails into the NetworkManager. If I'd an operator SIM=2C say "three" in
= >=3B >=3B >=3B the dongle and create the network connection but then = pull the dongle and
>=3B >=3B >=3B change the SIM to "vodafone" th= en the NetworkManager will attempt to connect to
>=3B >=3B >=3B th= e "vodafone" network with the "three" APN details.
>=3B >=3B
>= =3B >=3B Correct. The APN is stored in the network connection details it= self=2C so
>=3B >=3B the connection is really tied to a specific pro= vider. We intend to add
>=3B >=3B a way to lock a connection to a s= pecific device/SIM in the future=2C but
>=3B >=3B that won't even re= ally solve the SIM swapping thing.
>=3B >=3B
>=3B >=3B >= =3B Now I've not tested that and what happens so forgive my possibly premat= ure
>=3B >=3B >=3B question. It seems more logical to me that the = APN details would be entered
>=3B >=3B >=3B into the ModemManger a= nd NetworkManager don't need to know it=2C but just
>=3B >=3B >=3B= requests a connection from the ModemManager. Ideally the ModemManager coul= d
>=3B >=3B >=3B look at the current SIM and say what that means i= n terms of APN details.
>=3B >=3B
>=3B >=3B In recent versio= ns of NetworkManager you can leave the APN blank (just
>=3B >=3B don= 't specify it when creating the connection) and then NM+MM will
>=3B &= gt=3B request the "default subscribe APN" it the network supports it. But= =2C of
>=3B >=3B course=2C you're at the mercy of whether the networ= k supports it=2C and what
>=3B >=3B is configured at the provider's = end which may not always be correct.
>=3B >=3B
>=3B >=3B >= =3B New to the party so I'm sure there's a good reason why it is the way it= is=2C
>=3B >=3B >=3B but just wondered. I'm sure that the data re= quired for a Data connection must
>=3B >=3B >=3B be on the SIM bec= asue if I have an open unlocked phone and insert any SIM I've
>=3B >= =3B >=3B never been asked for APN details. Phone just knows what to do. W= ell that's
>=3B >=3B >=3B been my expierence.
>=3B >=3B >=3B >=3B The data is stored on the device=2C actually=2C not the SIM.= Devices/modems
>=3B >=3B have a cached list of "PDP contexts" (GSM= /UMTS) or "EPS contexts" (LTE)
>=3B >=3B that includes the APN. Whe= n you swap the SIM that list doesn't change
>=3B >=3B unless somethi= ng actively changes it=2C like software on the computer.
>=3B >=3B <= br>>=3B >=3B What happens on the phone is that there is software to ins= pect the SIM's
>=3B >=3B IMSI=2C extract the MCC/MNC of the provider= =2C and reconfigure the default
>=3B >=3B APNs stored on the device = to something in a hardcoded list. Or=2C after
>=3B >=3B registering= with the network=2C the provider can send an SMS that includes
>=3B &= gt=3B the correct APNs and the phone will automatically provision.
>= =3B >=3B
>=3B >=3B NetworkManager doesn't do that kind of thing= =2C it's currently up to the
>=3B >=3B callers of NetworkManager to = update the configuration/connections as NM
>=3B >=3B is just a mecha= nism and doesn't actually enforce policy like this. The
>=3B >=3B v= arious UIs that talk to NM do look at the "mobile broadband provider
>= =3B >=3B database" that is maintained on gnome.org=2C that does include a= list of
>=3B >=3B MCC/MNC and APNs that a client could use to match= up the IMSI with a
>=3B >=3B suggested APN though.
>=3B >=3B=
>=3B >=3B Does that help? In short=2C the SIM swapping problem is= always solved at
>=3B >=3B a level higher than ModemManager=2C and = probably higher than
>=3B >=3B NetworkManager too.
>=3B
>= =3B Been mulling that over in my head over the weekend and=2C at the risk o= f sounding
>=3B like a fan boy=2C it's brilliant. What I think that me= ans is that I could write
>=3B a higher level piece of code=2C in pyth= on and talk to ModemManager via the DBus
>=3B interface to ask it abou= t the installed modem and then fire a request to the
>=3B NetworkManag= er=2C again over DBus=2C to request a connection.
>=3B
>=3B The= idea was always to manage two modems so given that=2C I can use the higher=
>=3B level to ask ModemManager who has the stronger signal strength a= nd then ask the
>=3B NetworkManager to establish a connection accordin= gly. Like I say Brilliant.
>=3B
>=3B
>=3B
>=3B >= =3B
>=3B >=3B Dan
>=3B >=3B
>=3B _____________________= __________________________
>=3B networkmanager-list mailing list
&g= t=3B networkmanager-list@gnome.org
>=3B https://mail.gnome.org/mailman= /listinfo/networkmanager-list
= --_f2eed015-0e7b-49dc-b0c1-5e125e2798b7_-- From pieter.cardoen@hotmail.com Wed Jun 3 14:11:40 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 14914768B9 for ; Wed, 3 Jun 2015 14:11:40 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.909 X-Spam-Level: X-Spam-Status: No, score=-1.909 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UZVto601u45R for ; Wed, 3 Jun 2015 14:11:38 +0000 (UTC) Received: from DUB004-OMC4S13.hotmail.com (dub004-omc4s13.hotmail.com [157.55.2.88]) by restaurant.gnome.org (Postfix) with ESMTP id 93EF376249 for ; Wed, 3 Jun 2015 14:11:27 +0000 (UTC) Received: from DUB120-W47 ([157.55.2.71]) by DUB004-OMC4S13.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Wed, 3 Jun 2015 07:11:25 -0700 X-TMN: [ZiY5+/aGGfbYW8vXvKFgoWKNTCnQck7f] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_fb7172db-9e50-45e3-9bfa-581038b06c9d_" From: Pieter Cardoen To: "networkmanager-list@gnome.org" Subject: NetworkManager autoconnect Date: Wed, 3 Jun 2015 16:11:25 +0200 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 03 Jun 2015 14:11:25.0880 (UTC) FILETIME=[2D7BEB80:01D09E07] X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 14:11:40 -0000 --_fb7172db-9e50-45e3-9bfa-581038b06c9d_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear While network testing=2C I've noticed that NetworkManager automatically con= nects to a network if its available. However when it isn't available=2C I'v= e noticed that NetworkManager stops trying to connect. What's the reason of= this and how could I make NetworkManager unconditionally try to connect to= the network until the end of time? ThanksPieter = --_fb7172db-9e50-45e3-9bfa-581038b06c9d_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear

While ne= twork testing=2C I've noticed that NetworkManager automatically connects to= a network if its available. However when it isn't available=2C I've notice= d that NetworkManager stops trying to connect. What's the reason of this an= d how could I make NetworkManager unconditionally try to connect to the net= work until the end of time?

Thanks
Piete= r
= --_fb7172db-9e50-45e3-9bfa-581038b06c9d_-- From dcbw@redhat.com Wed Jun 3 15:06:17 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 04F8715C01C for ; Wed, 3 Jun 2015 15:06:17 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.911 X-Spam-Level: X-Spam-Status: No, score=-6.911 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id utt3XDzGAF_4 for ; Wed, 3 Jun 2015 15:06:12 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 3A8A5762AD for ; Wed, 3 Jun 2015 15:06:01 +0000 (UTC) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 55C58CA653; Wed, 3 Jun 2015 15:06:00 +0000 (UTC) Received: from vpn-228-143.phx2.redhat.com (vpn-228-143.phx2.redhat.com [10.3.228.143]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t53F5xxN000304; Wed, 3 Jun 2015 11:05:59 -0400 Message-ID: <1433343958.25620.8.camel@redhat.com> Subject: Re: NetworkManager: network selection From: Dan Williams To: Pieter Cardoen Date: Wed, 03 Jun 2015 10:05:58 -0500 In-Reply-To: References: , <1433273801.20042.10.camel@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 15:06:17 -0000 On Wed, 2015-06-03 at 08:25 +0200, Pieter Cardoen wrote: > Thomas > Thanks for the reply. It made some things clear. It is for my application not acceptable that the NetworkManager just prefers the most recently used network but due to the priority feature, it is possible to prefer the WiFi network over a mobile network. However, debian stable doesn't come with NetworkManager 1.0. I will try to install this version on Debian Jessie. There are really two kinds of "priority" in NM and they are mostly independent of each other: 1) connection autoconnect when the device is disconnected, which as Thomas said can be modified by the 'connection.autoconnect-priority' property. This is specific to the device, and all autoconnect decisions are made independently for that device. 2) which device gets the default route and DNS, which can be modified by the ip4.route-metric and ip6.route-metric properties. This allows you to prefer a specific device for outgoing traffic; so if you want the WiFi to be preferred when WiFi is connected, then you could set each WiFi connection's ip4.route-metric property lower (which means "more preferred") than the WWAN connection's ip4.route-metric property. Does that make sense? Dan > ThanksPieter > > > Subject: Re: NetworkManager: network selection > > From: thaller@redhat.com > > To: pieter.cardoen@hotmail.com > > CC: networkmanager-list@gnome.org > > Date: Tue, 2 Jun 2015 21:36:41 +0200 > > > > On Di, 2015-06-02 at 20:56 +0200, Pieter Cardoen wrote: > > > > > > I have some questions about how networkmanager selects a network. > > > > > > How does the NetworkManager deamon decide which network to use if > > > multiple network connections are available? > > > > Hi > > > > when a device is currently not connected, at various instances > > autoconnect hits. For example when you plug-in your cable and carrier > > -detect indicates a link. Or when Wi-Fi scanning indicates new visible > > networks. > > > > So, in that case, NM will search through the non-connected connections > > and choose a candidate to autoconnect. > > > > If there are multiple candidates, the one that was used most recently > > will be used. > > > > > Is it possible to configure preferred networks? > > > > Yes. Such a candidate must have the "connection.autoconnect" property > > set to "yes". This is the default. In nm-applet this is called > > "Automatically connect to this network when it is available". > > > > > Is it possible to configure the NetworkManager to only connect to one > > > WiFi network and ignore all other free networks? > > > > Yes, set all connection.autoconnect properties of the other connections > > to "no". > > > > > > Since 1.0, there is also a new property "connection.autoconnect > > -priority". You can assign there a number, see > > nmcli connection show CON-NAME > > nmcli connection modify CON-NAME connection.autoconnect-priority 1 > > man nm-settings > > If there are multiple autoconnect candidates, those with higher numbers > > will be preferred. > > So, you could set the priority of the connection you prefer to "1", > > leaving all others to their default at 0. > > > > > > > > Thomas > > _______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list From dcbw@redhat.com Wed Jun 3 15:19:17 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id AB78C76A9D for ; Wed, 3 Jun 2015 15:19:17 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.911 X-Spam-Level: X-Spam-Status: No, score=-6.911 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9cd8ERrvLW0J for ; Wed, 3 Jun 2015 15:19:17 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 26F5976A62 for ; Wed, 3 Jun 2015 15:19:06 +0000 (UTC) Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 7EC08B6F25; Wed, 3 Jun 2015 15:19:05 +0000 (UTC) Received: from vpn-228-143.phx2.redhat.com (vpn-228-143.phx2.redhat.com [10.3.228.143]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t53FJ4d7010463; Wed, 3 Jun 2015 11:19:05 -0400 Message-ID: <1433344743.25620.15.camel@redhat.com> Subject: Re: NetworkManager autoconnect From: Dan Williams To: Pieter Cardoen Date: Wed, 03 Jun 2015 10:19:03 -0500 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 15:19:17 -0000 On Wed, 2015-06-03 at 16:11 +0200, Pieter Cardoen wrote: > Dear > While network testing, I've noticed that NetworkManager automatically connects to a network if its available. However when it isn't available, I've noticed that NetworkManager stops trying to connect. What's the reason of this and how could I make NetworkManager unconditionally try to connect to the network until the end of time? NM will attempt to reconnect when specific events occur, like new scan results or a carrier change. So the answer to your question depends on what kind of interface you're talking about. For WiFi, it may be that the scan interval is too long to find your new network quickly, which you can mitigate by asking NM to scan more frequently. Ethernet depends on the kernel's carrier indications unless you have set 'ignore-carrier' for that interface in the NM configuration file. However, WWAN autoconnect happens continuously because WWAN doesn't have quick/easy event notifications (scans take minutes and interrupt connectivity, plus some modems only start registration when you ask them to connect). This means that whenever there is a WWAN autoconnect connection, NM will attempt the connection if the modem is not in Airplane mode. If the attempt fails, NM will retry after a couple seconds, and after 5 failed attempts will pause for a couple minutes, then retry 5 attempts again. Dan From dcbw@redhat.com Wed Jun 3 15:25:19 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 438B115C02F for ; Wed, 3 Jun 2015 15:25:19 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.911 X-Spam-Level: X-Spam-Status: No, score=-6.911 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AiVK6bOmOC9I for ; Wed, 3 Jun 2015 15:25:18 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id C479715C028 for ; Wed, 3 Jun 2015 15:25:08 +0000 (UTC) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 1F739371998; Wed, 3 Jun 2015 15:25:07 +0000 (UTC) Received: from vpn-228-143.phx2.redhat.com (vpn-228-143.phx2.redhat.com [10.3.228.143]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t53FP6Nd019825; Wed, 3 Jun 2015 11:25:06 -0400 Message-ID: <1433345105.25620.21.camel@redhat.com> Subject: Re: NetworkManager & WPA supplicant From: Dan Williams To: Pieter Cardoen Date: Wed, 03 Jun 2015 10:25:05 -0500 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 15:25:19 -0000 On Tue, 2015-06-02 at 21:04 +0200, Pieter Cardoen wrote: > Dear > > I want to use the option scan_ssid=0 for the wpa_supplicant configuration. However when I add this line to the Wifi configuration keyfile of NetworkManager, it is ignored by the NM daemon. How could I configure the scan_ssid option using NetworkManager? NM doesn't offer scan_ssid as a configuration option on a per-connection basis. scan_ssid=0 doesn't offer any security benefits because by the time NM sends scan_ssid=1, NM has either (a) already found the network in the scan list and is already connecting to it, and thus any listener will soon hear your association/authentication anyway, or (b) the network is hiding its SSID, and sending scan_ssid=1 enables quicker connection to the network, and any listener will soon hear your association too. NM will *never* probe-request specific SSIDs during general scans unless you have set the wifi.hidden=true property in the connection details. NM only probe-requests (eg, scan_ssid=1) a network immediately before connecting to it, or when wifi.hidden=true. Dan From pieter.cardoen@hotmail.com Wed Jun 3 20:16:55 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 32C3A768AF for ; Wed, 3 Jun 2015 20:16:55 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.909 X-Spam-Level: X-Spam-Status: No, score=-1.909 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lGfPiRy-8qWH for ; Wed, 3 Jun 2015 20:16:52 +0000 (UTC) Received: from DUB004-OMC3S31.hotmail.com (dub004-omc3s31.hotmail.com [157.55.2.40]) by restaurant.gnome.org (Postfix) with ESMTP id 3E765762AD for ; Wed, 3 Jun 2015 20:16:41 +0000 (UTC) Received: from DUB120-W1 ([157.55.2.9]) by DUB004-OMC3S31.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Wed, 3 Jun 2015 13:16:39 -0700 X-TMN: [JrdPv3bFbwmRfZvwCCm+oD4Vj45at+C9TNj4QkN0Aqs=] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_a8e474a1-d823-43b5-a184-a9b6eb5dc8e2_" From: Pieter Cardoen To: Dan Williams Subject: RE: NetworkManager: network selection Date: Wed, 3 Jun 2015 22:16:39 +0200 Importance: Normal In-Reply-To: <1433343958.25620.8.camel@redhat.com> References: ,, <1433273801.20042.10.camel@redhat.com>, , <1433343958.25620.8.camel@redhat.com> MIME-Version: 1.0 X-OriginalArrivalTime: 03 Jun 2015 20:16:39.0661 (UTC) FILETIME=[331D89D0:01D09E3A] Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 20:16:55 -0000 --_a8e474a1-d823-43b5-a184-a9b6eb5dc8e2_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This makes sense! Adapting the routing metric value shall allow me to use W= iFi over the mobile connection. I've seen that WiFi connection has a higher= metric value than the mobile connection so adapting it may make it work as= I want it to. I'll try it tomorrow! Thanks for the help! Pieter > Subject: Re: NetworkManager: network selection > From: dcbw@redhat.com > To: pieter.cardoen@hotmail.com > CC: thaller@redhat.com=3B networkmanager-list@gnome.org > Date: Wed=2C 3 Jun 2015 10:05:58 -0500 >=20 > On Wed=2C 2015-06-03 at 08:25 +0200=2C Pieter Cardoen wrote: > > Thomas > > Thanks for the reply. It made some things clear. It is for my applicati= on not acceptable that the NetworkManager just prefers the most recently us= ed network but due to the priority feature=2C it is possible to prefer the = WiFi network over a mobile network. However=2C debian stable doesn't come w= ith NetworkManager 1.0. I will try to install this version on Debian Jessie= . >=20 > There are really two kinds of "priority" in NM and they are mostly > independent of each other: >=20 > 1) connection autoconnect when the device is disconnected=2C which as > Thomas said can be modified by the 'connection.autoconnect-priority' > property. This is specific to the device=2C and all autoconnect decision= s > are made independently for that device. >=20 > 2) which device gets the default route and DNS=2C which can be modified b= y > the ip4.route-metric and ip6.route-metric properties. This allows you > to prefer a specific device for outgoing traffic=3B so if you want the > WiFi to be preferred when WiFi is connected=2C then you could set each > WiFi connection's ip4.route-metric property lower (which means "more > preferred") than the WWAN connection's ip4.route-metric property. >=20 > Does that make sense? >=20 > Dan >=20 > > ThanksPieter > >=20 > > > Subject: Re: NetworkManager: network selection > > > From: thaller@redhat.com > > > To: pieter.cardoen@hotmail.com > > > CC: networkmanager-list@gnome.org > > > Date: Tue=2C 2 Jun 2015 21:36:41 +0200 > > >=20 > > > On Di=2C 2015-06-02 at 20:56 +0200=2C Pieter Cardoen wrote: > > > >=20 > > > > I have some questions about how networkmanager selects a network. > > > >=20 > > > > How does the NetworkManager deamon decide which network to use if=20 > > > > multiple network connections are available? > > >=20 > > > Hi > > >=20 > > > when a device is currently not connected=2C at various instances > > > autoconnect hits. For example when you plug-in your cable and carrier > > > -detect indicates a link. Or when Wi-Fi scanning indicates new visibl= e > > > networks. > > >=20 > > > So=2C in that case=2C NM will search through the non-connected connec= tions > > > and choose a candidate to autoconnect. > > >=20 > > > If there are multiple candidates=2C the one that was used most recent= ly > > > will be used. > > >=20 > > > > Is it possible to configure preferred networks? > > >=20 > > > Yes. Such a candidate must have the "connection.autoconnect" property > > > set to "yes". This is the default. In nm-applet this is called > > > "Automatically connect to this network when it is available". > > >=20 > > > > Is it possible to configure the NetworkManager to only connect to o= ne=20 > > > > WiFi network and ignore all other free networks? > > >=20 > > > Yes=2C set all connection.autoconnect properties of the other connect= ions > > > to "no". > > >=20 > > >=20 > > > Since 1.0=2C there is also a new property "connection.autoconnect > > > -priority". You can assign there a number=2C see > > > nmcli connection show CON-NAME > > > nmcli connection modify CON-NAME connection.autoconnect-priority 1 > > > man nm-settings > > > If there are multiple autoconnect candidates=2C those with higher num= bers > > > will be preferred. > > > So=2C you could set the priority of the connection you prefer to "1"= =2C > > > leaving all others to their default at 0. > > >=20 > > >=20 > > >=20 > > > Thomas > > =20 > > _______________________________________________ networkmanager-list mai= ling list networkmanager-list@gnome.org https://mail.gnome.org/mailman/list= info/networkmanager-list >=20 >=20 = --_a8e474a1-d823-43b5-a184-a9b6eb5dc8e2_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
This makes sense! Adapting the r= outing metric value shall allow me to use WiFi over the mobile connection. = I've seen that WiFi connection has a higher metric value than the mobile co= nnection so adapting it may make it work as I want it to. I'll try it tomor= row!

Thanks for the help!
Pieter

>=3B Subject: Re: = NetworkManager: network selection
>=3B From: dcbw@redhat.com
>=3B= To: pieter.cardoen@hotmail.com
>=3B CC: thaller@redhat.com=3B network= manager-list@gnome.org
>=3B Date: Wed=2C 3 Jun 2015 10:05:58 -0500
= >=3B
>=3B On Wed=2C 2015-06-03 at 08:25 +0200=2C Pieter Cardoen wro= te:
>=3B >=3B Thomas
>=3B >=3B Thanks for the reply. It made = some things clear. It is for my application not acceptable that the Network= Manager just prefers the most recently used network but due to the priority= feature=2C it is possible to prefer the WiFi network over a mobile network= . However=2C debian stable doesn't come with NetworkManager 1.0. I will try= to install this version on Debian Jessie.
>=3B
>=3B There are r= eally two kinds of "priority" in NM and they are mostly
>=3B independe= nt of each other:
>=3B
>=3B 1) connection autoconnect when the d= evice is disconnected=2C which as
>=3B Thomas said can be modified by = the 'connection.autoconnect-priority'
>=3B property. This is specific= to the device=2C and all autoconnect decisions
>=3B are made independ= ently for that device.
>=3B
>=3B 2) which device gets the defaul= t route and DNS=2C which can be modified by
>=3B the ip4.route-metric = and ip6.route-metric properties. This allows you
>=3B to prefer a spe= cific device for outgoing traffic=3B so if you want the
>=3B WiFi to b= e preferred when WiFi is connected=2C then you could set each
>=3B WiF= i connection's ip4.route-metric property lower (which means "more
>=3B= preferred") than the WWAN connection's ip4.route-metric property.
>= =3B
>=3B Does that make sense?
>=3B
>=3B Dan
>=3B >=3B >=3B ThanksPieter
>=3B >=3B
>=3B >=3B >=3B Subje= ct: Re: NetworkManager: network selection
>=3B >=3B >=3B From: tha= ller@redhat.com
>=3B >=3B >=3B To: pieter.cardoen@hotmail.com
&= gt=3B >=3B >=3B CC: networkmanager-list@gnome.org
>=3B >=3B >= =3B Date: Tue=2C 2 Jun 2015 21:36:41 +0200
>=3B >=3B >=3B
>= =3B >=3B >=3B On Di=2C 2015-06-02 at 20:56 +0200=2C Pieter Cardoen wrot= e:
>=3B >=3B >=3B >=3B
>=3B >=3B >=3B >=3B I have so= me questions about how networkmanager selects a network.
>=3B >=3B &= gt=3B >=3B
>=3B >=3B >=3B >=3B How does the NetworkManager de= amon decide which network to use if
>=3B >=3B >=3B >=3B multipl= e network connections are available?
>=3B >=3B >=3B
>=3B >= =3B >=3B Hi
>=3B >=3B >=3B
>=3B >=3B >=3B when a devic= e is currently not connected=2C at various instances
>=3B >=3B >= =3B autoconnect hits. For example when you plug-in your cable and carrier>=3B >=3B >=3B -detect indicates a link. Or when Wi-Fi scanning ind= icates new visible
>=3B >=3B >=3B networks.
>=3B >=3B >= =3B
>=3B >=3B >=3B So=2C in that case=2C NM will search through t= he non-connected connections
>=3B >=3B >=3B and choose a candidate= to autoconnect.
>=3B >=3B >=3B
>=3B >=3B >=3B If there = are multiple candidates=2C the one that was used most recently
>=3B &g= t=3B >=3B will be used.
>=3B >=3B >=3B
>=3B >=3B >=3B = >=3B Is it possible to configure preferred networks?
>=3B >=3B >= =3B
>=3B >=3B >=3B Yes. Such a candidate must have the "connectio= n.autoconnect" property
>=3B >=3B >=3B set to "yes". This is the d= efault. In nm-applet this is called
>=3B >=3B >=3B "Automatically = connect to this network when it is available".
>=3B >=3B >=3B
= >=3B >=3B >=3B >=3B Is it possible to configure the NetworkManager = to only connect to one
>=3B >=3B >=3B >=3B WiFi network and ign= ore all other free networks?
>=3B >=3B >=3B
>=3B >=3B >= =3B Yes=2C set all connection.autoconnect properties of the other connectio= ns
>=3B >=3B >=3B to "no".
>=3B >=3B >=3B
>=3B >= =3B >=3B
>=3B >=3B >=3B Since 1.0=2C there is also a new proper= ty "connection.autoconnect
>=3B >=3B >=3B -priority". You can assi= gn there a number=2C see
>=3B >=3B >=3B nmcli connection show CO= N-NAME
>=3B >=3B >=3B nmcli connection modify CON-NAME connectio= n.autoconnect-priority 1
>=3B >=3B >=3B man nm-settings
>= =3B >=3B >=3B If there are multiple autoconnect candidates=2C those wit= h higher numbers
>=3B >=3B >=3B will be preferred.
>=3B >= =3B >=3B So=2C you could set the priority of the connection you prefer to= "1"=2C
>=3B >=3B >=3B leaving all others to their default at 0.>=3B >=3B >=3B
>=3B >=3B >=3B
>=3B >=3B >=3B >=3B >=3B >=3B Thomas
>=3B >=3B
>=3B >= =3B _______________________________________________ networkmanager-list mai= ling list networkmanager-list@gnome.org https://mail.gnome.org/mailman/list= info/networkmanager-list
>=3B
>=3B
<= /body> = --_a8e474a1-d823-43b5-a184-a9b6eb5dc8e2_-- From pieter.cardoen@hotmail.com Wed Jun 3 20:25:09 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id ECA83762AD for ; Wed, 3 Jun 2015 20:25:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.909 X-Spam-Level: X-Spam-Status: No, score=-1.909 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uQvCNqhiZv_i for ; Wed, 3 Jun 2015 20:25:08 +0000 (UTC) Received: from DUB004-OMC3S4.hotmail.com (dub004-omc3s4.hotmail.com [157.55.2.13]) by restaurant.gnome.org (Postfix) with ESMTP id 3E07776249 for ; Wed, 3 Jun 2015 20:24:57 +0000 (UTC) Received: from DUB120-W24 ([157.55.2.9]) by DUB004-OMC3S4.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Wed, 3 Jun 2015 13:24:55 -0700 X-TMN: [YvUDNsDLFpDfoATEb3m4gTnqQn1t3qIUU1Jqa/xe1Js=] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_cfd7c029-5b98-4d02-93b6-e70818e00472_" From: Pieter Cardoen To: Dan Williams Subject: RE: NetworkManager autoconnect Date: Wed, 3 Jun 2015 22:24:55 +0200 Importance: Normal In-Reply-To: <1433344743.25620.15.camel@redhat.com> References: , <1433344743.25620.15.camel@redhat.com> MIME-Version: 1.0 X-OriginalArrivalTime: 03 Jun 2015 20:24:55.0694 (UTC) FILETIME=[5AC62AE0:01D09E3B] Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 20:25:10 -0000 --_cfd7c029-5b98-4d02-93b6-e70818e00472_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I've tested it with WiFi but I also need to know the behaviour of the wwan = case. WiFi scanning interval was set to 10 seconds. I'll try it again tomor= row and verify the scan interval in advance.=20 The WPA_supplicant application has the possibility to set the autoscan argu= ment to periodic or to exponential. Could it possibly be that the exponenti= al setting is enabled which causes to the reconnect period to rise to a lar= ge time? In case of the wwan connection=2C you spoke about 'a couple minutes'. Is it= possible to adapt this time or to know wat happens more exactly? Thanks! Pieter > Subject: Re: NetworkManager autoconnect > From: dcbw@redhat.com > To: pieter.cardoen@hotmail.com > CC: networkmanager-list@gnome.org > Date: Wed=2C 3 Jun 2015 10:19:03 -0500 >=20 > On Wed=2C 2015-06-03 at 16:11 +0200=2C Pieter Cardoen wrote: > > Dear > > While network testing=2C I've noticed that NetworkManager automatically= connects to a network if its available. However when it isn't available=2C= I've noticed that NetworkManager stops trying to connect. What's the reaso= n of this and how could I make NetworkManager unconditionally try to connec= t to the network until the end of time? >=20 > NM will attempt to reconnect when specific events occur=2C like new scan > results or a carrier change. So the answer to your question depends on > what kind of interface you're talking about. >=20 > For WiFi=2C it may be that the scan interval is too long to find your new > network quickly=2C which you can mitigate by asking NM to scan more > frequently. >=20 > Ethernet depends on the kernel's carrier indications unless you have set > 'ignore-carrier' for that interface in the NM configuration file. >=20 > However=2C WWAN autoconnect happens continuously because WWAN doesn't hav= e > quick/easy event notifications (scans take minutes and interrupt > connectivity=2C plus some modems only start registration when you ask the= m > to connect). This means that whenever there is a WWAN autoconnect > connection=2C NM will attempt the connection if the modem is not in > Airplane mode. If the attempt fails=2C NM will retry after a couple > seconds=2C and after 5 failed attempts will pause for a couple minutes=2C > then retry 5 attempts again. >=20 > Dan >=20 = --_cfd7c029-5b98-4d02-93b6-e70818e00472_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I've tested it with WiFi but I a= lso need to know the behaviour of the wwan case. WiFi scanning interval was= set to 10 seconds. I'll try it again tomorrow and verify the scan interval= in advance.

The WPA_supplicant application has the possibility to = set the autoscan argument to periodic or to exponential. Could it possibly = be that the exponential setting is enabled which causes to the reconnect pe= riod to rise to a large time?

In case of the wwan connection=2C you = spoke about 'a couple minutes'. Is it possible to adapt this time or to kno= w wat happens more exactly?

Thanks!
Pieter

>=3B Sub= ject: Re: NetworkManager autoconnect
>=3B From: dcbw@redhat.com
>= =3B To: pieter.cardoen@hotmail.com
>=3B CC: networkmanager-list@gnome.= org
>=3B Date: Wed=2C 3 Jun 2015 10:19:03 -0500
>=3B
>=3B O= n Wed=2C 2015-06-03 at 16:11 +0200=2C Pieter Cardoen wrote:
>=3B >= =3B Dear
>=3B >=3B While network testing=2C I've noticed that Networ= kManager automatically connects to a network if its available. However when= it isn't available=2C I've noticed that NetworkManager stops trying to con= nect. What's the reason of this and how could I make NetworkManager uncondi= tionally try to connect to the network until the end of time?
>=3B >=3B NM will attempt to reconnect when specific events occur=2C like new= scan
>=3B results or a carrier change. So the answer to your questio= n depends on
>=3B what kind of interface you're talking about.
>= =3B
>=3B For WiFi=2C it may be that the scan interval is too long to = find your new
>=3B network quickly=2C which you can mitigate by asking= NM to scan more
>=3B frequently.
>=3B
>=3B Ethernet depend= s on the kernel's carrier indications unless you have set
>=3B 'ignore= -carrier' for that interface in the NM configuration file.
>=3B
&g= t=3B However=2C WWAN autoconnect happens continuously because WWAN doesn't = have
>=3B quick/easy event notifications (scans take minutes and inter= rupt
>=3B connectivity=2C plus some modems only start registration whe= n you ask them
>=3B to connect). This means that whenever there is a = WWAN autoconnect
>=3B connection=2C NM will attempt the connection if = the modem is not in
>=3B Airplane mode. If the attempt fails=2C NM wi= ll retry after a couple
>=3B seconds=2C and after 5 failed attempts wi= ll pause for a couple minutes=2C
>=3B then retry 5 attempts again.
= >=3B
>=3B Dan
>=3B
= --_cfd7c029-5b98-4d02-93b6-e70818e00472_-- From espy@canonical.com Thu Jun 4 00:38:11 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id CD37C767E2 for ; Thu, 4 Jun 2015 00:38:11 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.21 X-Spam-Level: X-Spam-Status: No, score=-4.21 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id puMUd9tFpbLM for ; Thu, 4 Jun 2015 00:38:09 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by restaurant.gnome.org (Postfix) with ESMTP id 9AAD7762AD for ; Thu, 4 Jun 2015 00:37:58 +0000 (UTC) Received: from 209-6-88-107.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.88.107] helo=[192.168.1.5]) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1Z0JAS-00055x-KS; Thu, 04 Jun 2015 00:37:56 +0000 Message-ID: <556F9DE3.4090904@canonical.com> Date: Wed, 03 Jun 2015 20:37:55 -0400 From: Tony Espy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Pieter Cardoen , Dan Williams Subject: Re: NetworkManager autoconnect References: , <1433344743.25620.15.camel@redhat.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 00:38:11 -0000 On 06/03/2015 04:24 PM, Pieter Cardoen wrote: > I've tested it with WiFi but I also need to know the behaviour of the > wwan case. WiFi scanning interval was set to 10 seconds. I'll try it > again tomorrow and verify the scan interval in advance. > > The WPA_supplicant application has the possibility to set the autoscan > argument to periodic or to exponential. Could it possibly be that the > exponential setting is enabled which causes to the reconnect period to > rise to a large time? > > In case of the wwan connection, you spoke about 'a couple minutes'. Is > it possible to adapt this time or to know wat happens more exactly? I've actually been working with the code (NM_POLICY) that causes this timer to be set for wwan connections, so if you don't mind, I'll add what I've learned recently. I'm currently working with patched version of NM 0.9.10.0 ( see [1] for details ) as part of Ubuntu 14.10 base images we run on Ubuntu phones. We have a new set of patches that implement ofono support for NetworkManager, which to date has only been tested with the rilmodem ofono drivers used on Ubuntu phones. I'm actually been looking at a bunch of scenarios that cause our devices to hit the autoconnect_retry limit of the modem connection. When the retry limit is hit, NM_POLICY sets a 5m timer-based callback to reset the connection. When the timer fires, the associated callback function resets the connection's autoconnect_retry_count, and kicks off a new activation attempt. I'm not sure if this is similar to what you're seeing, as I assume you're using NM with modem-manager, but it sounds very similar to the behavior we see with ofono. [ Dan, one suggestion I have for this behavior, besides maybe kicking up the retries_count, would be to introduce a slight delay ( 2-5s ) between retry attempts for a device ( maybe just for wwan devices? ). We could possibly extend NM_SETTING_CONNECTION and make the delay a new property. I'm working on a patch that implements this idea. ] Note - one scenario that can trigger this behavior for us is enabling FlightMode, as ofono will disconnect any GPRS connections it's established before signaling that it's gone offline. > > On Wed, 2015-06-03 at 16:11 +0200, Pieter Cardoen wrote: > > > Dear > > > While network testing, I've noticed that NetworkManager > automatically connects to a network if its available. However when it > isn't available, I've noticed that NetworkManager stops trying to > connect. What's the reason of this and how could I make NetworkManager > unconditionally try to connect to the network until the end of time? > > > > NM will attempt to reconnect when specific events occur, like new scan > > results or a carrier change. So the answer to your question depends on > > what kind of interface you're talking about. [...] > > However, WWAN autoconnect happens continuously because WWAN doesn't have > > quick/easy event notifications (scans take minutes and interrupt > > connectivity, plus some modems only start registration when you ask them > > to connect). This means that whenever there is a WWAN autoconnect > > connection, NM will attempt the connection if the modem is not in > > Airplane mode. If the attempt fails, NM will retry after a couple > > seconds, Note, if nothing else is happening device-wise ( ie. WiFi isn't enabled ), I see NM retry the ofono connection three times within the span of a single second, zeroing the connection's autoconnect_retries immediately. Regards, /tony [1] https://code.launchpad.net/~phablet-team/network-manager/vivid-phone-overlay From espy@canonical.com Thu Jun 4 00:40:36 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 8FDB7767E2 for ; Thu, 4 Jun 2015 00:40:36 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.21 X-Spam-Level: X-Spam-Status: No, score=-4.21 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I8NDulAanhKh for ; Thu, 4 Jun 2015 00:40:35 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by restaurant.gnome.org (Postfix) with ESMTP id 8846F762AD for ; Thu, 4 Jun 2015 00:40:24 +0000 (UTC) Received: from 209-6-88-107.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.88.107] helo=[192.168.1.5]) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1Z0JCp-0005IT-Bl for networkmanager-list@gnome.org; Thu, 04 Jun 2015 00:40:23 +0000 Message-ID: <556F9E76.4000107@canonical.com> Date: Wed, 03 Jun 2015 20:40:22 -0400 From: Tony Espy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: networkmanager-list@gnome.org Subject: NM/ofono FlightMode problem Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 00:40:36 -0000 Dan -- I'd like to hear your opinion about the following problem I'm trying to solve, and your take on an idea I have of how to fix it. This occurs with the current version of NetworkManager we're using for Ubuntu on phones, 0.9.10.0-4ubuntu15.1.1 ( see [1] for bzr packaging branch ). One of the patches ( ignore_rfkill_if_urfkill_is_present.patch ) we're carrying allows NM to integrate with urfkill, a daemon that we use for implementing FlightMode, and managing the desired state across reboots of FlightMode and any other system radio killswitches. There's a long story about why this daemon needed to be used, but I'll keep that out of the discussion for now. Please note, I'm pretty sure the following description is correct, however it's possible that I missed something... When the urfkill Killswitch DBus signal is received that indicates that a radio killswitch for WWAN has been is disabled ( ie. setting the modem online ), a callback in NM_MANAGER gets invoked. This callback then invokes nm_manager_update_radio_enabled, which in turn iterates over all the MANAGER's devices looking for a matching rf_type, and when found calls nm_device_set_enabled for the device. This eventually bubbles down to our NM_MODEM_OFONO subclass, which actually doesn't do anything other than log the set_enabled call ( note, urfkill is responsible for onlining/offlining the modem via ofono ). As part of this chain of calls, NM_MODEM sets the modem_state to ENABLING, which in turn triggers NM_DEVICE_MODEM to set the device_state to DISCONNECTED, as the device has now become *available* ( thanks to NM_DEVICE_MODEM->set_enabled setting the rf_enabled flag to TRUE ). The problem is, this last device state change, triggers NM_DEVICE to refresh the available connections, however doing so calls back into the NM_MODEM_OFONO sub-class to check that connections are compatible. When this happens, there's a chance that the ofono hasn't finished initizing the modem after being set online by urfkill. If this happens, our modem connection is effectively stalled, as nothing other than another FlightMode toggle, or a reboot will re-kick the device to refresh it's available connections again. I think the correct way to go about fixing this is to introduce the usage of the modem states DISABLED and ENABLED, as currently NM_MODEM only seems to use DISABLING and ENABLING. Doing this would allow NM_MODEM_OFONO and NM_MODEM_BROADBAND to only signal the transition to DISABLED/ENABLED based on state and/or return values from ofono and modem-manager respectively. Thoughts? Regards, /tony [1] https://code.launchpad.net/~phablet-team/network-manager/vivid-phone-overlay From pomidorabelisima@gmail.com Thu Jun 4 07:38:51 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id BF4A776849 for ; Thu, 4 Jun 2015 07:38:51 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9bLa2u3FTZRq for ; Thu, 4 Jun 2015 07:38:50 +0000 (UTC) Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by restaurant.gnome.org (Postfix) with ESMTP id 57016762AD for ; Thu, 4 Jun 2015 07:38:39 +0000 (UTC) Received: by wgme6 with SMTP id e6so26684920wgm.2 for ; Thu, 04 Jun 2015 00:38:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=pvHDdDMTocUaI42y3uFTorp43K3Qp3jH5sWqf23tZ2w=; b=Xl8jw/FKOWEs5FhOjB2nbH6UVQJGVaYmdRiQYTdeVoagttIR0XMwv98lq+iuPkGX1G iQ7Y6LkAgljt1FEQtUDRjzalA9WVxGp3ROS4eKZsBYkGqOYLDgDmrJepyddExyE14JY5 tJMas9Bwwx2M9V07bUaY9gl/2sFn5W/Ma+91c3AkBmMhHDzyljNfSJdXKY5ogBZ0Xz5h JFDBmDDQujXcppuQzRmislcPApPi0kM92PLBPHDaxcv7+kDZhcptTe+cPEDpkHgHgheX FxvoTMD2+rWQhGpDo1vcb0umLhgKKme/UDQSIn8dCaemYRtielht7G2lvGBa4QeojEEi EB5w== X-Received: by 10.180.86.198 with SMTP id r6mr49712536wiz.70.1433403518037; Thu, 04 Jun 2015 00:38:38 -0700 (PDT) Received: from localhost (iskon4924.duo.carnet.hr. [31.147.115.60]) by mx.google.com with ESMTPSA id r9sm4434143wjo.26.2015.06.04.00.38.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 00:38:36 -0700 (PDT) Message-ID: <5570007A.9000606@gmail.com> Date: Thu, 04 Jun 2015 09:38:34 +0200 From: poma User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Tony Espy , Pieter Cardoen , Dan Williams Subject: Re: NetworkManager autoconnect References: , <1433344743.25620.15.camel@redhat.com> <556F9DE3.4090904@canonical.com> In-Reply-To: <556F9DE3.4090904@canonical.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 07:38:51 -0000 On 04.06.2015 02:37, Tony Espy wrote: > On 06/03/2015 04:24 PM, Pieter Cardoen wrote: >> I've tested it with WiFi but I also need to know the behaviour of the >> wwan case. WiFi scanning interval was set to 10 seconds. I'll try it >> again tomorrow and verify the scan interval in advance. >> >> The WPA_supplicant application has the possibility to set the autoscan >> argument to periodic or to exponential. Could it possibly be that the >> exponential setting is enabled which causes to the reconnect period to >> rise to a large time? >> >> In case of the wwan connection, you spoke about 'a couple minutes'. Is >> it possible to adapt this time or to know wat happens more exactly? > > I've actually been working with the code (NM_POLICY) that causes this > timer to be set for wwan connections, so if you don't mind, I'll add > what I've learned recently. > > I'm currently working with patched version of NM 0.9.10.0 ( see [1] for > details ) as part of Ubuntu 14.10 base images we run on Ubuntu phones. > We have a new set of patches that implement ofono support for > NetworkManager, which to date has only been tested with the rilmodem > ofono drivers used on Ubuntu phones. > How is the AccessPoint (AP) infrastructure mode implemented on Ubuntu phones? > I'm actually been looking at a bunch of scenarios that cause our devices > to hit the autoconnect_retry limit of the modem connection. When the > retry limit is hit, NM_POLICY sets a 5m timer-based callback to reset > the connection. When the timer fires, the associated callback function > resets the connection's autoconnect_retry_count, and kicks off a new > activation attempt. > > I'm not sure if this is similar to what you're seeing, as I assume > you're using NM with modem-manager, but it sounds very similar to the > behavior we see with ofono. > > [ Dan, one suggestion I have for this behavior, besides maybe kicking up > the retries_count, would be to introduce a slight delay ( 2-5s ) between > retry attempts for a device ( maybe just for wwan devices? ). We could > possibly extend NM_SETTING_CONNECTION and make the delay a new property. > I'm working on a patch that implements this idea. ] > > Note - one scenario that can trigger this behavior for us is enabling > FlightMode, as ofono will disconnect any GPRS connections it's > established before signaling that it's gone offline. > >> > On Wed, 2015-06-03 at 16:11 +0200, Pieter Cardoen wrote: >> > > Dear >> > > While network testing, I've noticed that NetworkManager >> automatically connects to a network if its available. However when it >> isn't available, I've noticed that NetworkManager stops trying to >> connect. What's the reason of this and how could I make NetworkManager >> unconditionally try to connect to the network until the end of time? >> > >> > NM will attempt to reconnect when specific events occur, like new scan >> > results or a carrier change. So the answer to your question depends on >> > what kind of interface you're talking about. > > [...] > >> > However, WWAN autoconnect happens continuously because WWAN doesn't have >> > quick/easy event notifications (scans take minutes and interrupt >> > connectivity, plus some modems only start registration when you ask them >> > to connect). This means that whenever there is a WWAN autoconnect >> > connection, NM will attempt the connection if the modem is not in >> > Airplane mode. If the attempt fails, NM will retry after a couple >> > seconds, > > Note, if nothing else is happening device-wise ( ie. WiFi isn't enabled > ), I see NM retry the ofono connection three times within the span of a > single second, zeroing the connection's autoconnect_retries immediately. > > Regards, > /tony > > [1] > https://code.launchpad.net/~phablet-team/network-manager/vivid-phone-overlay > > > > > > _______________________________________________ > networkmanager-list mailing list > networkmanager-list@gnome.org > https://mail.gnome.org/mailman/listinfo/networkmanager-list > From nicolasbock@gmail.com Thu Jun 4 10:56:33 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 13A657684B for ; Thu, 4 Jun 2015 10:56:33 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.699 X-Spam-Level: X-Spam-Status: No, score=-2.699 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bp_dh_GDuCfQ for ; Thu, 4 Jun 2015 10:56:31 +0000 (UTC) Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com [209.85.214.176]) by restaurant.gnome.org (Postfix) with ESMTP id A2CD576849 for ; Thu, 4 Jun 2015 10:56:15 +0000 (UTC) Received: by obbea3 with SMTP id ea3so29605851obb.0 for ; Thu, 04 Jun 2015 03:56:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=lkofhiLHR1PaEIX/17Co2/HLGq9T6NEwEv0OzI8GuZA=; b=A7TjRuDY/EFoyfrfWSMHLa5Zn6pDm8baYEUOiRFs36aLtWjiPuvvSRdaYxJYw7EE6a BwKSBjf1YSbHVsAIFgFMEmvAH9jPAEYN0U/UJNXF9yrelqPQcLqe8t8FfMFzIg9+8teg ZPmwLSamHvZpTdNDmyOqVBzA1caRrLRZANmFzJgz9NverwiKbkAeEzfDJd4MGiSfdfB2 YkPWh2bc0dwmTiZY7qcCx4xX4wdm1LV/Lnr92RYOuELiDCqgO/gndF8ODqIQCBecdQea bo6MYn6N5gJt7pN6czxmukjmMSurF9ZRdQkfhZUPZLjp8lLmrWLr1ueSiYIJGGlX1RcK 2Svg== X-Received: by 10.202.62.212 with SMTP id l203mr29992548oia.67.1433415374286; Thu, 04 Jun 2015 03:56:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.90.166 with HTTP; Thu, 4 Jun 2015 03:55:33 -0700 (PDT) From: Nicolas Bock Date: Thu, 4 Jun 2015 04:55:33 -0600 Message-ID: Subject: DHCP renewal changes routing table To: networkmanager-list@gnome.org Content-Type: multipart/alternative; boundary=001a113ccf3a33372c0517af0662 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 10:56:33 -0000 --001a113ccf3a33372c0517af0662 Content-Type: text/plain; charset=UTF-8 Hi, When I run the Juniper Network Connect client (ncsvc) it terminates every time the DHCP license is renewed. The log files of ncsvc are unfortunately rather cryptic, but it appears as if the DHCP renewal leads to a change in the routing table which triggers a "rmon.error" in ncsvc which then tears down the VPN tunnel. Using timestamps the following two events correlate: 20150603133456.514649 ncsvc[p6870.t6870] rmon.error Route to destination 192.168.1.1 is missing mask 255.255.255.255 with gw 0.0.0.0, metric 1, if_id 0, disconnecting (routemon.cpp:628) which coincides with the following journal entries: Jun 03 13:34:55.454967 host NetworkManager[1805]: address 192.168.1.16 Jun 03 13:34:55.454985 host NetworkManager[1805]: plen 24 Jun 03 13:34:55.454990 host NetworkManager[1805]: expires in 300 seconds Jun 03 13:34:55.455026 host NetworkManager[1805]: gateway 192.168.1.1 Jun 03 13:34:55.455035 host NetworkManager[1805]: nameserver '192.168.1.1' Jun 03 13:34:55.455210 host NetworkManager[1805]: (wlp6s0): DHCPv4 state changed bound -> bound Jun 03 13:34:55.456679 host dbus[1799]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' Jun 03 13:34:55.461372 host dbus[1799]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher' Jun 03 13:34:55.462021 host nm-dispatcher[8295]: Dispatching action 'dhcp4-change' for wlp6s0 Jun 03 13:34:56.514958 host systemd-networkd[1803]: tun0 : lost carrier Besides the ncsvc error listed above I sometimes also see this one: 20150603132151.174661 ncsvc[p6870.t6870] rmon.error Unauthorized new route to 192.168.1.0/0.0.0.0 has been added (conflicts with our route to 0.0.0.0), disconnecting (routemon.cpp:598) Both seem to indicate that the routing table is changed on DHCP renewal. Is there a way to prevent networkmanager from doing this? Or is this problem caused by something else possibly? systemd-218 networkmanager-1.0.2 Thanks for any suggestions, nick --001a113ccf3a33372c0517af0662 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

When I run the Juniper Network Connect client (= ncsvc) it terminates every time the DHCP license is renewed. The log files = of ncsvc are unfortunately rather cryptic, but it appears as if the DHCP re= newal leads to a change in the routing table which triggers a "rmon.er= ror" in ncsvc which then tears down the VPN tunnel. Using timestamps t= he following two events correlate:

20150603133456.514649 ncsvc[p6870= .t6870] rmon.error Route to destination 192.168.1.1 is missing mask 255.255= .255.255 with gw 0.0.0.0, metric 1, if_id 0, disconnecting (routemon.cpp:62= 8)

which coincides with the following journal entries:

Jun 03= 13:34:55.454967 host NetworkManager[1805]: address 192.168.1.16
Jun 03 = 13:34:55.454985 host NetworkManager[1805]: plen 24
Jun 03 13:34:55.45499= 0 host NetworkManager[1805]: expires in 300 seconds
Jun 03 13:34:55.4550= 26 host NetworkManager[1805]: gateway 192.168.1.1
Jun 03 13:34:55.455035= host NetworkManager[1805]: nameserver '192.168.1.1'
Jun 03 13:3= 4:55.455210 host NetworkManager[1805]: (wlp6s0): DHCPv4 state changed bound= -> bound
Jun 03 13:34:55.456679 host dbus[1799]: [system] Activating= via systemd: service name=3D'org.freedesktop.nm_dispatcher' unit= =3D'dbus-org.freedesktop.nm-dispatcher.service'
Jun 03 13:34:55.= 461372 host dbus[1799]: [system] Successfully activated service 'org.fr= eedesktop.nm_dispatcher'
Jun 03 13:34:55.462021 host nm-dispatcher[8= 295]: Dispatching action 'dhcp4-change' for wlp6s0
Jun 03 13:34:= 56.514958 host systemd-networkd[1803]: tun0 : lost carrier

Besides t= he ncsvc error listed above I sometimes also see this one:

20150603132151.174661 ncsvc[p6870.t6870] rmon.error Unauthorized ne= w route to 192.168.1.0/0.0.0.0 h= as been added =C2=A0 =C2=A0 =C2=A0 =C2=A0(conflicts with our route to 0.0.0= .0), disconnecting (routemon.cpp:598)

Both seem to= indicate that the routing table is changed on DHCP renewal. Is there a way= to prevent networkmanager from doing this? Or is this problem caused by so= mething else possibly?

systemd-218
networkmanager-1.0.2

= Thanks for any suggestions,

nick
--001a113ccf3a33372c0517af0662-- From thaller@redhat.com Thu Jun 4 11:46:06 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 8E07376981 for ; Thu, 4 Jun 2015 11:46:06 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.911 X-Spam-Level: X-Spam-Status: No, score=-6.911 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dTLAbOdEfrBn for ; Thu, 4 Jun 2015 11:46:05 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id B07DE76849 for ; Thu, 4 Jun 2015 11:45:54 +0000 (UTC) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 46C2036B1D6; Thu, 4 Jun 2015 11:45:53 +0000 (UTC) Received: from x250 (dhcp-24-135.brq.redhat.com [10.34.24.135]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t54Bjpim013268 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 4 Jun 2015 07:45:52 -0400 Message-ID: <1433418347.14044.8.camel@redhat.com> Subject: Re: DHCP renewal changes routing table From: Thomas Haller To: Nicolas Bock Date: Thu, 04 Jun 2015 13:45:47 +0200 In-Reply-To: References: Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ZauElmUl1kRoxeEXYHOk" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 11:46:06 -0000 --=-ZauElmUl1kRoxeEXYHOk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Do, 2015-06-04 at 04:55 -0600, Nicolas Bock wrote: > Hi, >=20 > When I run the Juniper Network Connect client (ncsvc) it terminates=20 > every time the DHCP license is renewed. The log files of ncsvc are=20 > unfortunately rather cryptic, but it appears as if the DHCP renewal=20 > leads to a change in the routing table which triggers a "rmon.error"=20 > in ncsvc which then tears down the VPN tunnel. Using timestamps the=20 > following two events correlate: >=20 > 20150603133456.514649 ncsvc[p6870.t6870] rmon.error Route to=20 > destination 192.168.1.1 is missing mask 255.255.255.255 with gw=20 > 0.0.0.0, metric 1, if_id 0, disconnecting (routemon.cpp:628) >=20 > which coincides with the following journal entries: >=20 > Jun 03 13:34:55.454967 host NetworkManager[1805]: address=20 > 192.168.1.16 > Jun 03 13:34:55.454985 host NetworkManager[1805]: plen 24 > Jun 03 13:34:55.454990 host NetworkManager[1805]: expires in 300=20 > seconds > Jun 03 13:34:55.455026 host NetworkManager[1805]: gateway 192.168.1.1 > Jun 03 13:34:55.455035 host NetworkManager[1805]: nameserver=20 > '192.168.1.1' > Jun 03 13:34:55.455210 host NetworkManager[1805]: (wlp6s0): DHCPv4=20 > state changed bound -> bound > Jun 03 13:34:55.456679 host dbus[1799]: [system] Activating via=20 > systemd: service name=3D'org.freedesktop.nm_dispatcher' unit=3D'dbus > -org.freedesktop.nm-dispatcher.service' > Jun 03 13:34:55.461372 host dbus[1799]: [system] Successfully=20 > activated service 'org.freedesktop.nm_dispatcher' > Jun 03 13:34:55.462021 host nm-dispatcher[8295]: Dispatching action=20 > 'dhcp4-change' for wlp6s0 > Jun 03 13:34:56.514958 host systemd-networkd[1803]: tun0 : lost=20 > carrier >=20 > Besides the ncsvc error listed above I sometimes also see this one: >=20 > 20150603132151.174661 ncsvc[p6870.t6870] rmon.error Unauthorized new=20 > route to 192.168.1.0/0.0.0.0 has been added (conflicts with=20 > our route to 0.0.0.0), disconnecting (routemon.cpp:598) >=20 > Both seem to indicate that the routing table is changed on DHCP=20 > renewal. Is there a way to prevent networkmanager from doing this? Or=20 > is this problem caused by something else possibly? as you suspect, this is caused by NetworkManager. At various times (e.g. when activating a connection, or on new DHCP lease), NM will reinstall routes. recently there was a related email thread: https://mail.gnome.org/archives/networkmanager-list/2015 -May/msg00016.html but no solution either. We could change NM not only do any system-modification when it will actually have any effect. Like, re-installing a route, only if it is not yet currently there. There was an idea to add a feature to "propert routes". https://bugzilla.gnome.org/show_bug.cgi?id=3D749376 It's not clear how this feature could look like, but probably it should be designed in a way, that you can tell NM ~not to configure~ certain routes. IMO ncsvc should allow you to white-list certain routes, so you could say: don't tear down VPN when somebody messes with 192.168.1.0/24. Thomas --=-ZauElmUl1kRoxeEXYHOk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVcDprAAoJECnCNm5N/FcoybsP/3uPw2HkMG+68TbIPCycDPYt wnLOCa+OMHZC8yERJDeBe9JQMulN1ZIjmm0HgnKwanT3dkLgtUCG0Xmis994yOXP Js8IgjgPntWjlU+wMCI55SUtSHkXs4rjkJSJbcogzZWUgizKHPdFWfq18TIFEUdl w7pv4VZ1lBY9glRhJLVpaxU5pumUTjyBrrfUw+ag496zW/Q/YN5rD6klELOsPnHG oXdnowNo6mWdJRZ8gvlPbW8m2mTEHF6kupgB9WilmQbwgeusZKzS6eDlI0hJ5iCM p3EGOi9GWGsjO0veRk9EiV4VmKkv1+j0Uokrcs72ihfjHtgqSfmsKDPAbmzgrYtK h90cUooUkHM067KDWqXF+StKI1c2zPSP8St+i+emI21Yw3jZPF1tV3yQDEJAKtiC +0JNZIcuhAmf8hYfraAVQIYVnM+Ubna9T1zJuYRn+ZGOnabtUVexG7cK0qa5CijO E2SCJ89jZOKYYcyWEt74sw96k1xyweU79VndrNQakEfrx6AR7znLj0NgMHcL9J5j 7UqWay9k2Z9suEH07NbI6AJX0QBMcL0ttYxps2rT6O8lQPzB3DgISG1RpIyINMs2 lJmW1reMtPDBZ7h3tCuEgNSxVYbBPdwchWAC9CnlK2GkS8FyZthVNc0tJ8jwEGcX nXly7F5+Iw/BzcEblnX4 =NzkI -----END PGP SIGNATURE----- --=-ZauElmUl1kRoxeEXYHOk-- From espy@canonical.com Thu Jun 4 11:46:58 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 310BF76981 for ; Thu, 4 Jun 2015 11:46:58 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.21 X-Spam-Level: X-Spam-Status: No, score=-4.21 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PPlxGMDYPO8J for ; Thu, 4 Jun 2015 11:46:57 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by restaurant.gnome.org (Postfix) with ESMTP id 573087684B for ; Thu, 4 Jun 2015 11:46:46 +0000 (UTC) Received: from 209-6-88-107.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.88.107] helo=[192.168.1.5]) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1Z0Tbg-0008Nx-8s; Thu, 04 Jun 2015 11:46:44 +0000 Message-ID: <55703AA2.2050601@canonical.com> Date: Thu, 04 Jun 2015 07:46:42 -0400 From: Tony Espy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: poma , Pieter Cardoen , Dan Williams Subject: Re: NetworkManager autoconnect References: , <1433344743.25620.15.camel@redhat.com> <556F9DE3.4090904@canonical.com> <5570007A.9000606@gmail.com> In-Reply-To: <5570007A.9000606@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 11:46:58 -0000 On 06/04/2015 03:38 AM, poma wrote: > On 04.06.2015 02:37, Tony Espy wrote: >> On 06/03/2015 04:24 PM, Pieter Cardoen wrote: >>> I've tested it with WiFi but I also need to know the behaviour of the >>> wwan case. WiFi scanning interval was set to 10 seconds. I'll try it >>> again tomorrow and verify the scan interval in advance. >>> >>> The WPA_supplicant application has the possibility to set the autoscan >>> argument to periodic or to exponential. Could it possibly be that the >>> exponential setting is enabled which causes to the reconnect period to >>> rise to a large time? >>> >>> In case of the wwan connection, you spoke about 'a couple minutes'. Is >>> it possible to adapt this time or to know wat happens more exactly? >> >> I've actually been working with the code (NM_POLICY) that causes this >> timer to be set for wwan connections, so if you don't mind, I'll add >> what I've learned recently. >> >> I'm currently working with patched version of NM 0.9.10.0 ( see [1] for >> details ) as part of Ubuntu 14.10 base images we run on Ubuntu phones. >> We have a new set of patches that implement ofono support for >> NetworkManager, which to date has only been tested with the rilmodem >> ofono drivers used on Ubuntu phones. >> > > How is the AccessPoint (AP) infrastructure mode implemented on Ubuntu phones? If you're asking how WiFi AccessPoints are configured for Ubuntu phones, it's via a new Qt-based replacement for nm-applet called indicator-network. Regards, /tony From nicolasbock@gmail.com Thu Jun 4 11:56:59 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id D8C6476984 for ; Thu, 4 Jun 2015 11:56:59 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YzgenWb4Z3lU for ; Thu, 4 Jun 2015 11:56:58 +0000 (UTC) Received: from mail-oi0-f41.google.com (mail-oi0-f41.google.com [209.85.218.41]) by restaurant.gnome.org (Postfix) with ESMTP id EC1737684B for ; Thu, 4 Jun 2015 11:56:47 +0000 (UTC) Received: by oihb142 with SMTP id b142so29339654oih.3 for ; Thu, 04 Jun 2015 04:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=mhvz5rsE6/4Xhmaw3ELo3+8BD69wVdaxf9a7thqZ0fU=; b=SGuNCUQK0gnYar13ahUfbkxdKLCydzPxH6ZvFIJgN8c98O+gcsZr02efAyY1YZa30o bzg43j03OKvstA2E1fDYgUXYxmDpb8+UeCt17YqZ+8OCagczBC0S+/FLy41dYtcMMAJc ggNB9xZThjA56XZ5ON2DjutJ8sFyJ21hK89vB92o6s/U0biQR8cvxchBZFfaukZDdcJB DR9ReOhz2bDP9UKtznSqKNrlbguvIJh2yPX/1OXor9DxgQ+q5AE09r7yKuoEUWKWMUp+ ZS8DXUb3KD7xtm9zBJrQPFMqB/qCqOoR6p4wKOhyEZAYegIpmAh7dwWEQA5a/s3xNd0q ZVxQ== X-Received: by 10.202.55.5 with SMTP id e5mr30266713oia.126.1433419005845; Thu, 04 Jun 2015 04:56:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.90.166 with HTTP; Thu, 4 Jun 2015 04:56:05 -0700 (PDT) In-Reply-To: <1433418347.14044.8.camel@redhat.com> References: <1433418347.14044.8.camel@redhat.com> From: Nicolas Bock Date: Thu, 4 Jun 2015 05:56:05 -0600 Message-ID: Subject: Re: DHCP renewal changes routing table To: Thomas Haller Content-Type: text/plain; charset=UTF-8 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 11:56:59 -0000 Thanks Thomas for the helpful comments. It sounds like that there is no solution at the moment through networkmanager-1.0.2, right? I was naively considering some script in /etc/NetworkManager/dispatcher.d, but from the email threads you link it sounds like as if the routing table update would happen anyway. Thanks again for the help! nick On Thu, Jun 4, 2015 at 5:45 AM, Thomas Haller wrote: > On Do, 2015-06-04 at 04:55 -0600, Nicolas Bock wrote: >> Hi, >> >> When I run the Juniper Network Connect client (ncsvc) it terminates >> every time the DHCP license is renewed. The log files of ncsvc are >> unfortunately rather cryptic, but it appears as if the DHCP renewal >> leads to a change in the routing table which triggers a "rmon.error" >> in ncsvc which then tears down the VPN tunnel. Using timestamps the >> following two events correlate: >> >> 20150603133456.514649 ncsvc[p6870.t6870] rmon.error Route to >> destination 192.168.1.1 is missing mask 255.255.255.255 with gw >> 0.0.0.0, metric 1, if_id 0, disconnecting (routemon.cpp:628) >> >> which coincides with the following journal entries: >> >> Jun 03 13:34:55.454967 host NetworkManager[1805]: address >> 192.168.1.16 >> Jun 03 13:34:55.454985 host NetworkManager[1805]: plen 24 >> Jun 03 13:34:55.454990 host NetworkManager[1805]: expires in 300 >> seconds >> Jun 03 13:34:55.455026 host NetworkManager[1805]: gateway 192.168.1.1 >> Jun 03 13:34:55.455035 host NetworkManager[1805]: nameserver >> '192.168.1.1' >> Jun 03 13:34:55.455210 host NetworkManager[1805]: (wlp6s0): DHCPv4 >> state changed bound -> bound >> Jun 03 13:34:55.456679 host dbus[1799]: [system] Activating via >> systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus >> -org.freedesktop.nm-dispatcher.service' >> Jun 03 13:34:55.461372 host dbus[1799]: [system] Successfully >> activated service 'org.freedesktop.nm_dispatcher' >> Jun 03 13:34:55.462021 host nm-dispatcher[8295]: Dispatching action >> 'dhcp4-change' for wlp6s0 >> Jun 03 13:34:56.514958 host systemd-networkd[1803]: tun0 : lost >> carrier >> >> Besides the ncsvc error listed above I sometimes also see this one: >> >> 20150603132151.174661 ncsvc[p6870.t6870] rmon.error Unauthorized new >> route to 192.168.1.0/0.0.0.0 has been added (conflicts with >> our route to 0.0.0.0), disconnecting (routemon.cpp:598) >> >> Both seem to indicate that the routing table is changed on DHCP >> renewal. Is there a way to prevent networkmanager from doing this? Or >> is this problem caused by something else possibly? > > as you suspect, this is caused by NetworkManager. At various times > (e.g. when activating a connection, or on new DHCP lease), NM will > reinstall routes. > > > recently there was a related email thread: > https://mail.gnome.org/archives/networkmanager-list/2015 > -May/msg00016.html > > but no solution either. > > > We could change NM not only do any system-modification when it will > actually have any effect. > Like, re-installing a route, only if it is not yet currently there. > > > There was an idea to add a feature to "propert routes". > https://bugzilla.gnome.org/show_bug.cgi?id=749376 > It's not clear how this feature could look like, but probably it should > be designed in a way, that you can tell NM ~not to configure~ certain > routes. > > > IMO ncsvc should allow you to white-list certain routes, so you could > say: don't tear down VPN when somebody messes with 192.168.1.0/24. > > > Thomas > From thaller@redhat.com Thu Jun 4 12:07:25 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 6D21376984 for ; Thu, 4 Jun 2015 12:07:25 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.911 X-Spam-Level: X-Spam-Status: No, score=-6.911 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p78hsPe7mY-T for ; Thu, 4 Jun 2015 12:07:23 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 960E17684B for ; Thu, 4 Jun 2015 12:07:12 +0000 (UTC) Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id B91255A084; Thu, 4 Jun 2015 12:07:11 +0000 (UTC) Received: from x250 (dhcp-24-135.brq.redhat.com [10.34.24.135]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t54C79ew028507 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 4 Jun 2015 08:07:11 -0400 Message-ID: <1433419629.14044.14.camel@redhat.com> Subject: Re: DHCP renewal changes routing table From: Thomas Haller To: Nicolas Bock Date: Thu, 04 Jun 2015 14:07:09 +0200 In-Reply-To: References: <1433418347.14044.8.camel@redhat.com> Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-pz+2Yp7k1h7yUmfNzIZw" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 12:07:25 -0000 --=-pz+2Yp7k1h7yUmfNzIZw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Do, 2015-06-04 at 05:56 -0600, Nicolas Bock wrote: > Thanks Thomas for the helpful comments. >=20 > It sounds like that there is no solution at the moment through > networkmanager-1.0.2, right? I was naively considering some script in > /etc/NetworkManager/dispatcher.d, but from the email threads you link > it sounds like as if the routing table update would happen anyway. A dispatcher script would not prevent NM from adding any routes. Maybe using the VPN, you use it together with a connection that either only has static configuration ipv4.method=3Dmanual ipv4.addresses=3D... ipv4.routes=3D... or that suppresses routes from DHCP ipv4.method=3Dauto ipv4.routes=3D... ipv4.ignore-auto-routes=3Dyes that might work well enough, but that's not a real solution. Thomas >=20 > Thanks again for the help! >=20 > nick >=20 >=20 > On Thu, Jun 4, 2015 at 5:45 AM, Thomas Haller =20 > wrote: > > On Do, 2015-06-04 at 04:55 -0600, Nicolas Bock wrote: > > > Hi, > > >=20 > > > When I run the Juniper Network Connect client (ncsvc) it=20 > > > terminates > > > every time the DHCP license is renewed. The log files of ncsvc=20 > > > are > > > unfortunately rather cryptic, but it appears as if the DHCP=20 > > > renewal > > > leads to a change in the routing table which triggers a=20 > > > "rmon.error" > > > in ncsvc which then tears down the VPN tunnel. Using timestamps=20 > > > the > > > following two events correlate: > > >=20 > > > 20150603133456.514649 ncsvc[p6870.t6870] rmon.error Route to > > > destination 192.168.1.1 is missing mask 255.255.255.255 with gw > > > 0.0.0.0, metric 1, if_id 0, disconnecting (routemon.cpp:628) > > >=20 > > > which coincides with the following journal entries: > > >=20 > > > Jun 03 13:34:55.454967 host NetworkManager[1805]: address > > > 192.168.1.16 > > > Jun 03 13:34:55.454985 host NetworkManager[1805]: plen 24 > > > Jun 03 13:34:55.454990 host NetworkManager[1805]: expires in 300 > > > seconds > > > Jun 03 13:34:55.455026 host NetworkManager[1805]: gateway=20 > > > 192.168.1.1 > > > Jun 03 13:34:55.455035 host NetworkManager[1805]: nameserver > > > '192.168.1.1' > > > Jun 03 13:34:55.455210 host NetworkManager[1805]: (wlp6s0):=20 > > > DHCPv4 > > > state changed bound -> bound > > > Jun 03 13:34:55.456679 host dbus[1799]: [system] Activating via > > > systemd: service name=3D'org.freedesktop.nm_dispatcher' unit=3D'dbus > > > -org.freedesktop.nm-dispatcher.service' > > > Jun 03 13:34:55.461372 host dbus[1799]: [system] Successfully > > > activated service 'org.freedesktop.nm_dispatcher' > > > Jun 03 13:34:55.462021 host nm-dispatcher[8295]: Dispatching=20 > > > action > > > 'dhcp4-change' for wlp6s0 > > > Jun 03 13:34:56.514958 host systemd-networkd[1803]: tun0 : lost > > > carrier > > >=20 > > > Besides the ncsvc error listed above I sometimes also see this=20 > > > one: > > >=20 > > > 20150603132151.174661 ncsvc[p6870.t6870] rmon.error Unauthorized=20 > > > new > > > route to 192.168.1.0/0.0.0.0 has been added (conflicts=20 > > > with > > > our route to 0.0.0.0), disconnecting (routemon.cpp:598) > > >=20 > > > Both seem to indicate that the routing table is changed on DHCP > > > renewal. Is there a way to prevent networkmanager from doing=20 > > > this? Or > > > is this problem caused by something else possibly? > >=20 > > as you suspect, this is caused by NetworkManager. At various times > > (e.g. when activating a connection, or on new DHCP lease), NM will > > reinstall routes. > >=20 > >=20 > > recently there was a related email thread: > > https://mail.gnome.org/archives/networkmanager-list/2015 > > -May/msg00016.html > >=20 > > but no solution either. > >=20 > >=20 > > We could change NM not only do any system-modification when it will > > actually have any effect. > > Like, re-installing a route, only if it is not yet currently there. > >=20 > >=20 > > There was an idea to add a feature to "propert routes". > > https://bugzilla.gnome.org/show_bug.cgi?id=3D749376 > > It's not clear how this feature could look like, but probably it=20 > > should > > be designed in a way, that you can tell NM ~not to configure~=20 > > certain > > routes. > >=20 > >=20 > > IMO ncsvc should allow you to white-list certain routes, so you=20 > > could > > say: don't tear down VPN when somebody messes with 192.168.1.0/24. > >=20 > >=20 > > Thomas > >=20 --=-pz+2Yp7k1h7yUmfNzIZw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVcD9tAAoJECnCNm5N/FcoHZgQALJPzdo1YslnuZyNlwTuo+gy TIBXWRgPIpmB+Yu7B0nhLiSIrM2RbcyWXaT0opZqKd+UBjzOTknlQbEi6Qn8xqEq 0pGtJYLOxtXGIsKenrZ/SuPBrp0m7E6CjZx1p6jUUxwlW+MNPpLYjl6N3e6n/uww uvhKqXxPWUT9+TsVgMDQXjIaJV/3AH3SBy/IxxIS1PttCag0T84cPd11xauItTNE Ol/GhTgJAUzb4B0rxOHQ8Ik6xMQDd2aJutXeKwvKTdsvxcF5y+9ywnwh1U/q0SOI jVBDvLk3JzML0P75NrAts0+rB1Z/NMzarxIcb8gR8i9msgdCsHhd3/pcdL4QT0cs s8T7DEZaqXA1P+6Ee4vbUI/8ZnA+OfHaJwtQKNO+Eya/ns0EuaDfRr7ePzOTC0F/ 4NyjBThJQ1dbc98asZ87zdzyx/EtiWd35sxfTMnZZ4R1unWicaVo5t+GPH3A8waN bZSZBrjCVD17y+UxM+Y4PSFpfQbCjmtIWgZpMNtQza+CGiBiOzm0dMXti/36UTQG vUl5CYb6eRf7lcNFyVbrYjb14sjrtMTLxyDA1hQe76uFTc9FAlXkrJDnrg25RYUX tEIyyDMwo865tdJVtnnlwMx37TL8TaDrsxgP1/76fzIyWvec2aGt8GQgEwBTlL8q SXoEq15/XadMoIYeaIUZ =99k2 -----END PGP SIGNATURE----- --=-pz+2Yp7k1h7yUmfNzIZw-- From nicolasbock@gmail.com Thu Jun 4 12:14:34 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 1413D76984 for ; Thu, 4 Jun 2015 12:14:34 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KL5hfnxkGi-B for ; Thu, 4 Jun 2015 12:14:32 +0000 (UTC) Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181]) by restaurant.gnome.org (Postfix) with ESMTP id 511C27684B for ; Thu, 4 Jun 2015 12:14:21 +0000 (UTC) Received: by obbgp2 with SMTP id gp2so8589723obb.2 for ; Thu, 04 Jun 2015 05:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=oW9rjAnqLDFBKDYDBhH0A606pn2e4aZ0wPXMQJhi2b8=; b=ShxyRcCnw2ujIpCap8gLHkm//6YKYG1vLmoRg5S2sStbQ9hwUaw82xfy6+9Sk+U78t PRm24i50PugN9MiUmC9GRSk9rJQiyiSTlmffAiKSXQ3JhAdAHB9vXrCC8G2kblHlay57 bvTSmsVZzmayrB+OJS2zvb2RHV/FPegFrjmRUgDgwHqyVJ8OGMWErwUM0jC3lbQ6oA/N SbeZDLbPajU/dT0JQo+zeu4HT8FefIG9AgR7WKXZaqkpiqji4SffHUaoiulEJWeeg9sp EIOoiQSU/fKsXZsHH7lOYqb2LKGBd6NCgmtfZFg6xY89te4OwaLovAI+Tlt/RXGSVhS0 sBhg== X-Received: by 10.182.246.197 with SMTP id xy5mr12851002obc.51.1433420060394; Thu, 04 Jun 2015 05:14:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.90.166 with HTTP; Thu, 4 Jun 2015 05:13:39 -0700 (PDT) In-Reply-To: <1433419629.14044.14.camel@redhat.com> References: <1433418347.14044.8.camel@redhat.com> <1433419629.14044.14.camel@redhat.com> From: Nicolas Bock Date: Thu, 4 Jun 2015 06:13:39 -0600 Message-ID: Subject: Re: DHCP renewal changes routing table To: Thomas Haller Content-Type: text/plain; charset=UTF-8 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 12:14:34 -0000 On Thu, Jun 4, 2015 at 6:07 AM, Thomas Haller wrote: > On Do, 2015-06-04 at 05:56 -0600, Nicolas Bock wrote: >> Thanks Thomas for the helpful comments. >> >> It sounds like that there is no solution at the moment through >> networkmanager-1.0.2, right? I was naively considering some script in >> /etc/NetworkManager/dispatcher.d, but from the email threads you link >> it sounds like as if the routing table update would happen anyway. > > A dispatcher script would not prevent NM from adding any routes. > > Maybe using the VPN, you use it together with a connection > that either only has static configuration > ipv4.method=manual > ipv4.addresses=... > ipv4.routes=... > or that suppresses routes from DHCP > ipv4.method=auto > ipv4.routes=... > ipv4.ignore-auto-routes=yes > that might work well enough, but that's not a real solution. > Could I do that such that nm uses the normal approach while not using ncsvc, and switches to ignoring routes while under VPN? > > Thomas > > >> >> Thanks again for the help! >> >> nick >> >> >> On Thu, Jun 4, 2015 at 5:45 AM, Thomas Haller >> wrote: >> > On Do, 2015-06-04 at 04:55 -0600, Nicolas Bock wrote: >> > > Hi, >> > > >> > > When I run the Juniper Network Connect client (ncsvc) it >> > > terminates >> > > every time the DHCP license is renewed. The log files of ncsvc >> > > are >> > > unfortunately rather cryptic, but it appears as if the DHCP >> > > renewal >> > > leads to a change in the routing table which triggers a >> > > "rmon.error" >> > > in ncsvc which then tears down the VPN tunnel. Using timestamps >> > > the >> > > following two events correlate: >> > > >> > > 20150603133456.514649 ncsvc[p6870.t6870] rmon.error Route to >> > > destination 192.168.1.1 is missing mask 255.255.255.255 with gw >> > > 0.0.0.0, metric 1, if_id 0, disconnecting (routemon.cpp:628) >> > > >> > > which coincides with the following journal entries: >> > > >> > > Jun 03 13:34:55.454967 host NetworkManager[1805]: address >> > > 192.168.1.16 >> > > Jun 03 13:34:55.454985 host NetworkManager[1805]: plen 24 >> > > Jun 03 13:34:55.454990 host NetworkManager[1805]: expires in 300 >> > > seconds >> > > Jun 03 13:34:55.455026 host NetworkManager[1805]: gateway >> > > 192.168.1.1 >> > > Jun 03 13:34:55.455035 host NetworkManager[1805]: nameserver >> > > '192.168.1.1' >> > > Jun 03 13:34:55.455210 host NetworkManager[1805]: (wlp6s0): >> > > DHCPv4 >> > > state changed bound -> bound >> > > Jun 03 13:34:55.456679 host dbus[1799]: [system] Activating via >> > > systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus >> > > -org.freedesktop.nm-dispatcher.service' >> > > Jun 03 13:34:55.461372 host dbus[1799]: [system] Successfully >> > > activated service 'org.freedesktop.nm_dispatcher' >> > > Jun 03 13:34:55.462021 host nm-dispatcher[8295]: Dispatching >> > > action >> > > 'dhcp4-change' for wlp6s0 >> > > Jun 03 13:34:56.514958 host systemd-networkd[1803]: tun0 : lost >> > > carrier >> > > >> > > Besides the ncsvc error listed above I sometimes also see this >> > > one: >> > > >> > > 20150603132151.174661 ncsvc[p6870.t6870] rmon.error Unauthorized >> > > new >> > > route to 192.168.1.0/0.0.0.0 has been added (conflicts >> > > with >> > > our route to 0.0.0.0), disconnecting (routemon.cpp:598) >> > > >> > > Both seem to indicate that the routing table is changed on DHCP >> > > renewal. Is there a way to prevent networkmanager from doing >> > > this? Or >> > > is this problem caused by something else possibly? >> > >> > as you suspect, this is caused by NetworkManager. At various times >> > (e.g. when activating a connection, or on new DHCP lease), NM will >> > reinstall routes. >> > >> > >> > recently there was a related email thread: >> > https://mail.gnome.org/archives/networkmanager-list/2015 >> > -May/msg00016.html >> > >> > but no solution either. >> > >> > >> > We could change NM not only do any system-modification when it will >> > actually have any effect. >> > Like, re-installing a route, only if it is not yet currently there. >> > >> > >> > There was an idea to add a feature to "propert routes". >> > https://bugzilla.gnome.org/show_bug.cgi?id=749376 >> > It's not clear how this feature could look like, but probably it >> > should >> > be designed in a way, that you can tell NM ~not to configure~ >> > certain >> > routes. >> > >> > >> > IMO ncsvc should allow you to white-list certain routes, so you >> > could >> > say: don't tear down VPN when somebody messes with 192.168.1.0/24. >> > >> > >> > Thomas >> > From thaller@redhat.com Thu Jun 4 12:30:30 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 5B40376981 for ; Thu, 4 Jun 2015 12:30:30 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.911 X-Spam-Level: X-Spam-Status: No, score=-6.911 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YYaK9YmsZaiT for ; Thu, 4 Jun 2015 12:30:28 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id C187F7684B for ; Thu, 4 Jun 2015 12:30:18 +0000 (UTC) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 11C923702DC; Thu, 4 Jun 2015 12:30:17 +0000 (UTC) Received: from x250 (dhcp-24-135.brq.redhat.com [10.34.24.135]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t54CUFEX020179 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 4 Jun 2015 08:30:16 -0400 Message-ID: <1433421014.14044.22.camel@redhat.com> Subject: Re: DHCP renewal changes routing table From: Thomas Haller To: Nicolas Bock Date: Thu, 04 Jun 2015 14:30:14 +0200 In-Reply-To: References: <1433418347.14044.8.camel@redhat.com> <1433419629.14044.14.camel@redhat.com> Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-U/VjBoeYNAkbunvpk2W0" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 12:30:30 -0000 --=-U/VjBoeYNAkbunvpk2W0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Do, 2015-06-04 at 06:13 -0600, Nicolas Bock wrote: > On Thu, Jun 4, 2015 at 6:07 AM, Thomas Haller =20 > wrote: > > On Do, 2015-06-04 at 05:56 -0600, Nicolas Bock wrote: > > > Thanks Thomas for the helpful comments. > > >=20 > > > It sounds like that there is no solution at the moment through > > > networkmanager-1.0.2, right? I was naively considering some=20 > > > script in > > > /etc/NetworkManager/dispatcher.d, but from the email threads you=20 > > > link > > > it sounds like as if the routing table update would happen=20 > > > anyway. > >=20 > > A dispatcher script would not prevent NM from adding any routes. > >=20 > > Maybe using the VPN, you use it together with a connection > > that either only has static configuration > > ipv4.method=3Dmanual > > ipv4.addresses=3D... > > ipv4.routes=3D... > > or that suppresses routes from DHCP > > ipv4.method=3Dauto > > ipv4.routes=3D... > > ipv4.ignore-auto-routes=3Dyes > > that might work well enough, but that's not a real solution. > >=20 > Could I do that such that nm uses the normal approach while not using > ncsvc, and switches to ignoring routes while under VPN? you can add a second connections (connections are like "profiles"). You would still have to activate the right one manually, but maybe combine it with your VPN startup-script... #!/bin/sh nmcli connection up eth0-static-routes ncsvc connect Thomas >=20 > >=20 > > Thomas > >=20 > >=20 > > >=20 > > > Thanks again for the help! > > >=20 > > > nick > > >=20 > > >=20 > > > On Thu, Jun 4, 2015 at 5:45 AM, Thomas Haller > > > > > > wrote: > > > > On Do, 2015-06-04 at 04:55 -0600, Nicolas Bock wrote: > > > > > Hi, > > > > >=20 > > > > > When I run the Juniper Network Connect client (ncsvc) it > > > > > terminates > > > > > every time the DHCP license is renewed. The log files of=20 > > > > > ncsvc > > > > > are > > > > > unfortunately rather cryptic, but it appears as if the DHCP > > > > > renewal > > > > > leads to a change in the routing table which triggers a > > > > > "rmon.error" > > > > > in ncsvc which then tears down the VPN tunnel. Using=20 > > > > > timestamps > > > > > the > > > > > following two events correlate: > > > > >=20 > > > > > 20150603133456.514649 ncsvc[p6870.t6870] rmon.error Route to > > > > > destination 192.168.1.1 is missing mask 255.255.255.255 with=20 > > > > > gw > > > > > 0.0.0.0, metric 1, if_id 0, disconnecting (routemon.cpp:628) > > > > >=20 > > > > > which coincides with the following journal entries: > > > > >=20 > > > > > Jun 03 13:34:55.454967 host NetworkManager[1805]: address > > > > > 192.168.1.16 > > > > > Jun 03 13:34:55.454985 host NetworkManager[1805]: plen 24 > > > > > Jun 03 13:34:55.454990 host NetworkManager[1805]: expires in=20 > > > > > 300 > > > > > seconds > > > > > Jun 03 13:34:55.455026 host NetworkManager[1805]: gateway > > > > > 192.168.1.1 > > > > > Jun 03 13:34:55.455035 host NetworkManager[1805]: nameserver > > > > > '192.168.1.1' > > > > > Jun 03 13:34:55.455210 host NetworkManager[1805]: (wlp6s0): > > > > > DHCPv4 > > > > > state changed bound -> bound > > > > > Jun 03 13:34:55.456679 host dbus[1799]: [system] Activating=20 > > > > > via > > > > > systemd: service name=3D'org.freedesktop.nm_dispatcher'=20 > > > > > unit=3D'dbus > > > > > -org.freedesktop.nm-dispatcher.service' > > > > > Jun 03 13:34:55.461372 host dbus[1799]: [system] Successfully > > > > > activated service 'org.freedesktop.nm_dispatcher' > > > > > Jun 03 13:34:55.462021 host nm-dispatcher[8295]: Dispatching > > > > > action > > > > > 'dhcp4-change' for wlp6s0 > > > > > Jun 03 13:34:56.514958 host systemd-networkd[1803]: tun0 :=20 > > > > > lost > > > > > carrier > > > > >=20 > > > > > Besides the ncsvc error listed above I sometimes also see=20 > > > > > this > > > > > one: > > > > >=20 > > > > > 20150603132151.174661 ncsvc[p6870.t6870] rmon.error=20 > > > > > Unauthorized > > > > > new > > > > > route to 192.168.1.0/0.0.0.0 has been added (conflicts > > > > > with > > > > > our route to 0.0.0.0), disconnecting (routemon.cpp:598) > > > > >=20 > > > > > Both seem to indicate that the routing table is changed on=20 > > > > > DHCP > > > > > renewal. Is there a way to prevent networkmanager from doing > > > > > this? Or > > > > > is this problem caused by something else possibly? > > > >=20 > > > > as you suspect, this is caused by NetworkManager. At various=20 > > > > times > > > > (e.g. when activating a connection, or on new DHCP lease), NM=20 > > > > will > > > > reinstall routes. > > > >=20 > > > >=20 > > > > recently there was a related email thread: > > > > https://mail.gnome.org/archives/networkmanager-list/2015 > > > > -May/msg00016.html > > > >=20 > > > > but no solution either. > > > >=20 > > > >=20 > > > > We could change NM not only do any system-modification when it=20 > > > > will > > > > actually have any effect. > > > > Like, re-installing a route, only if it is not yet currently=20 > > > > there. > > > >=20 > > > >=20 > > > > There was an idea to add a feature to "propert routes". > > > > https://bugzilla.gnome.org/show_bug.cgi?id=3D749376 > > > > It's not clear how this feature could look like, but probably=20 > > > > it > > > > should > > > > be designed in a way, that you can tell NM ~not to configure~ > > > > certain > > > > routes. > > > >=20 > > > >=20 > > > > IMO ncsvc should allow you to white-list certain routes, so you > > > > could > > > > say: don't tear down VPN when somebody messes with=20 > > > > 192.168.1.0/24. > > > >=20 > > > >=20 > > > > Thomas > > > >=20 --=-U/VjBoeYNAkbunvpk2W0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVcETWAAoJECnCNm5N/FcoMSQP/2JiCIl7wrV1Qeu42d4GznMb ylEFTx6cK7pFPioJgWSMogw60N1BEXEIH+5k93Rpxu02enX8IjaSvnoFa1n0HGg4 S82AduXhOuKE8SV5CuDahDWZ4223FF7Cncv+uTQwe8jJvr18eKvjDLfO2epv9PUr rZFjEqljEFUHG407zFisaTFv204cfoL6ONjPl5GgF0cMV6r+KlT1zzUC5OU8OG7d vcpNR0aIhAxj3VKcbm51RtRwF3qgG/pXc0HJoHXSoG0l9MOU3eLWsFeWritY8n5p 4QyvX0q5gr2mNJ/4BQZG1ex16HZwCHzPASAmYnh6FCZxVefhm4nsY7BwL1uxkhSa iQ5D7ObHUdTToRdeMeLq0OrVXQimdhmt/l2vu0nH5plU+RAgZE/+NCLnkVwM/RsF B8wOJ3QNliYWbWqGfd4OvTGqJ9HH4wyP2CugVW4brxj5L+SdTVWZS0KTn9boDdCY RjB0tN6B+G7AQkpmOt3HVpMB/coc+KV4396JadJSAGEiq0849OyP0WOpK3ZivU7p oDcX2BcSnywx3BC+uWrAnmzuQu0lwww23cslY5jM26CdVUfGaxktcZg0B4NzduNt NZHrdO2hAS/nRPkfSVcnhn278vURAfysXtJi8ffR4g65cUZimPZU2s5GsljE9lF0 56jdtrEAwBl5brWPKAx2 =8fdD -----END PGP SIGNATURE----- --=-U/VjBoeYNAkbunvpk2W0-- From pomidorabelisima@gmail.com Fri Jun 5 12:19:34 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 62621769B8 for ; Fri, 5 Jun 2015 12:19:34 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 576AAvUmDnfh for ; Fri, 5 Jun 2015 12:19:33 +0000 (UTC) Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by restaurant.gnome.org (Postfix) with ESMTP id ABC78768B5 for ; Fri, 5 Jun 2015 12:19:21 +0000 (UTC) Received: by wgbgq6 with SMTP id gq6so55438974wgb.3 for ; Fri, 05 Jun 2015 05:19:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=b+roJ6M1GQ9x7E85MX74Yshar4mILACXSHlkfbCE7qI=; b=J3/jiu7WUkfvAGG5buGSuzx1zCADuWPPf1j/D49Rsr621VoY6FvEAa32whS003fKha 5ZaWA6zCufYhiOTK2nQfDBRGfbWEu1wjR0n+3NZ8K2BlYi72dKBh0+OVlwVyACt0CkQx 5nQ5lHaM6rYALjfF3Xvzq8Ddn2QYyfzZ1WMRExw6z/VboefXh0tP/c8Mo5s4FIOWBt74 ck0f7hO5agWLsTuj68asL3diTcnW4AxofouPmXi56Cj/b5FdI/BpyQm50l2GlnByNbt5 4KE+kynupTLA70FVBMVMLj4aoZU/NFc7F0K9vZKA3m8I6T2g8UUHlcAu4lrUvXBB+VKP o1kw== X-Received: by 10.194.209.130 with SMTP id mm2mr5893767wjc.64.1433506760278; Fri, 05 Jun 2015 05:19:20 -0700 (PDT) Received: from localhost (iskon8065.duo.carnet.hr. [31.147.127.129]) by mx.google.com with ESMTPSA id ef10sm10372884wjd.49.2015.06.05.05.19.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jun 2015 05:19:19 -0700 (PDT) Message-ID: <557193C5.5040206@gmail.com> Date: Fri, 05 Jun 2015 14:19:17 +0200 From: poma User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Tony Espy , Pieter Cardoen , Dan Williams Subject: Re: NetworkManager autoconnect References: , <1433344743.25620.15.camel@redhat.com> <556F9DE3.4090904@canonical.com> <5570007A.9000606@gmail.com> <55703AA2.2050601@canonical.com> In-Reply-To: <55703AA2.2050601@canonical.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 12:19:34 -0000 On 04.06.2015 13:46, Tony Espy wrote: > On 06/04/2015 03:38 AM, poma wrote: >> On 04.06.2015 02:37, Tony Espy wrote: >>> On 06/03/2015 04:24 PM, Pieter Cardoen wrote: >>>> I've tested it with WiFi but I also need to know the behaviour of the >>>> wwan case. WiFi scanning interval was set to 10 seconds. I'll try it >>>> again tomorrow and verify the scan interval in advance. >>>> >>>> The WPA_supplicant application has the possibility to set the autoscan >>>> argument to periodic or to exponential. Could it possibly be that the >>>> exponential setting is enabled which causes to the reconnect period to >>>> rise to a large time? >>>> >>>> In case of the wwan connection, you spoke about 'a couple minutes'. Is >>>> it possible to adapt this time or to know wat happens more exactly? >>> >>> I've actually been working with the code (NM_POLICY) that causes this >>> timer to be set for wwan connections, so if you don't mind, I'll add >>> what I've learned recently. >>> >>> I'm currently working with patched version of NM 0.9.10.0 ( see [1] for >>> details ) as part of Ubuntu 14.10 base images we run on Ubuntu phones. >>> We have a new set of patches that implement ofono support for >>> NetworkManager, which to date has only been tested with the rilmodem >>> ofono drivers used on Ubuntu phones. >>> >> >> How is the AccessPoint (AP) infrastructure mode implemented on Ubuntu phones? > > If you're asking how WiFi AccessPoints are configured for Ubuntu phones, > it's via a new Qt-based replacement for nm-applet called indicator-network. > > Regards, > /tony > I was referring to the backend, but OK. So it's done with the NM, not with the hostapd, therefore no MAC filtering there, right? From alok.shanker@gmail.com Wed Jun 3 19:37:12 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id B67FD7684B for ; Wed, 3 Jun 2015 19:37:12 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.699 X-Spam-Level: X-Spam-Status: No, score=-2.699 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04XaMTBpWHbR for ; Wed, 3 Jun 2015 19:37:11 +0000 (UTC) Received: from mail-qc0-f172.google.com (mail-qc0-f172.google.com [209.85.216.172]) by restaurant.gnome.org (Postfix) with ESMTP id AF0FC76249 for ; Wed, 3 Jun 2015 19:37:00 +0000 (UTC) Received: by qczw4 with SMTP id w4so8853187qcz.2 for ; Wed, 03 Jun 2015 12:36:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=soIoFyFRW8ckxCfeXpsMhWyZ4QVhy/BvxtDhZmCEEDM=; b=UP4p6Xvrnf0VqokPMDhZi1xypeCfTJ2gpr3XL2EGyxpijy5ZDrRzdaUd8HdOvxnqiq wNc4RwfSgj4RiuOQbrhGjHP5ICGaxmSa1j1OYFkQIIFb5wZLHC4JLLWK2g1mYH46Bpzf hUGF4bOjcIOC20UYwNmq/ze3yhgFtOx2khuHGyPBKLMWjfJ1vUGu57c4eNSSEUnU6Gge G5A2bOQTMuNy4kU7Dz6CEp6QrJN7ZyORFzh447oGf9r7YZjBZagPs7ZH4Twegu9CbSHB vsqE4AbnIqxoQoC7ZISFGkip6pfPXJWhVgyNdX13vKPYBs8yJm4BhRkLosLEWRKrNSzV Na8Q== MIME-Version: 1.0 X-Received: by 10.140.233.146 with SMTP id e140mr40391184qhc.26.1433360219611; Wed, 03 Jun 2015 12:36:59 -0700 (PDT) Received: by 10.229.103.5 with HTTP; Wed, 3 Jun 2015 12:36:59 -0700 (PDT) Date: Wed, 3 Jun 2015 12:36:59 -0700 Message-ID: Subject: Out of memory warnings from network manager From: Alok Shankar To: networkmanager-list@gnome.org Content-Type: multipart/alternative; boundary=001a1136ec5cb9a8ed0517a22e9f X-Mailman-Approved-At: Fri, 05 Jun 2015 16:33:03 +0000 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 19:37:12 -0000 --001a1136ec5cb9a8ed0517a22e9f Content-Type: text/plain; charset=UTF-8 Hi, I am running Network manager version 0.9.4.0 on Ubuntu, and I see that my syslog is flooded with the messages shown below: 2015-05-31T13:54:02.922826-07:00 ctrl-112 NetworkManager[893]: WARNING error monitoring device for netlink events: No buffer space available 2015-05-31T13:56:02.986451-07:00 ctrl-112 NetworkManager[893]: WARNING error monitoring device for netlink events: No buffer space available 2015-05-31T13:58:02.922670-07:00 ctrl-112 NetworkManager[893]: WARNING error monitoring device for netlink events: error processing netlink message: Out of memory 2015-05-31T14:00:02.986715-07:00 ctrl-112 NetworkManager[893]: WARNING error monitoring device for netlink events: No buffer space available admin@ctrl-112:~$ free -m total used free shared buffers cached Mem: 56369 7021 49348 0 252 1005 -/+ buffers/cache: 5763 50606 Swap: 1901 0 1901 What can be the possible cause of these messages? What is the best approach to debug this? Any suggestions will be appreciated. Cheers, Alok --001a1136ec5cb9a8ed0517a22e9f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I am running Network manager v= ersion 0.9.4.0 on Ubuntu, and I see that my syslog is flooded with the mess= ages shown below:


2015-= 05-31T13:54:02.922826-07:00 ctrl-112 NetworkManager[893]: WARNING <warn&= gt; error monitoring device for netlink events: No buffer space available
2015-05-31T13:56:02.986451-07:00 ctrl-112 NetworkManager[893]: WAR= NING <warn> error monitoring device for netlink events: No buffer spa= ce available
2015-05-31T13:58:02.922670-07:00 ctrl-112 NetworkMan= ager[893]: WARNING <warn> error monitoring device for netlink events:= error processing netlink message: Out of memory
2015-05-31T14:00= :02.986715-07:00 ctrl-112 NetworkManager[893]: WARNING <warn> error m= onitoring device for netlink events: No buffer space available

admin@ctrl-112:~$ free -m
             total       used       free     shared    buffers     cached
Mem:         56369       7021      49348          0        252       1005
-/+ buffers/cache:       5763      50606
Swap:         1901          0       1901

Wha= t can be the possible cause of these messages? What is the best approach to= debug this? Any suggestions will be appreciated.

Cheers,
Alok
--001a1136ec5cb9a8ed0517a22e9f-- From dcbw@redhat.com Fri Jun 5 16:39:21 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id C8FF9769E7 for ; Fri, 5 Jun 2015 16:39:21 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.911 X-Spam-Level: X-Spam-Status: No, score=-6.911 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nvvp9rzYCPxq for ; Fri, 5 Jun 2015 16:39:20 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id D6E22768B5 for ; Fri, 5 Jun 2015 16:39:04 +0000 (UTC) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 827AF8E3FC; Fri, 5 Jun 2015 16:39:03 +0000 (UTC) Received: from vpn-229-147.phx2.redhat.com (vpn-229-147.phx2.redhat.com [10.3.229.147]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t55Gd2CZ011832; Fri, 5 Jun 2015 12:39:03 -0400 Message-ID: <1433522342.5784.14.camel@redhat.com> Subject: Re: DHCP renewal changes routing table From: Dan Williams To: Thomas Haller Date: Fri, 05 Jun 2015 11:39:02 -0500 In-Reply-To: <1433418347.14044.8.camel@redhat.com> References: <1433418347.14044.8.camel@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 16:39:21 -0000 On Thu, 2015-06-04 at 13:45 +0200, Thomas Haller wrote: > On Do, 2015-06-04 at 04:55 -0600, Nicolas Bock wrote: > > Hi, > > > > When I run the Juniper Network Connect client (ncsvc) it terminates > > every time the DHCP license is renewed. The log files of ncsvc are > > unfortunately rather cryptic, but it appears as if the DHCP renewal > > leads to a change in the routing table which triggers a "rmon.error" > > in ncsvc which then tears down the VPN tunnel. Using timestamps the > > following two events correlate: > > > > 20150603133456.514649 ncsvc[p6870.t6870] rmon.error Route to > > destination 192.168.1.1 is missing mask 255.255.255.255 with gw > > 0.0.0.0, metric 1, if_id 0, disconnecting (routemon.cpp:628) > > > > which coincides with the following journal entries: > > > > Jun 03 13:34:55.454967 host NetworkManager[1805]: address > > 192.168.1.16 > > Jun 03 13:34:55.454985 host NetworkManager[1805]: plen 24 > > Jun 03 13:34:55.454990 host NetworkManager[1805]: expires in 300 > > seconds > > Jun 03 13:34:55.455026 host NetworkManager[1805]: gateway 192.168.1.1 > > Jun 03 13:34:55.455035 host NetworkManager[1805]: nameserver > > '192.168.1.1' > > Jun 03 13:34:55.455210 host NetworkManager[1805]: (wlp6s0): DHCPv4 > > state changed bound -> bound > > Jun 03 13:34:55.456679 host dbus[1799]: [system] Activating via > > systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus > > -org.freedesktop.nm-dispatcher.service' > > Jun 03 13:34:55.461372 host dbus[1799]: [system] Successfully > > activated service 'org.freedesktop.nm_dispatcher' > > Jun 03 13:34:55.462021 host nm-dispatcher[8295]: Dispatching action > > 'dhcp4-change' for wlp6s0 > > Jun 03 13:34:56.514958 host systemd-networkd[1803]: tun0 : lost > > carrier > > > > Besides the ncsvc error listed above I sometimes also see this one: > > > > 20150603132151.174661 ncsvc[p6870.t6870] rmon.error Unauthorized new > > route to 192.168.1.0/0.0.0.0 has been added (conflicts with > > our route to 0.0.0.0), disconnecting (routemon.cpp:598) > > > > Both seem to indicate that the routing table is changed on DHCP > > renewal. Is there a way to prevent networkmanager from doing this? Or > > is this problem caused by something else possibly? > > as you suspect, this is caused by NetworkManager. At various times > (e.g. when activating a connection, or on new DHCP lease), NM will > reinstall routes. > > > recently there was a related email thread: > https://mail.gnome.org/archives/networkmanager-list/2015 > -May/msg00016.html > > but no solution either. > > > We could change NM not only do any system-modification when it will > actually have any effect. > Like, re-installing a route, only if it is not yet currently there. In NM 1.0.x we still have nm_platform_ip4_route_sync() which already checks array_contains_ip4_route(), so shouldn't that prevent re-installation of device-specific routes that are already there? Or this is only about the default route and subnet routes from the NMDefaultRouteManager? Dan From thaller@redhat.com Fri Jun 5 19:12:22 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 82A5F76AAF for ; Fri, 5 Jun 2015 19:12:22 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.911 X-Spam-Level: X-Spam-Status: No, score=-6.911 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ixudLqo9QHnn for ; Fri, 5 Jun 2015 19:12:21 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 7126376A87 for ; Fri, 5 Jun 2015 19:12:04 +0000 (UTC) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 599143824E3; Fri, 5 Jun 2015 19:12:03 +0000 (UTC) Received: from x250 (ovpn-204-26.brq.redhat.com [10.40.204.26]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t55JC0fP009271 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 5 Jun 2015 15:12:02 -0400 Message-ID: <1433531504.7434.1.camel@redhat.com> Subject: Re: DHCP renewal changes routing table From: Thomas Haller To: Dan Williams Date: Fri, 05 Jun 2015 21:11:44 +0200 In-Reply-To: <1433522342.5784.14.camel@redhat.com> References: <1433418347.14044.8.camel@redhat.com> <1433522342.5784.14.camel@redhat.com> Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-SJep0VC48x9sDDrlvQgq" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 19:12:22 -0000 --=-SJep0VC48x9sDDrlvQgq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fr, 2015-06-05 at 11:39 -0500, Dan Williams wrote: > On Thu, 2015-06-04 at 13:45 +0200, Thomas Haller wrote: > > On Do, 2015-06-04 at 04:55 -0600, Nicolas Bock wrote: > > > Hi, > > >=20 > > > When I run the Juniper Network Connect client (ncsvc) it=20 > > > terminates=20 > > > every time the DHCP license is renewed. The log files of ncsvc=20 > > > are=20 > > > unfortunately rather cryptic, but it appears as if the DHCP=20 > > > renewal=20 > > > leads to a change in the routing table which triggers a=20 > > > "rmon.error"=20 > > > in ncsvc which then tears down the VPN tunnel. Using timestamps=20 > > > the=20 > > > following two events correlate: > > >=20 > > > 20150603133456.514649 ncsvc[p6870.t6870] rmon.error Route to=20 > > > destination 192.168.1.1 is missing mask 255.255.255.255 with gw=20 > > > 0.0.0.0, metric 1, if_id 0, disconnecting (routemon.cpp:628) > > >=20 > > > which coincides with the following journal entries: > > >=20 > > > Jun 03 13:34:55.454967 host NetworkManager[1805]: address=20 > > > 192.168.1.16 > > > Jun 03 13:34:55.454985 host NetworkManager[1805]: plen 24 > > > Jun 03 13:34:55.454990 host NetworkManager[1805]: expires in 300=20 > > > seconds > > > Jun 03 13:34:55.455026 host NetworkManager[1805]: gateway=20 > > > 192.168.1.1 > > > Jun 03 13:34:55.455035 host NetworkManager[1805]: nameserver=20 > > > '192.168.1.1' > > > Jun 03 13:34:55.455210 host NetworkManager[1805]: (wlp6s0):=20 > > > DHCPv4=20 > > > state changed bound -> bound > > > Jun 03 13:34:55.456679 host dbus[1799]: [system] Activating via=20 > > > systemd: service name=3D'org.freedesktop.nm_dispatcher' unit=3D'dbus > > > -org.freedesktop.nm-dispatcher.service' > > > Jun 03 13:34:55.461372 host dbus[1799]: [system] Successfully=20 > > > activated service 'org.freedesktop.nm_dispatcher' > > > Jun 03 13:34:55.462021 host nm-dispatcher[8295]: Dispatching=20 > > > action=20 > > > 'dhcp4-change' for wlp6s0 > > > Jun 03 13:34:56.514958 host systemd-networkd[1803]: tun0 : lost=20 > > > carrier > > >=20 > > > Besides the ncsvc error listed above I sometimes also see this=20 > > > one: > > >=20 > > > 20150603132151.174661 ncsvc[p6870.t6870] rmon.error Unauthorized=20 > > > new=20 > > > route to 192.168.1.0/0.0.0.0 has been added (conflicts=20 > > > with=20 > > > our route to 0.0.0.0), disconnecting (routemon.cpp:598) > > >=20 > > > Both seem to indicate that the routing table is changed on DHCP=20 > > > renewal. Is there a way to prevent networkmanager from doing=20 > > > this? Or=20 > > > is this problem caused by something else possibly? > >=20 > > as you suspect, this is caused by NetworkManager. At various times > > (e.g. when activating a connection, or on new DHCP lease), NM will > > reinstall routes. > >=20 > >=20 > > recently there was a related email thread: > > https://mail.gnome.org/archives/networkmanager-list/2015 > > -May/msg00016.html > >=20 > > but no solution either. > >=20 > >=20 > > We could change NM not only do any system-modification when it will > > actually have any effect. > > Like, re-installing a route, only if it is not yet currently there. >=20 > In NM 1.0.x we still have nm_platform_ip4_route_sync() which already > checks array_contains_ip4_route(), so shouldn't that prevent > re-installation of device-specific routes that are already there? Or > this is only about the default route and subnet routes from the > NMDefaultRouteManager? Yes, NMRouteManager would not install routes that are already present. But from DHCP a new address/route could be announced, or another interface might activate/deactivate... http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/nm-route= -manager.c?id=3Dd38c3851f803c4e2f6faa1f88dfe55f952148891#n558 Thomas --=-SJep0VC48x9sDDrlvQgq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVcfRwAAoJECnCNm5N/FcoqLEP/RJIlI+XBVzUVsIIaV3J38Zn LiAyqbw6SLw6V7daKTudXO/h5tTsIB1WPbsAPLnOfXVMfZegm5T6bfAuZF2+SixC kzbg5JfGAHn2c+R+pI+ZqBuV8exo1d8kMXJP7x9OQSW3Hdjep9LJ/apXA4sf6Tb0 PdJ08vUh6TCsuumT9LbjltRSwS9I4sE3Qq+XfBzHSd4IIocHiQYGGwNgtfgqQ530 rs74xy47K6gt+7OvVdPVrA96JnYtPpQ1wYn+w9l5jjyBevboJTHZ+B6qiFd625Sg OKw+QZa15efWcIeILdkuh7fwqm0sUL7mFWUdDZf/WGMfOPa+JrXyfbJUVVz8zl8N NkHE3WqZ9p1WoAzE/pODKuDPRxJBTMI2c+cKU/7T/K+ZzzoOzgpxRcbWKuCcvpF8 +Udx2umjTN9gt3VEXSuR0mOC+oyOthpmB/5OkTftdCGZUbM3OcQcsD0PWzzFVfo7 Cy35baolGW2xTAskoLWrLb3GF92Ui9iKTf02BW/Pq7PcpIAm9n4mhVitRx73RyiN bDrEOaeGmQSbsc6fQtKQKpEbgWX4D6IJqtlHsuOiKHGaz3XyW5C0Tkz262ymhe7N JqhK04Dfo/4Zq4uHaXmPXjo3zOLH+ufnMLRaw82H329wD2DQlF2QSMwDGg+TS2eN Q9BnfCL8BO6jdh4tZNQj =hTRf -----END PGP SIGNATURE----- --=-SJep0VC48x9sDDrlvQgq-- From aleksander@aleksander.es Fri Jun 5 20:00:34 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 1687976A87 for ; Fri, 5 Jun 2015 20:00:34 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c6z8wwkJDWNs for ; Fri, 5 Jun 2015 20:00:32 +0000 (UTC) Received: from mail-oi0-f54.google.com (mail-oi0-f54.google.com [209.85.218.54]) by restaurant.gnome.org (Postfix) with ESMTP id 702E976A61 for ; Fri, 5 Jun 2015 20:00:10 +0000 (UTC) Received: by oihb142 with SMTP id b142so60733921oih.3 for ; Fri, 05 Jun 2015 13:00:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=f9JQelVPs521zBZREmqJ7y+w7ctxtv3paziQws9rp0w=; b=WMczh90EhnLPHFUZ9qMcrll9kwfq1fZ3H5DK8Dkj+br9jglGKUIAIoeSU1QCRPJxxD nQsJzaeWrsKwAWHYVazlDHDj98BGw4HoFFWKTOmsfL/rUTy23Y1k5f/FA4yHj5Q6oz8x nLFD/XMojK1glop5CeCSiacjRx+rGUxaT/+6QXGSDRxWVLMePyW1TfwLTzxZk0DlqpC4 NE7P+G4Xt6SGYjkiTRJK6b4V2b4XjgFF2zqr7azx9MzmIB6RjcTkw2RNQSnblCOvhew7 sitLKybiWaETahWR9oPzV14hFiNfhRvE3/wgQBb2qxpCBYDOxkn7ikt9PHc/MwxmX1oI Ed0w== X-Gm-Message-State: ALoCoQm1h3r7yirDLftsf/7Gqma0ft/J3O4yIxdXS4bDpreyR3zM4TW9S1+BKPU7opCrLh0d8H9x MIME-Version: 1.0 X-Received: by 10.60.74.34 with SMTP id q2mr4454651oev.68.1433534408717; Fri, 05 Jun 2015 13:00:08 -0700 (PDT) Received: by 10.182.113.129 with HTTP; Fri, 5 Jun 2015 13:00:08 -0700 (PDT) X-Originating-IP: [47.60.186.39] In-Reply-To: References: <20150528143055.GD10494@bamboo.electronicsoup> <1432843632.32451.20.camel@redhat.com> <20150603091334.GA28185@bamboo.electronicsoup> Date: Fri, 5 Jun 2015 22:00:08 +0200 Message-ID: Subject: Re: Interaction with ModemManager From: Aleksander Morgado To: Pieter Cardoen Content-Type: text/plain; charset=UTF-8 Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 20:00:34 -0000 On Wed, Jun 3, 2015 at 11:29 AM, Pieter Cardoen wrote: > This should be possible. I already have some experience with Python and > NetworkManager-ModemManager. By now, there isn't a Python library available > for the ModemManager dbus interface but there is for the NetworkManager dbus > API. But you can use ModemManager in Python with libmm-glib via GObject Introspection very easily, you don't need a custom python library. See e.g.: http://cgit.freedesktop.org/ModemManager/ModemManager/tree/examples/modem-watcher-python/ModemWatcher.py Or even in JavaScript, if you're into that: http://cgit.freedesktop.org/ModemManager/ModemManager/tree/examples/modem-watcher-javascript/modemWatcher.js -- Aleksander https://aleksander.es From pieter.cardoen@hotmail.com Sat Jun 6 12:15:11 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 5FB0976A07 for ; Sat, 6 Jun 2015 12:15:11 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.909 X-Spam-Level: X-Spam-Status: No, score=-1.909 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XIW6ac3VKDUi for ; Sat, 6 Jun 2015 12:15:01 +0000 (UTC) X-Greylist: delayed 361 seconds by postgrey-1.34 at restaurant.gnome.org; Sat, 06 Jun 2015 12:15:00 UTC Received: from DUB004-OMC2S18.hotmail.com (dub004-omc2s18.hotmail.com [157.55.1.157]) by restaurant.gnome.org (Postfix) with ESMTP id E6C5C76AA8 for ; Sat, 6 Jun 2015 12:14:44 +0000 (UTC) Received: from DUB120-W2 ([157.55.1.137]) by DUB004-OMC2S18.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Sat, 6 Jun 2015 05:08:40 -0700 X-TMN: [EXJIFWgrKAfqHCAxjeZ5eMfP4vZi8IHLDwMaYGB0bAc=] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_54c6516b-04fc-457d-8e1e-c89204c64b56_" From: Pieter Cardoen To: Aleksander Morgado Subject: RE: Interaction with ModemManager Date: Sat, 6 Jun 2015 14:08:40 +0200 Importance: Normal In-Reply-To: References: <20150528143055.GD10494@bamboo.electronicsoup>, <1432843632.32451.20.camel@redhat.com>, <20150603091334.GA28185@bamboo.electronicsoup>, , MIME-Version: 1.0 X-OriginalArrivalTime: 06 Jun 2015 12:08:40.0989 (UTC) FILETIME=[86E7FCD0:01D0A051] Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jun 2015 12:15:11 -0000 --_54c6516b-04fc-457d-8e1e-c89204c64b56_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Indeed. Python supports dBus very well via the GObject Introspection. The = custom python library relies on this and makes it more easy for me to inter= face with the NetworkManager. > Date: Fri=2C 5 Jun 2015 22:00:08 +0200 > Subject: Re: Interaction with ModemManager > From: aleksander@aleksander.es > To: pieter.cardoen@hotmail.com > CC: arigead@gmail.com=3B dcbw@redhat.com=3B networkmanager-list@gnome.org >=20 > On Wed=2C Jun 3=2C 2015 at 11:29 AM=2C Pieter Cardoen > wrote: > > This should be possible. I already have some experience with Python and > > NetworkManager-ModemManager. By now=2C there isn't a Python library ava= ilable > > for the ModemManager dbus interface but there is for the NetworkManager= dbus > > API. >=20 > But you can use ModemManager in Python with libmm-glib via GObject > Introspection very easily=2C you don't need a custom python library. See > e.g.: > http://cgit.freedesktop.org/ModemManager/ModemManager/tree/examples/modem= -watcher-python/ModemWatcher.py >=20 > Or even in JavaScript=2C if you're into that: > http://cgit.freedesktop.org/ModemManager/ModemManager/tree/examples/modem= -watcher-javascript/modemWatcher.js >=20 > --=20 > Aleksander > https://aleksander.es = --_54c6516b-04fc-457d-8e1e-c89204c64b56_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Indeed. Python supports dBus ver= y well via the GObject =3B Introspection. The custom python library rel= ies on this and makes it more easy for me to interface with the NetworkMana= ger.


>=3B Date: Fri=2C 5 Jun 2015 22:00:08 +0200
>= =3B Subject: Re: Interaction with ModemManager
>=3B From: aleksander@a= leksander.es
>=3B To: pieter.cardoen@hotmail.com
>=3B CC: arigead= @gmail.com=3B dcbw@redhat.com=3B networkmanager-list@gnome.org
>=3B >=3B On Wed=2C Jun 3=2C 2015 at 11:29 AM=2C Pieter Cardoen
>=3B &l= t=3Bpieter.cardoen@hotmail.com>=3B wrote:
>=3B >=3B This should be= possible. I already have some experience with Python and
>=3B >=3B = NetworkManager-ModemManager. By now=2C there isn't a Python library availab= le
>=3B >=3B for the ModemManager dbus interface but there is for th= e NetworkManager dbus
>=3B >=3B API.
>=3B
>=3B But you ca= n use ModemManager in Python with libmm-glib via GObject
>=3B Introspe= ction very easily=2C you don't need a custom python library. See
>=3B = e.g.:
>=3B http://cgit.freedesktop.org/ModemManager/ModemManager/tree/= examples/modem-watcher-python/ModemWatcher.py
>=3B
>=3B Or even = in JavaScript=2C if you're into that:
>=3B http://cgit.freedesktop.org= /ModemManager/ModemManager/tree/examples/modem-watcher-javascript/modemWatc= her.js
>=3B
>=3B --
>=3B Aleksander
>=3B https://alek= sander.es
= --_54c6516b-04fc-457d-8e1e-c89204c64b56_-- From thaller@redhat.com Mon Jun 8 12:50:08 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id B3B357693C for ; Mon, 8 Jun 2015 12:50:08 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.911 X-Spam-Level: X-Spam-Status: No, score=-6.911 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MSnWViUBeZ6w for ; Mon, 8 Jun 2015 12:50:08 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 2BB34765C7 for ; Mon, 8 Jun 2015 12:49:57 +0000 (UTC) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 443A319F24F; Mon, 8 Jun 2015 12:49:56 +0000 (UTC) Received: from x250 (dhcp-24-135.brq.redhat.com [10.34.24.135]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t58CnsJg011859 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Mon, 8 Jun 2015 08:49:55 -0400 Message-ID: <1433767787.815.3.camel@redhat.com> Subject: Re: Out of memory warnings from network manager From: Thomas Haller To: Alok Shankar Date: Mon, 08 Jun 2015 14:49:47 +0200 In-Reply-To: References: Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-q6Lmq7OEyk3Wn1d074Ws" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2015 12:50:08 -0000 --=-q6Lmq7OEyk3Wn1d074Ws Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mi, 2015-06-03 at 12:36 -0700, Alok Shankar wrote: > Hi, >=20 > I am running Network manager version 0.9.4.0 on Ubuntu, and I see=20 > that my syslog is flooded with the messages shown below: >=20 >=20 > 2015-05-31T13:54:02.922826-07:00 ctrl-112 NetworkManager[893]:=20 > WARNING error monitoring device for netlink events: No buffer=20 > space available > 2015-05-31T13:56:02.986451-07:00 ctrl-112 NetworkManager[893]:=20 > WARNING error monitoring device for netlink events: No buffer=20 > space available > 2015-05-31T13:58:02.922670-07:00 ctrl-112 NetworkManager[893]:=20 > WARNING error monitoring device for netlink events: error=20 > processing netlink message: Out of memory > 2015-05-31T14:00:02.986715-07:00 ctrl-112 NetworkManager[893]:=20 > WARNING error monitoring device for netlink events: No buffer=20 > space available >=20 >=20 > admin@ctrl-112:~$ free -m > total used free shared buffers =20 > cached > Mem: 56369 7021 49348 0 252 =20 > 1005 > -/+ buffers/cache: 5763 50606 > Swap: 1901 0 1901 >=20 > What can be the possible cause of these messages? What is the best=20 > approach to debug this? Any suggestions will be appreciated. Hi Alok, I don't know, looks like NetworkManager runs out of memory. Does the process use a lot of memory? What gives `ps aux` as RSS? Do you have any problems beside warnings in the logfile? Sorry to say this, but 0.9.4 is quite old and no longer actively supported upstream. So not sure what help you will find here. Thomas --=-q6Lmq7OEyk3Wn1d074Ws Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVdY9rAAoJECnCNm5N/FcoOtcP/iTeJVEzOWDVchSBVteKLHZ2 oe9nxItfdfnAXX+Hh/A67jb6kln2sagSo9/8JzDi7I+gHPGlT4gr2b9akRoAZS8V i8XcENSlLPqtJMd3bcM1TWH+URx/rzx6LeUlhN51msxjtBCzVKWBVewK8D4+RIK2 AiDY1fUBH4kxOJ4kuWjOyn32RwRL6BBrz0GfFvUOpF87e35HAEUWFFbJbg/kK4h+ 5PS2+xUtqLvYxCprkRI+Fy9uohWimwhzW5N3+WL9RUPrQrhx0fCD6Am6jGL7vuZR BCWJ+zzOTF3lm/fbLARNBmrc/DeOxgPJMIoLg5S4s8tJjWhpMbse3Kk4NszwQomv bVRvlmV15rNaCm8Wa0v5qA2qC5i/lA4GX4csAipSP1gG/1EwiY7arASuKyTfbv0y qAvls/BIV9ypsn9hJhBi2bSgC8D7kzSbM/6BM89VO85d3FY59pORVwN5kuXodhs2 N7evpEXmB2nAiYPKwtrc+1LLrMsXcFQVzi41SFSvoXA7JJG+6orerWd97uh5S+pv vA9Rwl7JeOtSHDsyAjFpMPQ9ZrZg3JU/dshJjhIWlkMVuEr2eMrIRm21y7L5kwbp IxqrZUOpHYExlHi3h4WBypU4n/jQuCC/00bAEYNZeIjF3qTpNDN2ICZ0FeAsz/rR 2yRCq5E4eYRpXWV3Q4VK =QQNX -----END PGP SIGNATURE----- --=-q6Lmq7OEyk3Wn1d074Ws-- From anothersname@googlemail.com Mon Jun 8 14:28:48 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id B3FE376078 for ; Mon, 8 Jun 2015 14:28:48 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XJRWLg_dQdfx for ; Mon, 8 Jun 2015 14:28:44 +0000 (UTC) Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by restaurant.gnome.org (Postfix) with ESMTP id 74441769B7 for ; Mon, 8 Jun 2015 14:28:28 +0000 (UTC) Received: by obbqz1 with SMTP id qz1so81449719obb.3 for ; Mon, 08 Jun 2015 07:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Iu8AYH78S89le7fUu3bH4nGv5JYMeE6iqDuVcRQWKNo=; b=hegBP2gkXqGI7JUFlZvdwUzcIDZbndGmvShqeoRNq4pLk7mRCfQp4xDIe6s48UsGug uHmwHrisGthyQudzq6QMrVBn0Tm9g7a2i6wK29APLzps6GyCNjJ8jsypFefDYyb9PDy+ RY40+n9q4dEno9wtndNrdndNfdDdzQiRm8OzW/Uw6YsADAQVNt4LH1t98hM4N+n58OG7 7lghY4Gd2E9IYLcJu6NAbMzlyLBOx2oeOp36pE3mH+wDAOfHNk5acJ3oCCgeNUI8RXdg gR96o8PZw8u6ZOvBf9oBXs282C33CUPxN6OLr4G4SlRVDzZu3ruVIQDPWG8P3HD16dtJ 6MIA== MIME-Version: 1.0 X-Received: by 10.202.74.73 with SMTP id x70mr11501411oia.93.1433773707371; Mon, 08 Jun 2015 07:28:27 -0700 (PDT) Received: by 10.60.3.33 with HTTP; Mon, 8 Jun 2015 07:28:27 -0700 (PDT) Date: Mon, 8 Jun 2015 15:28:27 +0100 Message-ID: Subject: nmcli - inconsistent response to query...... From: Another Sillyname To: networkmanager-list@gnome.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2015 14:28:48 -0000 Hi I have a monitoring script that I wrote back end of last year to monitor the status of a TUN as gnome was not reporting when the TUN failed. As the problem didn't get resolved last year I waited till Fedora 22 shipped with NM 1.x to revisit the problem. Withing the script there's a monitoring section that relies upon the output from >nmcli c show --active to give me the current status of the connections, however under F22 I am now occasionally seeing the error.... (process:YYYYYY: nmcli-CRITICAL **: Error: Could not create NMClient object: Permissions request failed: Authorization check failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus). Debug for error code on Mon08Jun2015 at 3.03pm Instead of the expected........ NAME UUID TYPE DEVICE tun0 UUID blanked out for obvious reasons generic tun0 AVPN-TCP80 UUID blanked out for obvious reasons vpn enp9s0 LAN UUID blanked out for obvious reasons 802-3-ethernet enp9s0 Debug for error code on Mon08Jun2015 at 3.03pm This unexpected error message is playing havoc with the parsing in my script and as it doesn't happen under Fed21 I wonder what's changed......is there any way nmcli could handle a timeout error a bit more eloquently? Tony From anothersname@googlemail.com Mon Jun 8 21:06:26 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id A76A276984 for ; Mon, 8 Jun 2015 21:06:26 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QBQBV00whExD for ; Mon, 8 Jun 2015 21:06:25 +0000 (UTC) Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by restaurant.gnome.org (Postfix) with ESMTP id 5A85E76078 for ; Mon, 8 Jun 2015 21:06:09 +0000 (UTC) Received: by obbir4 with SMTP id ir4so65579933obb.1 for ; Mon, 08 Jun 2015 14:06:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=09WxSmKAXPZ7gY0+h5I8qz1nPlH/uoTI3cEjrpM2WqA=; b=WwUiJAF7gTNZT6so16HVkCyBxHCN3tPhnQTmqIU01iDxSBxrIRXOl04DDemTnLSAcB gu0AYd0MtWN9ffWMjteC2/gSeHP3IAOiS531uuJwI3kFqmqvzRLxGQ3DlRyPxzcQLFF/ id2TT3fhylLX4QRY+YL5CRyVoobQwSK3iObbe6PlXji3LYCxRfU09Rbqg8+11DWkK8JV t2wMofnz6ALbY38gEztulF9bq1jTSpgp/Zf3Zt0j5N1HUA0dIzvYyqr7X7klIiwPSuhV j20kD1Lch9Pul44+wQLVdnN1JiAqmeSPTfdpMrSJCESaT7C4hPLLB2WuCyUHcqowxdbB oL0A== MIME-Version: 1.0 X-Received: by 10.182.87.36 with SMTP id u4mr16210867obz.50.1433797568169; Mon, 08 Jun 2015 14:06:08 -0700 (PDT) Received: by 10.60.3.33 with HTTP; Mon, 8 Jun 2015 14:06:08 -0700 (PDT) In-Reply-To: References: Date: Mon, 8 Jun 2015 22:06:08 +0100 Message-ID: Subject: Re: nmcli - inconsistent response to query...... From: Another Sillyname To: networkmanager-list@gnome.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2015 21:06:26 -0000 Ignore my previous, I had a brain f*rt!! I just added a "$?" = 1 query immediately after the nmcli command to ensure it hadn't output an error status....problem solved. On 8 June 2015 at 15:28, Another Sillyname wrote: > Hi > > I have a monitoring script that I wrote back end of last year to > monitor the status of a TUN as gnome was not reporting when the TUN > failed. > > As the problem didn't get resolved last year I waited till Fedora 22 > shipped with NM 1.x to revisit the problem. > > Withing the script there's a monitoring section that relies upon the output from > >>nmcli c show --active > > to give me the current status of the connections, however under F22 I > am now occasionally seeing the error.... > > (process:YYYYYY: nmcli-CRITICAL **: Error: Could not create NMClient > object: Permissions request failed: Authorization check failed: > GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not > receive a reply (timeout by message bus). > Debug for error code > on > Mon08Jun2015 at 3.03pm > > Instead of the expected........ > > NAME UUID > TYPE DEVICE > tun0 UUID blanked out for obvious reasons generic > tun0 > AVPN-TCP80 UUID blanked out for obvious reasons vpn > enp9s0 > LAN UUID blanked out for obvious reasons > 802-3-ethernet enp9s0 > Debug for error code > on > Mon08Jun2015 at 3.03pm > > This unexpected error message is playing havoc with the parsing in my > script and as it doesn't happen under Fed21 I wonder what's > changed......is there any way nmcli could handle a timeout error a bit > more eloquently? > > Tony From dcbw@redhat.com Fri Jun 12 20:49:06 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 3FD1E768C0 for ; Fri, 12 Jun 2015 20:49:06 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.911 X-Spam-Level: X-Spam-Status: No, score=-6.911 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wJiH71w3Aeyo for ; Fri, 12 Jun 2015 20:49:05 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 44B5C76262 for ; Fri, 12 Jun 2015 20:48:48 +0000 (UTC) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id DC34F362AEC; Fri, 12 Jun 2015 20:48:47 +0000 (UTC) Received: from vpn-230-250.phx2.redhat.com (vpn-230-250.phx2.redhat.com [10.3.230.250]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5CKml7T003908; Fri, 12 Jun 2015 16:48:47 -0400 Message-ID: <1434142127.4018.76.camel@redhat.com> Subject: Re: NetworkManager: network selection From: Dan Williams To: Pieter Cardoen Date: Fri, 12 Jun 2015 15:48:47 -0500 In-Reply-To: References: ,, <1433273801.20042.10.camel@redhat.com> , ,<1433343958.25620.8.camel@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 20:49:06 -0000 On Wed, 2015-06-03 at 22:16 +0200, Pieter Cardoen wrote: > This makes sense! Adapting the routing metric value shall allow me to use WiFi over the mobile connection. I've seen that WiFi connection has a higher metric value than the mobile connection so adapting it may make it work as I want it to. I'll try it tomorrow! Just checking back in, did this work out for you? Dan > Thanks for the help! > Pieter > > > Subject: Re: NetworkManager: network selection > > From: dcbw@redhat.com > > To: pieter.cardoen@hotmail.com > > CC: thaller@redhat.com; networkmanager-list@gnome.org > > Date: Wed, 3 Jun 2015 10:05:58 -0500 > > > > On Wed, 2015-06-03 at 08:25 +0200, Pieter Cardoen wrote: > > > Thomas > > > Thanks for the reply. It made some things clear. It is for my application not acceptable that the NetworkManager just prefers the most recently used network but due to the priority feature, it is possible to prefer the WiFi network over a mobile network. However, debian stable doesn't come with NetworkManager 1.0. I will try to install this version on Debian Jessie. > > > > There are really two kinds of "priority" in NM and they are mostly > > independent of each other: > > > > 1) connection autoconnect when the device is disconnected, which as > > Thomas said can be modified by the 'connection.autoconnect-priority' > > property. This is specific to the device, and all autoconnect decisions > > are made independently for that device. > > > > 2) which device gets the default route and DNS, which can be modified by > > the ip4.route-metric and ip6.route-metric properties. This allows you > > to prefer a specific device for outgoing traffic; so if you want the > > WiFi to be preferred when WiFi is connected, then you could set each > > WiFi connection's ip4.route-metric property lower (which means "more > > preferred") than the WWAN connection's ip4.route-metric property. > > > > Does that make sense? > > > > Dan > > > > > ThanksPieter > > > > > > > Subject: Re: NetworkManager: network selection > > > > From: thaller@redhat.com > > > > To: pieter.cardoen@hotmail.com > > > > CC: networkmanager-list@gnome.org > > > > Date: Tue, 2 Jun 2015 21:36:41 +0200 > > > > > > > > On Di, 2015-06-02 at 20:56 +0200, Pieter Cardoen wrote: > > > > > > > > > > I have some questions about how networkmanager selects a network. > > > > > > > > > > How does the NetworkManager deamon decide which network to use if > > > > > multiple network connections are available? > > > > > > > > Hi > > > > > > > > when a device is currently not connected, at various instances > > > > autoconnect hits. For example when you plug-in your cable and carrier > > > > -detect indicates a link. Or when Wi-Fi scanning indicates new visible > > > > networks. > > > > > > > > So, in that case, NM will search through the non-connected connections > > > > and choose a candidate to autoconnect. > > > > > > > > If there are multiple candidates, the one that was used most recently > > > > will be used. > > > > > > > > > Is it possible to configure preferred networks? > > > > > > > > Yes. Such a candidate must have the "connection.autoconnect" property > > > > set to "yes". This is the default. In nm-applet this is called > > > > "Automatically connect to this network when it is available". > > > > > > > > > Is it possible to configure the NetworkManager to only connect to one > > > > > WiFi network and ignore all other free networks? > > > > > > > > Yes, set all connection.autoconnect properties of the other connections > > > > to "no". > > > > > > > > > > > > Since 1.0, there is also a new property "connection.autoconnect > > > > -priority". You can assign there a number, see > > > > nmcli connection show CON-NAME > > > > nmcli connection modify CON-NAME connection.autoconnect-priority 1 > > > > man nm-settings > > > > If there are multiple autoconnect candidates, those with higher numbers > > > > will be preferred. > > > > So, you could set the priority of the connection you prefer to "1", > > > > leaving all others to their default at 0. > > > > > > > > > > > > > > > > Thomas > > > > > > _______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list > > > > > From dcbw@redhat.com Fri Jun 12 21:17:03 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 9C1EA76849 for ; Fri, 12 Jun 2015 21:17:03 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.912 X-Spam-Level: X-Spam-Status: No, score=-6.912 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Krg9EZZQeZx9 for ; Fri, 12 Jun 2015 21:17:02 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 4107B762A7 for ; Fri, 12 Jun 2015 21:16:51 +0000 (UTC) Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 645F3CC062; Fri, 12 Jun 2015 21:16:50 +0000 (UTC) Received: from vpn-230-250.phx2.redhat.com (vpn-230-250.phx2.redhat.com [10.3.230.250]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5CLGn4P006934; Fri, 12 Jun 2015 17:16:50 -0400 Message-ID: <1434143809.4018.93.camel@redhat.com> Subject: Re: NM/ofono FlightMode problem From: Dan Williams To: Tony Espy Date: Fri, 12 Jun 2015 16:16:49 -0500 In-Reply-To: <556F9E76.4000107@canonical.com> References: <556F9E76.4000107@canonical.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 21:17:03 -0000 On Wed, 2015-06-03 at 20:40 -0400, Tony Espy wrote: > Dan -- > > I'd like to hear your opinion about the following problem I'm trying to > solve, and your take on an idea I have of how to fix it. > > This occurs with the current version of NetworkManager we're using for > Ubuntu on phones, 0.9.10.0-4ubuntu15.1.1 ( see [1] for bzr packaging > branch ). > > One of the patches ( ignore_rfkill_if_urfkill_is_present.patch ) we're > carrying allows NM to integrate with urfkill, a daemon that we use for > implementing FlightMode, and managing the desired state across reboots > of FlightMode and any other system radio killswitches. There's a long > story about why this daemon needed to be used, but I'll keep that out of > the discussion for now. > > Please note, I'm pretty sure the following description is correct, > however it's possible that I missed something... > > When the urfkill Killswitch DBus signal is received that indicates that > a radio killswitch for WWAN has been is disabled ( ie. setting the modem > online ), a callback in NM_MANAGER gets invoked. This callback then > invokes nm_manager_update_radio_enabled, which in turn iterates over all > the MANAGER's devices looking for a matching rf_type, and when found > calls nm_device_set_enabled for the device. > > This eventually bubbles down to our NM_MODEM_OFONO subclass, which > actually doesn't do anything other than log the set_enabled call ( note, > urfkill is responsible for onlining/offlining the modem via ofono ). > > As part of this chain of calls, NM_MODEM sets the modem_state to > ENABLING, which in turn triggers NM_DEVICE_MODEM to set the device_state > to DISCONNECTED, as the device has now become *available* ( thanks to > NM_DEVICE_MODEM->set_enabled setting the rf_enabled flag to TRUE ). > > The problem is, this last device state change, triggers NM_DEVICE to > refresh the available connections, however doing so calls back into the > NM_MODEM_OFONO sub-class to check that connections are compatible. When > this happens, there's a chance that the ofono hasn't finished initizing > the modem after being set online by urfkill. If this happens, our modem > connection is effectively stalled, as nothing other than another > FlightMode toggle, or a reboot will re-kick the device to refresh it's > available connections again. Per our IRC conversation, you're using the "SimManager" interface appearing, then grabbing the SubscriberIdentity as the indicator of initialization. So let's assume your NMOfonoModem subclass of NMModem starts in the INITIALIZING state when the modem object is detected from Ofono. Your NMModem subclass would never advance beyond the INITIALIZING state until all of these conditions are met: 1) NM has called your set_mm_enabled() hook with true (you'd have to cache that value internally) 2) The SimManager interface has appeared 3) SimManager.SubscriberIdentity has a valid value at all 3 points where these things may change you can have a helper function called maybe "check_modem_initialized()" that basically does this: if (rf_enabled && sim_manager && subscriber_identity) { NMModemState new_state = NM_MODEM_STATE_ENABLED; if (SimManager.PinRequired) new_state = NM_MODEM_STATE_LOCKED; nm_modem_set_state (NM_MODEM (self), new_state, ); } else if (nm_modem_get_state (NM_MODEM (self)) > INITIALIZING) { nm_modem_set_state (NM_MODEM (self), INITIALIZING, ); } so basically whenever ofono wasn't ready yet (modem in flight mode or still initializing) the NMModem would sit in INITIALIZING state. Whenever flight mode was activated the modem would jump back to INITIALIZING. This should prevent the modem from becoming 'available' before it can actually be used, and might also fix the issue of autoconnect retries becoming exhausted when flight mode is turned on (that we discussed on IRC). Hopefully this seems like it'll work to you, let me know if some things look dubious though and we can continue to iterate. Dan > I think the correct way to go about fixing this is to introduce the > usage of the modem states DISABLED and ENABLED, as currently NM_MODEM > only seems to use DISABLING and ENABLING. > > Doing this would allow NM_MODEM_OFONO and NM_MODEM_BROADBAND to only > signal the transition to DISABLED/ENABLED based on state and/or return > values from ofono and modem-manager respectively. > > Thoughts? > > Regards, > /tony > > [1] > https://code.launchpad.net/~phablet-team/network-manager/vivid-phone-overlay > _______________________________________________ > networkmanager-list mailing list > networkmanager-list@gnome.org > https://mail.gnome.org/mailman/listinfo/networkmanager-list From espy@canonical.com Sat Jun 13 23:42:36 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id DB63476849 for ; Sat, 13 Jun 2015 23:42:36 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.21 X-Spam-Level: X-Spam-Status: No, score=-4.21 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3xtUFQ64jBxJ for ; Sat, 13 Jun 2015 23:42:35 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by restaurant.gnome.org (Postfix) with ESMTP id 1F78B760B8 for ; Sat, 13 Jun 2015 23:42:24 +0000 (UTC) Received: from cpe-45-46-78-10.maine.res.rr.com ([45.46.78.10] helo=[172.30.1.18]) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1Z3v4A-00084G-30; Sat, 13 Jun 2015 23:42:22 +0000 Message-ID: <557CBFDB.7040204@canonical.com> Date: Sat, 13 Jun 2015 19:42:19 -0400 From: Tony Espy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Dan Williams Subject: Re: NM/ofono FlightMode problem References: <556F9E76.4000107@canonical.com> <1434143809.4018.93.camel@redhat.com> In-Reply-To: <1434143809.4018.93.camel@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2015 23:42:36 -0000 On 06/12/2015 05:16 PM, Dan Williams wrote: > On Wed, 2015-06-03 at 20:40 -0400, Tony Espy wrote: >> Dan -- >> >> I'd like to hear your opinion about the following problem I'm trying to >> solve, and your take on an idea I have of how to fix it. >> >> This occurs with the current version of NetworkManager we're using for >> Ubuntu on phones, 0.9.10.0-4ubuntu15.1.1 ( see [1] for bzr packaging >> branch ). >> >> One of the patches ( ignore_rfkill_if_urfkill_is_present.patch ) we're >> carrying allows NM to integrate with urfkill, a daemon that we use for >> implementing FlightMode, and managing the desired state across reboots >> of FlightMode and any other system radio killswitches. There's a long >> story about why this daemon needed to be used, but I'll keep that out of >> the discussion for now. >> >> Please note, I'm pretty sure the following description is correct, >> however it's possible that I missed something... >> >> When the urfkill Killswitch DBus signal is received that indicates that >> a radio killswitch for WWAN has been is disabled ( ie. setting the modem >> online ), a callback in NM_MANAGER gets invoked. This callback then >> invokes nm_manager_update_radio_enabled, which in turn iterates over all >> the MANAGER's devices looking for a matching rf_type, and when found >> calls nm_device_set_enabled for the device. >> >> This eventually bubbles down to our NM_MODEM_OFONO subclass, which >> actually doesn't do anything other than log the set_enabled call ( note, >> urfkill is responsible for onlining/offlining the modem via ofono ). >> >> As part of this chain of calls, NM_MODEM sets the modem_state to >> ENABLING, which in turn triggers NM_DEVICE_MODEM to set the device_state >> to DISCONNECTED, as the device has now become *available* ( thanks to >> NM_DEVICE_MODEM->set_enabled setting the rf_enabled flag to TRUE ). >> >> The problem is, this last device state change, triggers NM_DEVICE to >> refresh the available connections, however doing so calls back into the >> NM_MODEM_OFONO sub-class to check that connections are compatible. When >> this happens, there's a chance that the ofono hasn't finished initizing >> the modem after being set online by urfkill. If this happens, our modem >> connection is effectively stalled, as nothing other than another >> FlightMode toggle, or a reboot will re-kick the device to refresh it's >> available connections again. > > Per our IRC conversation, you're using the "SimManager" interface > appearing, then grabbing the SubscriberIdentity as the indicator of > initialization. Not exactly... 'SubscriberIdentity' is needed by NMModemOfono's check_connection_compatible function. It's a long story, but at startup, our current ofono settings plugin reads all of ofono's gprs contexts directly from ofono's settings' files ( note, ofono's settings files are SIM-specific ). NMModemOfono uses the 'SubscriberIdentity' to filter the connections so that only those for the current SIM are considered. When we receive a URfkill Killswitch DBus signal indicating that the modem has been set online, NMDevice's set_enabled logic ends up triggering a call to nm_device_recheck_available_connections. If the modem hasn't fully finished coming back online, it's possible for NMModemOfono's check_connection_compatible function to get an empty value back the 'SubscriberIdentity' property, and thus none of the connections are flagged as compatible... > So let's assume your NMOfonoModem subclass of NMModem starts in the > INITIALIZING state when the modem object is detected from Ofono.Your > NMModem subclass would never advance beyond the INITIALIZING state until > all of these conditions are met: > > 1) NM has called your set_mm_enabled() hook with true (you'd have to > cache that value internally) > > 2) The SimManager interface has appeared > > 3) SimManager.SubscriberIdentity has a valid value > > at all 3 points where these things may change you can have a helper > function called maybe "check_modem_initialized()" that basically does > this: > > if (rf_enabled && sim_manager && subscriber_identity) { > NMModemState new_state = NM_MODEM_STATE_ENABLED; > > if (SimManager.PinRequired) > new_state = NM_MODEM_STATE_LOCKED; > > nm_modem_set_state (NM_MODEM (self), new_state, ); > } else if (nm_modem_get_state (NM_MODEM (self)) > INITIALIZING) { > nm_modem_set_state (NM_MODEM (self), INITIALIZING, ); > } > > so basically whenever ofono wasn't ready yet (modem in flight mode or > still initializing) the NMModem would sit in INITIALIZING state. > Whenever flight mode was activated the modem would jump back to > INITIALIZING. This should prevent the modem from becoming 'available' > before it can actually be used, Sure, I see that NMDeviceModem's is_available function checks for modem_state <= INITIALIZING. So if the modem_state was kept as INITIALIZING until 'SubscriberIdentity' became available, this would prevent the NMDevice recheck_available_connections logic from being triggered till the modem was ready. That said, I think I slightly misled you in the fact that the presence of 'SubscriberIdentity' indicates that the ofono modem is initialized. We monitor a separate property called 'Attached' on ofono's ConnectionManager interface which indicates whether or not the modem is attached to the GPRS network. Once this is 'true', the modem is considered initialized and ready for data calls to be established. Although the modem starts in INITIALIZING state, once the ConnectionManager interface appears, the modem_state moves between SEARCHING ( Attached=false ), REGISTERED ( Attached=true ), CONNECTED ( Attached=true, connection/context activated ), and DISCONNECTING. The set_enabled logic however seems to be the only case where NMModem directly sets modem_state. NMDeviceModem's set_enabled function calls nm_modem_set_mm_enabled, which calls the modem subclass' set_mm_enabled, then directly sets the modem_state to ENABLING or DISABLING. So this would override the NMModemOfono goal of keeping the modem in INITIALIZING state till the modem was ready. I think my suggestion below, was to introduce the usage of the ENABLED and DISABLED states, and then change NMDevice's is_available function to check for <= ENABLED. NMModemOfono and NMModemBroadband, could both then just signal when the modem was ready after a set_enabled by setting the modem_state to ENABLED. > and might also fix the issue of > autoconnect retries becoming exhausted when flight mode is turned on > (that we discussed on IRC). I think this case happens because when flight mode is turned on, ofono first signals that any active gprs contexts are disconnected before it indicates that the modem is offline ( by toggling it's top-level Manager 'Online' property ). So, the policy code sees the device DISCONNECTED and immediately schedules a new activation via g_idle_add. So the retries happen in a tight-loop, then NM see's 'Online' go to false. Introducing a slight delay in scheduling these activation requests makes this problem go away. > Hopefully this seems like it'll work to you, let me know if some things > look dubious though and we can continue to iterate. I think I have enough to get going. I'll let you know how I make out. Thanks again for your help! Regards, /tony From tore@fud.no Sun Jun 14 08:26:32 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id BC17376952 for ; Sun, 14 Jun 2015 08:26:32 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hTSpfoEQ-sjN for ; Sun, 14 Jun 2015 08:26:31 +0000 (UTC) X-Greylist: delayed 928 seconds by postgrey-1.34 at restaurant.gnome.org; Sun, 14 Jun 2015 08:26:31 UTC Received: from greed.fud.no (nat64-247-osl2.n.bitbit.net [87.238.61.247]) by restaurant.gnome.org (Postfix) with ESMTP id 6EBC1768F4 for ; Sun, 14 Jun 2015 08:26:20 +0000 (UTC) Received: from [2a02:2121:88:9dcb:0:27:21a2:5a01] (port=40989 helo=envy.fud.no) by greed.fud.no with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1Z430C-000364-Vi; Sun, 14 Jun 2015 10:10:49 +0200 Date: Sun, 14 Jun 2015 10:10:48 +0200 From: Tore Anderson To: networkmanager-list@gnome.org Subject: Why is NM preferring wwan over wifi? Message-ID: <20150614101048.2742aa9b@envy.fud.no> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2015 08:26:32 -0000 I've noticed that a default route on a wifi network is assigned a default metric of 600, while a default route on a wwan connection gets a default metric of 450. The effect of this is that the host will prefer to use wwan over wifi when both are enabled. That's the exact opposite of what I'd expect (based on precedent set by pretty much every smart-phone in the world). While I can easily set different route-metrics on the connections in question, I'm just wondering whether or not this order of preference is really intentional? Curiously enough, when both wifi and wwan are connected, the nm-applet's systray will display the wifi icon (not the wwan one with the little antenna), tricking me into believing that the wifi is indeed the "active" connection. Tore From hadess@hadess.net Sun Jun 14 13:23:01 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 433A876936 for ; Sun, 14 Jun 2015 13:23:01 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uBw9WitGGOFN for ; Sun, 14 Jun 2015 13:22:59 +0000 (UTC) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by restaurant.gnome.org (Postfix) with ESMTP id 2C1457684A for ; Sun, 14 Jun 2015 13:22:48 +0000 (UTC) Received: from mfilter9-d.gandi.net (mfilter9-d.gandi.net [217.70.178.138]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 8E412A80C0; Sun, 14 Jun 2015 15:22:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter9-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter9-d.gandi.net (mfilter9-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id b8HaAa-0z7Df; Sun, 14 Jun 2015 15:22:45 +0200 (CEST) X-Originating-IP: 83.155.44.161 Received: from nuvo (mon69-7-83-155-44-161.fbx.proxad.net [83.155.44.161]) (Authenticated sender: hadess@hadess.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id DA52FA80B6; Sun, 14 Jun 2015 15:22:44 +0200 (CEST) Message-ID: <1434288158.11440.1.camel@hadess.net> Subject: Re: Why is NM preferring wwan over wifi? From: Bastien Nocera To: Tore Anderson , networkmanager-list@gnome.org Date: Sun, 14 Jun 2015 15:22:38 +0200 In-Reply-To: <20150614101048.2742aa9b@envy.fud.no> References: <20150614101048.2742aa9b@envy.fud.no> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.3 (3.16.3-2.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2015 13:23:01 -0000 On Sun, 2015-06-14 at 10:10 +0200, Tore Anderson wrote: > I've noticed that a default route on a wifi network is assigned a > default metric of 600, while a default route on a wwan connection > gets > a default metric of 450. > > The effect of this is that the host will prefer to use wwan over wifi > when both are enabled. That's the exact opposite of what I'd expect > (based on precedent set by pretty much every smart-phone in the > world). > > While I can easily set different route-metrics on the connections in > question, I'm just wondering whether or not this order of preference > is > really intentional? > > Curiously enough, when both wifi and wwan are connected, the > nm-applet's systray will display the wifi icon (not the wwan one with > the little antenna), tricking me into believing that the wifi is > indeed > the "active" connection. Completely agree with you, which is why I filed that as a bug: https://bugzilla.gnome.org/show_bug.cgi?id=744754 From thaller@redhat.com Sun Jun 14 13:29:35 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 2DB4E76936 for ; Sun, 14 Jun 2015 13:29:35 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.33 X-Spam-Level: X-Spam-Status: No, score=-7.33 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.428, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SwTS4Xr4DwQ4 for ; Sun, 14 Jun 2015 13:29:34 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id A6B257684A for ; Sun, 14 Jun 2015 13:29:24 +0000 (UTC) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id E21FE19F96F; Sun, 14 Jun 2015 13:29:22 +0000 (UTC) Received: from x250 (ovpn-204-24.brq.redhat.com [10.40.204.24]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5EDTKJC020678 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Sun, 14 Jun 2015 09:29:22 -0400 Message-ID: <1434288551.5666.6.camel@redhat.com> Subject: Re: Why is NM preferring wwan over wifi? From: Thomas Haller To: Tore Anderson , networkmanager-list@gnome.org Date: Sun, 14 Jun 2015 15:29:11 +0200 In-Reply-To: <20150614101048.2742aa9b@envy.fud.no> References: <20150614101048.2742aa9b@envy.fud.no> Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-lIY5HhEegNJtCluxSZ46" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2015 13:29:35 -0000 --=-lIY5HhEegNJtCluxSZ46 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On So, 2015-06-14 at 10:10 +0200, Tore Anderson wrote: > I've noticed that a default route on a wifi network is assigned a > default metric of 600, while a default route on a wwan connection=20 > gets > a default metric of 450. >=20 > The effect of this is that the host will prefer to use wwan over wifi > when both are enabled. That's the exact opposite of what I'd expect > (based on precedent set by pretty much every smart-phone in the=20 > world). >=20 > While I can easily set different route-metrics on the connections in > question, I'm just wondering whether or not this order of preference=20 > is > really intentional? IIRC, dcbw said, the idea is that you connected to wwan intentionally. wwan might be metered and you would only connect to it if you want to use it. Maybe that reasoning was better years ago then nowadays. It is unexpected for me too. On master you can also drop a configuration snippet: [connection.wwan-route-metric] match-device=3Dtype:wifi ipv4.route-metric=3D400 ipv6.route-metric=3D400 > Curiously enough, when both wifi and wwan are connected, the > nm-applet's systray will display the wifi icon (not the wwan one with > the little antenna), tricking me into believing that the wifi is=20 > indeed > the "active" connection that sounds like a bug to me that should be investigated. Thomas --=-lIY5HhEegNJtCluxSZ46 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVfYGnAAoJECnCNm5N/FcojdYQAJrpn3mCj5eKfX9Q3fC3Wv99 DtN1jwtrIkgkcfyKxPK+GpD0M0IC74LKokdZilCT5Wx/b/pePPvsgqgD4GKTGcdF z5E6EylJzukf7WyZGfv/lV2vdlCw89uDBiryG7+tYQqfJam+f8a6LRFG2OGmpWCi TD7fHQdbEgILgRwXtm2XxcGIapa1izqEOOUDfmBefnV2wnsavcxMavoVw83nxzV/ s9ViXrmVAcr7mA6chJ/afphdi3Wy6soRKRWlXuZmFmmVZah4uJpR8AHrw4dwxMm9 bHgy/KvNKFdG1uKjjEsXI8kP9EaSeXgcFhDu9MjisCz0wnRZ+rxhPkXuA23FmEb7 LokaTr7A2ZJs7q+R0L35G5YhAyY0WBgQPYf06op2bo13jbzFMOdJcEA5hL0UXdE2 WuL5hFcV+CklBFliQD5DzBX76il8/gDfNqwIvIGqUNVlg+Ty66L8eM9Kr05I6C8E VuDmxo1ghd2GmzkbBwNI8HWKCtunHuDhUQgDnnPgVFDG6sq1KHE8vhkB93i1MWGe PUjFWG0gIuRQh3/5EDY0mwgpTxdEflFs3P4g9S74hqgwnhw/QAtESxRjTQp9N0Fc Fp97MAkhALYBSQTJidIMlrKHVE7fGsrFVlQPmIu/yv+JrFABBHryZv+PUnJF27VE 5huqDaq+2U1rL/a4f9H6 =0FOr -----END PGP SIGNATURE----- --=-lIY5HhEegNJtCluxSZ46-- From tore@fud.no Sun Jun 14 14:30:09 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id C511976A04 for ; Sun, 14 Jun 2015 14:30:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LzasWEZvc1Vo for ; Sun, 14 Jun 2015 14:30:08 +0000 (UTC) Received: from greed.fud.no (nat64-247-osl2.n.bitbit.net [87.238.61.247]) by restaurant.gnome.org (Postfix) with ESMTP id 03DDC76936 for ; Sun, 14 Jun 2015 14:29:47 +0000 (UTC) Received: from [2a02:fe0:c412:1fe0::3] (port=40054 helo=envy.fud.no) by greed.fud.no with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1Z48uu-0004fA-Sg; Sun, 14 Jun 2015 16:29:44 +0200 Date: Sun, 14 Jun 2015 16:29:43 +0200 From: Tore Anderson To: Thomas Haller Subject: Re: Why is NM preferring wwan over wifi? Message-ID: <20150614162943.1d0d4f34@envy.fud.no> In-Reply-To: <1434288551.5666.6.camel@redhat.com> References: <20150614101048.2742aa9b@envy.fud.no> <1434288551.5666.6.camel@redhat.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2015 14:30:09 -0000 * Thomas Haller > IIRC, dcbw said, the idea is that you connected to wwan intentionally. > wwan might be metered and you would only connect to it if you want to > use it. That wwan is typically metered is precisely the reason why I'd expect it to have a lower preference than wifi. :-) But I want to remain connected to the internet even while outside of wifi coverage, so I use auto-connect for all available options: wired, wifi, wwan. I'd expect them to be used in that order of preference, too. > On master you can also drop a configuration snippet: > > [connection.wwan-route-metric] > match-device=type:wifi > ipv4.route-metric=400 > ipv6.route-metric=400 Cool, thanks! Tore From pieter.cardoen@hotmail.com Mon Jun 15 06:33:53 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 8898C765C6 for ; Mon, 15 Jun 2015 06:33:53 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.359 X-Spam-Level: X-Spam-Status: No, score=-2.359 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.46, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D7FueWFpikHL for ; Mon, 15 Jun 2015 06:33:51 +0000 (UTC) Received: from DUB004-OMC3S20.hotmail.com (dub004-omc3s20.hotmail.com [157.55.2.29]) by restaurant.gnome.org (Postfix) with ESMTP id F25457657A for ; Mon, 15 Jun 2015 06:33:40 +0000 (UTC) Received: from DUB120-W21 ([157.55.2.7]) by DUB004-OMC3S20.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Sun, 14 Jun 2015 23:33:38 -0700 X-TMN: [XYSuSsoEUb3QEaRv4ldbYtob1ytXwTHN] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_ec35a39b-2904-4990-9571-0aa4e1591af7_" From: Pieter Cardoen To: Dan Williams Subject: RE: NetworkManager: network selection Date: Mon, 15 Jun 2015 08:33:38 +0200 Importance: Normal In-Reply-To: <1434142127.4018.76.camel@redhat.com> References: ,,, <1433273801.20042.10.camel@redhat.com>, , , , <1433343958.25620.8.camel@redhat.com>, , <1434142127.4018.76.camel@redhat.com> MIME-Version: 1.0 X-OriginalArrivalTime: 15 Jun 2015 06:33:38.0901 (UTC) FILETIME=[36D88850:01D0A735] Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2015 06:33:53 -0000 --_ec35a39b-2904-4990-9571-0aa4e1591af7_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This works perfect for me. Our application can select the network by adapti= ng the route metric but mostly we just work with a higher priority WiFi con= nection and metrics appied as appropriate! ThanksPieter > Subject: Re: NetworkManager: network selection > From: dcbw@redhat.com > To: pieter.cardoen@hotmail.com > CC: thaller@redhat.com=3B networkmanager-list@gnome.org > Date: Fri=2C 12 Jun 2015 15:48:47 -0500 >=20 > On Wed=2C 2015-06-03 at 22:16 +0200=2C Pieter Cardoen wrote: > > This makes sense! Adapting the routing metric value shall allow me to u= se WiFi over the mobile connection. I've seen that WiFi connection has a hi= gher metric value than the mobile connection so adapting it may make it wor= k as I want it to. I'll try it tomorrow! >=20 > Just checking back in=2C did this work out for you? >=20 > Dan >=20 > > Thanks for the help! > > Pieter > >=20 > > > Subject: Re: NetworkManager: network selection > > > From: dcbw@redhat.com > > > To: pieter.cardoen@hotmail.com > > > CC: thaller@redhat.com=3B networkmanager-list@gnome.org > > > Date: Wed=2C 3 Jun 2015 10:05:58 -0500 > > >=20 > > > On Wed=2C 2015-06-03 at 08:25 +0200=2C Pieter Cardoen wrote: > > > > Thomas > > > > Thanks for the reply. It made some things clear. It is for my appli= cation not acceptable that the NetworkManager just prefers the most recentl= y used network but due to the priority feature=2C it is possible to prefer = the WiFi network over a mobile network. However=2C debian stable doesn't co= me with NetworkManager 1.0. I will try to install this version on Debian Je= ssie. > > >=20 > > > There are really two kinds of "priority" in NM and they are mostly > > > independent of each other: > > >=20 > > > 1) connection autoconnect when the device is disconnected=2C which as > > > Thomas said can be modified by the 'connection.autoconnect-priority' > > > property. This is specific to the device=2C and all autoconnect deci= sions > > > are made independently for that device. > > >=20 > > > 2) which device gets the default route and DNS=2C which can be modifi= ed by > > > the ip4.route-metric and ip6.route-metric properties. This allows yo= u > > > to prefer a specific device for outgoing traffic=3B so if you want th= e > > > WiFi to be preferred when WiFi is connected=2C then you could set eac= h > > > WiFi connection's ip4.route-metric property lower (which means "more > > > preferred") than the WWAN connection's ip4.route-metric property. > > >=20 > > > Does that make sense? > > >=20 > > > Dan > > >=20 > > > > ThanksPieter > > > >=20 > > > > > Subject: Re: NetworkManager: network selection > > > > > From: thaller@redhat.com > > > > > To: pieter.cardoen@hotmail.com > > > > > CC: networkmanager-list@gnome.org > > > > > Date: Tue=2C 2 Jun 2015 21:36:41 +0200 > > > > >=20 > > > > > On Di=2C 2015-06-02 at 20:56 +0200=2C Pieter Cardoen wrote: > > > > > >=20 > > > > > > I have some questions about how networkmanager selects a networ= k. > > > > > >=20 > > > > > > How does the NetworkManager deamon decide which network to use = if=20 > > > > > > multiple network connections are available? > > > > >=20 > > > > > Hi > > > > >=20 > > > > > when a device is currently not connected=2C at various instances > > > > > autoconnect hits. For example when you plug-in your cable and car= rier > > > > > -detect indicates a link. Or when Wi-Fi scanning indicates new vi= sible > > > > > networks. > > > > >=20 > > > > > So=2C in that case=2C NM will search through the non-connected co= nnections > > > > > and choose a candidate to autoconnect. > > > > >=20 > > > > > If there are multiple candidates=2C the one that was used most re= cently > > > > > will be used. > > > > >=20 > > > > > > Is it possible to configure preferred networks? > > > > >=20 > > > > > Yes. Such a candidate must have the "connection.autoconnect" prop= erty > > > > > set to "yes". This is the default. In nm-applet this is called > > > > > "Automatically connect to this network when it is available". > > > > >=20 > > > > > > Is it possible to configure the NetworkManager to only connect = to one=20 > > > > > > WiFi network and ignore all other free networks? > > > > >=20 > > > > > Yes=2C set all connection.autoconnect properties of the other con= nections > > > > > to "no". > > > > >=20 > > > > >=20 > > > > > Since 1.0=2C there is also a new property "connection.autoconnect > > > > > -priority". You can assign there a number=2C see > > > > > nmcli connection show CON-NAME > > > > > nmcli connection modify CON-NAME connection.autoconnect-priorit= y 1 > > > > > man nm-settings > > > > > If there are multiple autoconnect candidates=2C those with higher= numbers > > > > > will be preferred. > > > > > So=2C you could set the priority of the connection you prefer to = "1"=2C > > > > > leaving all others to their default at 0. > > > > >=20 > > > > >=20 > > > > >=20 > > > > > Thomas > > > > =20 > > > > _______________________________________________ networkmanager-list= mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/= listinfo/networkmanager-list > > >=20 > > >=20 > > =20 >=20 >=20 = --_ec35a39b-2904-4990-9571-0aa4e1591af7_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
This works perfect for me. Our a= pplication can select the network by adapting the route metric but mostly w= e just work with a higher priority WiFi connection and metrics appied as ap= propriate!

Thanks
Pieter

>=3B Su= bject: Re: NetworkManager: network selection
>=3B From: dcbw@redhat.co= m
>=3B To: pieter.cardoen@hotmail.com
>=3B CC: thaller@redhat.com= =3B networkmanager-list@gnome.org
>=3B Date: Fri=2C 12 Jun 2015 15:48:= 47 -0500
>=3B
>=3B On Wed=2C 2015-06-03 at 22:16 +0200=2C Pieter= Cardoen wrote:
>=3B >=3B This makes sense! Adapting the routing met= ric value shall allow me to use WiFi over the mobile connection. I've seen = that WiFi connection has a higher metric value than the mobile connection s= o adapting it may make it work as I want it to. I'll try it tomorrow!
&g= t=3B
>=3B Just checking back in=2C did this work out for you?
>= =3B
>=3B Dan
>=3B
>=3B >=3B Thanks for the help!
>= =3B >=3B Pieter
>=3B >=3B
>=3B >=3B >=3B Subject: Re: Ne= tworkManager: network selection
>=3B >=3B >=3B From: dcbw@redhat.c= om
>=3B >=3B >=3B To: pieter.cardoen@hotmail.com
>=3B >=3B = >=3B CC: thaller@redhat.com=3B networkmanager-list@gnome.org
>=3B &g= t=3B >=3B Date: Wed=2C 3 Jun 2015 10:05:58 -0500
>=3B >=3B >=3B =
>=3B >=3B >=3B On Wed=2C 2015-06-03 at 08:25 +0200=2C Pieter Card= oen wrote:
>=3B >=3B >=3B >=3B Thomas
>=3B >=3B >=3B &g= t=3B Thanks for the reply. It made some things clear. It is for my applicat= ion not acceptable that the NetworkManager just prefers the most recently u= sed network but due to the priority feature=2C it is possible to prefer the= WiFi network over a mobile network. However=2C debian stable doesn't come = with NetworkManager 1.0. I will try to install this version on Debian Jessi= e.
>=3B >=3B >=3B
>=3B >=3B >=3B There are really two ki= nds of "priority" in NM and they are mostly
>=3B >=3B >=3B indepen= dent of each other:
>=3B >=3B >=3B
>=3B >=3B >=3B 1) con= nection autoconnect when the device is disconnected=2C which as
>=3B &= gt=3B >=3B Thomas said can be modified by the 'connection.autoconnect-pri= ority'
>=3B >=3B >=3B property. This is specific to the device=2C= and all autoconnect decisions
>=3B >=3B >=3B are made independent= ly for that device.
>=3B >=3B >=3B
>=3B >=3B >=3B 2) whi= ch device gets the default route and DNS=2C which can be modified by
>= =3B >=3B >=3B the ip4.route-metric and ip6.route-metric properties. Th= is allows you
>=3B >=3B >=3B to prefer a specific device for outgo= ing traffic=3B so if you want the
>=3B >=3B >=3B WiFi to be prefer= red when WiFi is connected=2C then you could set each
>=3B >=3B >= =3B WiFi connection's ip4.route-metric property lower (which means "more>=3B >=3B >=3B preferred") than the WWAN connection's ip4.route-metr= ic property.
>=3B >=3B >=3B
>=3B >=3B >=3B Does that mak= e sense?
>=3B >=3B >=3B
>=3B >=3B >=3B Dan
>=3B >= =3B >=3B
>=3B >=3B >=3B >=3B ThanksPieter
>=3B >=3B &g= t=3B >=3B
>=3B >=3B >=3B >=3B >=3B Subject: Re: NetworkMana= ger: network selection
>=3B >=3B >=3B >=3B >=3B From: thaller@= redhat.com
>=3B >=3B >=3B >=3B >=3B To: pieter.cardoen@hotmail= .com
>=3B >=3B >=3B >=3B >=3B CC: networkmanager-list@gnome.or= g
>=3B >=3B >=3B >=3B >=3B Date: Tue=2C 2 Jun 2015 21:36:41 +0= 200
>=3B >=3B >=3B >=3B >=3B
>=3B >=3B >=3B >=3B &= gt=3B On Di=2C 2015-06-02 at 20:56 +0200=2C Pieter Cardoen wrote:
>=3B= >=3B >=3B >=3B >=3B >=3B
>=3B >=3B >=3B >=3B >=3B = >=3B I have some questions about how networkmanager selects a network.>=3B >=3B >=3B >=3B >=3B >=3B
>=3B >=3B >=3B >=3B = >=3B >=3B How does the NetworkManager deamon decide which network to us= e if
>=3B >=3B >=3B >=3B >=3B >=3B multiple network connect= ions are available?
>=3B >=3B >=3B >=3B >=3B
>=3B >=3B= >=3B >=3B >=3B Hi
>=3B >=3B >=3B >=3B >=3B
>=3B &= gt=3B >=3B >=3B >=3B when a device is currently not connected=2C at v= arious instances
>=3B >=3B >=3B >=3B >=3B autoconnect hits. Fo= r example when you plug-in your cable and carrier
>=3B >=3B >=3B &= gt=3B >=3B -detect indicates a link. Or when Wi-Fi scanning indicates new= visible
>=3B >=3B >=3B >=3B >=3B networks.
>=3B >=3B &= gt=3B >=3B >=3B
>=3B >=3B >=3B >=3B >=3B So=2C in that ca= se=2C NM will search through the non-connected connections
>=3B >=3B= >=3B >=3B >=3B and choose a candidate to autoconnect.
>=3B >= =3B >=3B >=3B >=3B
>=3B >=3B >=3B >=3B >=3B If there ar= e multiple candidates=2C the one that was used most recently
>=3B >= =3B >=3B >=3B >=3B will be used.
>=3B >=3B >=3B >=3B >= =3B
>=3B >=3B >=3B >=3B >=3B >=3B Is it possible to configu= re preferred networks?
>=3B >=3B >=3B >=3B >=3B
>=3B >= =3B >=3B >=3B >=3B Yes. Such a candidate must have the "connection.au= toconnect" property
>=3B >=3B >=3B >=3B >=3B set to "yes". Thi= s is the default. In nm-applet this is called
>=3B >=3B >=3B >= =3B >=3B "Automatically connect to this network when it is available".>=3B >=3B >=3B >=3B >=3B
>=3B >=3B >=3B >=3B >=3B = >=3B Is it possible to configure the NetworkManager to only connect to on= e
>=3B >=3B >=3B >=3B >=3B >=3B WiFi network and ignore all= other free networks?
>=3B >=3B >=3B >=3B >=3B
>=3B >= =3B >=3B >=3B >=3B Yes=2C set all connection.autoconnect properties o= f the other connections
>=3B >=3B >=3B >=3B >=3B to "no".
&= gt=3B >=3B >=3B >=3B >=3B
>=3B >=3B >=3B >=3B >=3B >=3B >=3B >=3B >=3B >=3B Since 1.0=2C there is also a new prope= rty "connection.autoconnect
>=3B >=3B >=3B >=3B >=3B -priority= ". You can assign there a number=2C see
>=3B >=3B >=3B >=3B >= =3B nmcli connection show CON-NAME
>=3B >=3B >=3B >=3B >=3B = nmcli connection modify CON-NAME connection.autoconnect-priority 1
>= =3B >=3B >=3B >=3B >=3B man nm-settings
>=3B >=3B >=3B &= gt=3B >=3B If there are multiple autoconnect candidates=2C those with hig= her numbers
>=3B >=3B >=3B >=3B >=3B will be preferred.
>= =3B >=3B >=3B >=3B >=3B So=2C you could set the priority of the con= nection you prefer to "1"=2C
>=3B >=3B >=3B >=3B >=3B leaving = all others to their default at 0.
>=3B >=3B >=3B >=3B >=3B >=3B >=3B >=3B >=3B >=3B
>=3B >=3B >=3B >=3B >=3B =
>=3B >=3B >=3B >=3B >=3B Thomas
>=3B >=3B >=3B >= =3B
>=3B >=3B >=3B >=3B ___________________________= ____________________ networkmanager-list mailing list networkmanager-list@g= nome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list
>= =3B >=3B >=3B
>=3B >=3B >=3B
>=3B >=3B >=3B
>=3B
= --_ec35a39b-2904-4990-9571-0aa4e1591af7_-- From petr.vorel@gmail.com Tue Jun 16 12:10:39 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 19D1976976 for ; Tue, 16 Jun 2015 12:10:39 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FSn4iqkYqUOx for ; Tue, 16 Jun 2015 12:10:32 +0000 (UTC) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by restaurant.gnome.org (Postfix) with ESMTP id 94E8A7676C for ; Tue, 16 Jun 2015 12:10:21 +0000 (UTC) Received: by wicnd19 with SMTP id nd19so51173112wic.1 for ; Tue, 16 Jun 2015 05:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:reply-to:mime-version:content-type :content-disposition:user-agent; bh=c4yTczyKloLAznXUyNhnRilAZsyGVWuJdodlwBKL2q8=; b=baPTvvC/3q44kq2M+93JBs5Ai89rlUAjiuV7hQAxBuzeAcXKqQLo10JZCdRWiZLwt6 do1OYlfhGgZT3yalcI3sxhoMcB4LK+2HZAXKrAsIYnp3ZUIQX+gfSh24pmqCBhVZWgzd jvtzthSbEc1b1aLlrd8lN797MnAG796Z1vdmIQ4Jq/kxA27BhAtMiqiLZiNHyfhcAWbc X/+u7YypaO5jbh1VkoQTSYdYR52bzP1vWulNY75Et9joSGMJbC5UOQq1HxCJG7F+La3e Jp2g36rmjkpsPwHfIG5LI5/IDoilblj7r5Xp/+SNSlByYjbrVZv44lvJc5cvc3cIf1Ur 7tUQ== X-Received: by 10.180.188.97 with SMTP id fz1mr20756618wic.29.1434456620252; Tue, 16 Jun 2015 05:10:20 -0700 (PDT) Received: from vorel-pc ([77.104.250.125]) by mx.google.com with ESMTPSA id qq1sm1353924wjc.0.2015.06.16.05.10.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2015 05:10:19 -0700 (PDT) Date: Tue, 16 Jun 2015 14:10:17 +0200 From: Petr Vorel To: networkmanager-list@gnome.org Subject: Cherry-pick 'fix build with Linux 3.2.0 headers' also to branch nm-1-0 Message-ID: <20150616121016.GB5915@vorel-pc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Petr Vorel List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 12:10:39 -0000 Hi there, could you please cherry-pick commit 22b99e3b 'fix build with Linux 3.2.0 headers' also to branch nm-1-0? It'd be nice to have it in 1.0.4 (not sure if it 1.0.4 is going to be made from master or from nm-1-0). Thanks a lot. Kind regards, Petr From thaller@redhat.com Tue Jun 16 13:56:11 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 9E33F76A09 for ; Tue, 16 Jun 2015 13:56:11 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.549 X-Spam-Level: X-Spam-Status: No, score=-7.549 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.648, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v1WJ5amKE6vO for ; Tue, 16 Jun 2015 13:56:10 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 6A72276A05 for ; Tue, 16 Jun 2015 13:56:10 +0000 (UTC) Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 5621A3589F1; Tue, 16 Jun 2015 13:56:09 +0000 (UTC) Received: from x250 (dhcp-24-135.brq.redhat.com [10.34.24.135]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5GDu7Ir023054 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Tue, 16 Jun 2015 09:56:08 -0400 Message-ID: <1434462960.23773.1.camel@redhat.com> Subject: Re: Cherry-pick 'fix build with Linux 3.2.0 headers' also to branch nm-1-0 From: Thomas Haller To: Petr Vorel , networkmanager-list@gnome.org Date: Tue, 16 Jun 2015 15:56:00 +0200 In-Reply-To: <20150616121016.GB5915@vorel-pc> References: <20150616121016.GB5915@vorel-pc> Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-+p4dxOMYqtbbi+1ndFxT" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 13:56:11 -0000 --=-+p4dxOMYqtbbi+1ndFxT Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2015-06-16 at 14:10 +0200, Petr Vorel wrote: > Hi there, >=20 > could you please cherry-pick commit 22b99e3b 'fix build with Linux=20 > 3.2.0 headers' also to > branch nm-1-0? It'd be nice to have it in 1.0.4 (not sure if it 1.0.4=20 > is going to be made > from master or from nm-1-0). >=20 done: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=3Db573= 3c1916c77ec7002fa1a5a1a4588058ff336a Thomas --=-+p4dxOMYqtbbi+1ndFxT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVgCrwAAoJECnCNm5N/FcoZAAQALfz4SSgmzpPRfXNujr3bpxY YhRZQogrnD3YaRyFx2PMnrIkrRKdNA77ls8Hkh9GJDmYfCXc2Od1VWOSw7rZ/U1S 3gHIifFThX0Wo999iOsPJLHz3ir1QKZJzkOpnuJjmLRizLr0NKJCJ5el4uduLQgv 79XeOfG/yZA5H+Fa43Xgl6OckPjiZTMlGTL0B4ERBQeiyZXk3ATrXgiowvc1jJKx 2+GPEqgMGIgeKp23ftx9a0L2IkSxpLcvF9Dya1n09wCfqfjoIROZWSM656zd2Ytn pw+bATTM5YSWgoAFZ6WrY6vh6vYLqBlbQ049m0oXTPI+H8fScA1QmfP0Wh8TZ2bt 9WLkBNjwthPpPw9s2XlPJe0Oy5dLnIDaCB1BZBEwlmFkT7oepVakau7w+iOB6sER Wme0JNUFzWpBWVdzrwQbPOcYWyvG6KoqTmkwG2Na5a9+ZenXMtQkI1ON5Oz0SoF2 BzC9/J7BZiebtUNXpzteweB21TJ89Ju3P7DKs62vredr3/dBAtk+0oJOvetgtIbc fFnjZ8qGCD4TPLvw2G7zPQZk+GpmNsACNBc+Sd0VL23Xw7rq37ju7OdrM/dxrvPa 2orOTfKw4YrnHc3Q5DZ7fIDlPALYvm3WQw1boJJPSuzN6lqu9T+X0vH4lO1xnc8M veRva9R5kFjyvHTavOHE =GqrN -----END PGP SIGNATURE----- --=-+p4dxOMYqtbbi+1ndFxT-- From lrintel@redhat.com Tue Jun 16 14:26:21 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id DD60476A09 for ; Tue, 16 Jun 2015 14:26:21 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.549 X-Spam-Level: X-Spam-Status: No, score=-7.549 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.648, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PU6D-vlstayW for ; Tue, 16 Jun 2015 14:26:20 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id E5DD776A05 for ; Tue, 16 Jun 2015 14:26:10 +0000 (UTC) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 32CA3C99D6; Tue, 16 Jun 2015 14:26:09 +0000 (UTC) Received: from dhcp-0-213.brq.redhat.com (dhcp-0-213.brq.redhat.com [10.34.0.213]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5GEQ6Y2002538 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Tue, 16 Jun 2015 10:26:08 -0400 Message-ID: <1434464766.21508.46.camel@redhat.com> Subject: Re: Cherry-pick 'fix build with Linux 3.2.0 headers' also to branch nm-1-0 From: Lubomir Rintel To: Petr Vorel Date: Tue, 16 Jun 2015 16:26:06 +0200 In-Reply-To: <20150616121016.GB5915@vorel-pc> References: <20150616121016.GB5915@vorel-pc> Organization: Red Hat Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 14:26:21 -0000 On Tue, 2015-06-16 at 14:10 +0200, Petr Vorel wrote: > Hi there, > > could you please cherry-pick commit 22b99e3b 'fix build with Linux > 3.2.0 headers' also to > branch nm-1-0? It'd be nice to have it in 1.0.4 (not sure if it 1.0.4 > is going to be made > from master or from nm-1-0). I'm wondering -- what is your use case here? The 3.2.0 is rather old and the internal DHCP client from systemd doesn't work with it. I guess a distribution shipping a kernel that is this old has some other components that are too old, such as glib2? > Thanks a lot. > > Kind regards, > Petr Regards, Lubo From debacle@debian.org Tue Jun 16 15:32:55 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id BA28B76A05 for ; Tue, 16 Jun 2015 15:32:55 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.1 X-Spam-Level: X-Spam-Status: No, score=0.1 tagged_above=-999 required=2 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X7W6Wxhb_fDk for ; Tue, 16 Jun 2015 15:32:55 +0000 (UTC) X-Greylist: delayed 673 seconds by postgrey-1.34 at restaurant.gnome.org; Tue, 16 Jun 2015 15:32:54 UTC Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by restaurant.gnome.org (Postfix) with ESMTP id A16BD7657B for ; Tue, 16 Jun 2015 15:32:43 +0000 (UTC) X-Envelope-From: debacle@debian.org X-Envelope-To: Received: from localhost (yak.in-berlin.de [192.109.42.109]) by einhorn.in-berlin.de (8.14.4/8.14.4/Debian-4) with ESMTP id t5GFLSbc026886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 16 Jun 2015 17:21:28 +0200 Received: from mail2.ammonit.com (mail2.ammonit.com [80.152.199.135]) by webmail.in-berlin.de (Horde Framework) with HTTP; Tue, 16 Jun 2015 17:21:28 +0200 Date: Tue, 16 Jun 2015 17:21:28 +0200 Message-ID: <20150616172128.Horde.1WeOgwblMnBkz7-UlXTtSA1@webmail.in-berlin.de> From: "W. Martin Borgert" To: networkmanager-list@gnome.org Subject: Switch off wifi-handling? User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 15:32:55 -0000 Hi, on an embedded device, I'm using wifi with hostapd exclusively and do not want any NM interference. How can I tell NM to ignore any wifi stuff? Note: - the MAC is unknown, because different wifi pens are used - this is still NM 0.8.6 :~( Many thanks in advance for any help! Cheers From dcbw@redhat.com Tue Jun 16 16:35:09 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id D988676A11 for ; Tue, 16 Jun 2015 16:35:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.549 X-Spam-Level: X-Spam-Status: No, score=-7.549 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.648, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2CKhFHk_r7xH for ; Tue, 16 Jun 2015 16:35:09 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 693187657B for ; Tue, 16 Jun 2015 16:34:59 +0000 (UTC) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id E716D8E75A; Tue, 16 Jun 2015 16:34:57 +0000 (UTC) Received: from vpn-231-96.phx2.redhat.com (vpn-231-96.phx2.redhat.com [10.3.231.96]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5GGYvI7002854; Tue, 16 Jun 2015 12:34:57 -0400 Message-ID: <1434472497.4149.1.camel@redhat.com> Subject: Re: Switch off wifi-handling? From: Dan Williams To: "W. Martin Borgert" Date: Tue, 16 Jun 2015 11:34:57 -0500 In-Reply-To: <20150616172128.Horde.1WeOgwblMnBkz7-UlXTtSA1@webmail.in-berlin.de> References: <20150616172128.Horde.1WeOgwblMnBkz7-UlXTtSA1@webmail.in-berlin.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 16:35:10 -0000 On Tue, 2015-06-16 at 17:21 +0200, W. Martin Borgert wrote: > Hi, > > on an embedded device, I'm using wifi with hostapd exclusively > and do not want any NM interference. > > How can I tell NM to ignore any wifi stuff? > > Note: > > - the MAC is unknown, because different wifi pens are used > - this is still NM 0.8.6 :~( NM 0.9.10 and later added the ability to ignore an interface by interface name. NM 0.9.10 and later also split WiFi out to a plugin, which could be removed and then the wifi interface just looks like an unmanaged generic device. But since you're using a very old version, none of those work for you :( Could you try removing wpa_supplicant? Then NM will leave the device in 'unavailable' state and shouldn't touch it after initial NM startup. Dan From debacle@debian.org Tue Jun 16 18:44:42 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 9E9E876848 for ; Tue, 16 Jun 2015 18:44:42 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rC8QkFulEJPR for ; Tue, 16 Jun 2015 18:44:40 +0000 (UTC) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by restaurant.gnome.org (Postfix) with ESMTP id 6E41A7657B for ; Tue, 16 Jun 2015 18:44:29 +0000 (UTC) X-Envelope-From: debacle@debian.org Received: from localhost (yak.in-berlin.de [192.109.42.109]) by einhorn.in-berlin.de (8.14.4/8.14.4/Debian-4) with ESMTP id t5GIiRNv011565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 16 Jun 2015 20:44:27 +0200 Received: from mail2.ammonit.com (mail2.ammonit.com [80.152.199.135]) by webmail.in-berlin.de (Horde Framework) with HTTP; Tue, 16 Jun 2015 20:44:27 +0200 Date: Tue, 16 Jun 2015 20:44:27 +0200 Message-ID: <20150616204427.Horde.dUWrbUxe24ujJSi_fNGu6A1@webmail.in-berlin.de> From: "W. Martin Borgert" To: Dan Williams Subject: Re: Switch off wifi-handling? References: <20150616172128.Horde.1WeOgwblMnBkz7-UlXTtSA1@webmail.in-berlin.de> <1434472497.4149.1.camel@redhat.com> In-Reply-To: <1434472497.4149.1.camel@redhat.com> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 18:44:42 -0000 Dan, thanks for the quick response! Quoting Dan Williams : > NM 0.9.10 and later added the ability to ignore an interface by > interface name. NM 0.9.10 and later also split WiFi out to a plugin, > which could be removed and then the wifi interface just looks like an > unmanaged generic device. I hope, that I can upgrade to > 1 some day! > But since you're using a very old version, none of those work for you :( > Could you try removing wpa_supplicant? Then NM will leave the device in > 'unavailable' state and shouldn't touch it after initial NM startup. I removed wpasupplicant and get wlan0 as "unmanaged", not "unavailable": $ nmcli dev DEVICE TYPE STATE eth0 802-3-ethernet connected usb0 802-3-ethernet unavailable wlan0 802-11-wireless unmanaged Is this the expected result? From dcbw@redhat.com Tue Jun 16 21:25:23 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 5019576848 for ; Tue, 16 Jun 2015 21:25:23 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.549 X-Spam-Level: X-Spam-Status: No, score=-7.549 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.648, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uh6-KhdjfDu8 for ; Tue, 16 Jun 2015 21:25:22 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id CCFB97657B for ; Tue, 16 Jun 2015 21:25:12 +0000 (UTC) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 26EBFC0155; Tue, 16 Jun 2015 21:25:11 +0000 (UTC) Received: from vpn-231-96.phx2.redhat.com (vpn-231-96.phx2.redhat.com [10.3.231.96]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5GLPA88001519; Tue, 16 Jun 2015 17:25:10 -0400 Message-ID: <1434489910.26431.6.camel@redhat.com> Subject: Re: Switch off wifi-handling? From: Dan Williams To: "W. Martin Borgert" Date: Tue, 16 Jun 2015 16:25:10 -0500 In-Reply-To: <20150616204427.Horde.dUWrbUxe24ujJSi_fNGu6A1@webmail.in-berlin.de> References: <20150616172128.Horde.1WeOgwblMnBkz7-UlXTtSA1@webmail.in-berlin.de> <1434472497.4149.1.camel@redhat.com> <20150616204427.Horde.dUWrbUxe24ujJSi_fNGu6A1@webmail.in-berlin.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 21:25:23 -0000 On Tue, 2015-06-16 at 20:44 +0200, W. Martin Borgert wrote: > Dan, thanks for the quick response! > > Quoting Dan Williams : > > NM 0.9.10 and later added the ability to ignore an interface by > > interface name. NM 0.9.10 and later also split WiFi out to a plugin, > > which could be removed and then the wifi interface just looks like an > > unmanaged generic device. > > I hope, that I can upgrade to > 1 some day! > > > But since you're using a very old version, none of those work for you :( > > Could you try removing wpa_supplicant? Then NM will leave the device in > > 'unavailable' state and shouldn't touch it after initial NM startup. > > I removed wpasupplicant and get wlan0 as "unmanaged", not "unavailable": > > $ nmcli dev > DEVICE TYPE STATE > eth0 802-3-ethernet connected > usb0 802-3-ethernet unavailable > wlan0 802-11-wireless unmanaged > > Is this the expected result? Even better. "unmanaged" should produce the correct result for you. Let us know how it goes... Dan From sailer@sailer.dynip.lugs.ch Wed Jun 17 00:48:08 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 1AC6E768C0 for ; Wed, 17 Jun 2015 00:48:08 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KF0hLAzI-Y46 for ; Wed, 17 Jun 2015 00:48:06 +0000 (UTC) Received: from fep14.mx.upcmail.net (fep14.mx.upcmail.net [62.179.121.34]) by restaurant.gnome.org (Postfix) with ESMTP id 7554D76848 for ; Wed, 17 Jun 2015 00:47:54 +0000 (UTC) Received: from edge01.upcmail.net ([192.168.13.236]) by viefep14-int.chello.at (InterMail vM.8.01.05.13 201-2260-151-135-20130320) with ESMTP id <20150617004751.XGYG24248.viefep14-int.chello.at@edge01.upcmail.net> for ; Wed, 17 Jun 2015 02:47:51 +0200 Received: from xbox.localdomain ([84.73.36.41]) by edge01.upcmail.net with edge id hCnq1q00Q0tFaRQ01Cnq1f; Wed, 17 Jun 2015 02:47:50 +0200 X-SourceIP: 84.73.36.41 X-Authenticated-Sender: tsailer@hispeed.ch Received: from localhost.localdomain (holmes.vpn.sailer.dynip.lugs.ch [10.1.0.18]) (authenticated bits=0) by xbox.localdomain (8.15.1/8.14.9) with ESMTPSA id t5H0llnx019497 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 17 Jun 2015 02:47:47 +0200 Message-ID: <5580C3B3.5030603@sailer.dynip.lugs.ch> Date: Wed, 17 Jun 2015 02:47:47 +0200 From: Thomas Sailer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: networkmanager-list@gnome.org Subject: ModemManager and Thuraya XT Content-Type: multipart/mixed; boundary="------------060203070303080503000703" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 00:48:08 -0000 This is a multi-part message in MIME format. --------------060203070303080503000703 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit I had another go at getting the Thuraya XT Satphone to work with Modem/NetworkManager. Firstly, I had to add another CREG regex (see the attached diff against 1.4.6) due to the modem's response: +CREG: 2, "0426", "F0,0F" Secondly, the XT doesn't particularly like AT+COPS=0. If one sends that, it drops the already acquired satellite signal and then tries to reacquire the signal, which doesn't seem to finish within the timeout period. Now I seem to be able to connect using: mmcli -m 0 --simple-connect apn="get" I cannot however get an IP interface set up. Can anyone give me a hint about what's wrong here? Thanks, Thomas Jun 17 01:38:52 localhost.localdomain NetworkManager[8923]: (ttyACM0): modem state changed, 'searching' --> 'connecting' (reason: user-requested) Jun 17 01:38:52 localhost.localdomain NetworkManager[8923]: (ttyACM0): modem state changed, 'connecting' --> 'connected' (reason: user-requested) Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: (ttyACM0): Activation: starting connection 'Thuraya2' Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: (ttyACM0): Activation: Stage 1 of 5 (Device Prepare) scheduled... Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: (ttyACM0): Activation: Stage 1 of 5 (Device Prepare) started... Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: (ttyACM0): device state change: disconnected -> prepare (reason 'none') [30 40 0] Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: (ttyACM0): Failed to connect 'Thuraya2': Connection requested IPv4 but IPv4 is unsuported by the modem. Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: (ttyACM0): device state change: prepare -> failed (reason 'modem-init-failed') [40 120 28] Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: (ttyACM0): Activation: failed for connection 'Thuraya2' Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: (ttyACM0): Activation: Stage 1 of 5 (Device Prepare) complete. Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: (ttyACM0): device state change: failed -> disconnected (reason 'none') [120 30 0] Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: (ttyACM0): deactivating device (reason 'none') [0] Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: (ttyACM0): modem state changed, 'connected' --> 'disconnecting' (reason: user-requested) Jun 17 01:40:02 localhost.localdomain NetworkManager[8923]: (ttyACM0): modem state changed, 'disconnecting' --> 'searching' (reason: user-requested) Jun 17 01:40:38 localhost.localdomain NetworkManager[8923]: (ttyACM0): device state change: disconnected -> unmanaged (reason 'removed') [30 10 36] Jun 17 01:40:38 localhost.localdomain NetworkManager[8923]: (ttyACM0): deactivating device (reason 'removed') [36] --------------060203070303080503000703 Content-Type: text/x-patch; name="mmthuraya.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mmthuraya.patch" diff -urN ModemManager-1.4.6/src/mm-iface-modem-3gpp.c ModemManager-1.4.6-x/src/mm-iface-modem-3gpp.c --- ModemManager-1.4.6/src/mm-iface-modem-3gpp.c 2015-03-23 11:10:27.000000000 +0100 +++ ModemManager-1.4.6-x/src/mm-iface-modem-3gpp.c 2015-06-17 01:08:02.249519695 +0200 @@ -383,8 +383,8 @@ else { /* If the modem is already registered and the last time it was asked * automatic registration, we're done */ - if (current_operator_code && - !registration_state_context->manual_registration) { + if (1 || (current_operator_code && + !registration_state_context->manual_registration)) { mm_dbg ("Already registered in network '%s'," " automatic registration not launched...", current_operator_code); diff -urN ModemManager-1.4.6/src/mm-modem-helpers.c ModemManager-1.4.6-x/src/mm-modem-helpers.c --- ModemManager-1.4.6/src/mm-modem-helpers.c 2015-02-07 20:28:58.000000000 +0100 +++ ModemManager-1.4.6-x/src/mm-modem-helpers.c 2015-06-17 00:24:38.233365251 +0200 @@ -331,6 +331,8 @@ /* +CREG: ,, (GSM 07.07 CREG=2 unsolicited) */ #define CREG3 "\\+(CREG|CGREG|CEREG):\\s*0*([0-9]),\\s*([^,\\s]*)\\s*,\\s*([^,\\s]*)" +#define CREG11 "\\+(CREG|CGREG|CEREG):\\s*0*([0-9]),\\s*(\"[^\"\\s]*\")\\s*,\\s*(\"[^\"\\s]*\")" + /* +CREG: ,,, (GSM 07.07 solicited and some CREG=2 unsolicited) */ #define CREG4 "\\+(CREG|CGREG|CEREG):\\s*([0-9]),\\s*([0-9])\\s*,\\s*([^,]*)\\s*,\\s*([^,\\s]*)" @@ -350,6 +352,7 @@ /* +CREG: ,,,, (ETSI 27.007 v9.20 CREG=2 unsolicited with RAC) */ #define CREG10 "\\+(CREG|CGREG):\\s*0*([0-9])\\s*,\\s*([^,\\s]*)\\s*,\\s*([^,\\s]*)\\s*,\\s*0*([0-9])\\s*,\\s*([^,\\s]*)" + /* +CEREG: ,,,, (ETSI 27.007 v8.6 CREG=2 unsolicited with RAC) */ #define CEREG1 "\\+(CEREG):\\s*0*([0-9])\\s*,\\s*([^,\\s]*)\\s*,\\s*([^,\\s]*)\\s*,\\s*([^,\\s]*)\\s*,\\s*0*([0-9])" @@ -386,6 +389,14 @@ g_assert (regex); g_ptr_array_add (array, regex); + /* #11 */ + if (solicited) + regex = g_regex_new (CREG11 "$", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL); + else + regex = g_regex_new ("\\r\\n" CREG11 "\\r\\n", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL); + g_assert (regex); + g_ptr_array_add (array, regex); + /* #4 */ if (solicited) regex = g_regex_new (CREG4 "$", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL); --------------060203070303080503000703-- From petr.vorel@gmail.com Wed Jun 17 05:55:11 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id C35EB7699A for ; Wed, 17 Jun 2015 05:55:11 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2fZbTFR-WADI for ; Wed, 17 Jun 2015 05:55:11 +0000 (UTC) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by restaurant.gnome.org (Postfix) with ESMTP id 9FC8F76932 for ; Wed, 17 Jun 2015 05:54:55 +0000 (UTC) Received: by wgbhy7 with SMTP id hy7so27524473wgb.2 for ; Tue, 16 Jun 2015 22:54:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=60nqrYvNUbw/PmVa/dBBI6n7R2KqvF67D7pNiL0HVsE=; b=WsBnP8LZxBExWkd9BxvfpoZwj4VlQgzGCEdQC0pB8PCZELCKSt7HwuUs/5ZQ8GrKMr VJvFXBjPyiq3AyFk8jG1jK+QT6OR0VeES9phXuOKYwxJWDg3s50DOCkE6E3zdOz6TnsF w/FPkG/Lzi8wiQ2yDa0MITtyhLlYwJVXSNzOSNQrGbfpgse2pf2ZL/uxgH1QjflxvWg2 pVJFuuJpfug1wXK9CuJlb1UG0aelQmbOMG7ly/BlzE1YLD/Oa/lj1Z6M1JEY9yr+Y3Lz YseNJ9vt4TrlH1qaP0oChyxDx63V2yyThU4OFiUneUgqlNRI1KuXA2XyY32No97UsfRX Ms9Q== X-Received: by 10.180.102.74 with SMTP id fm10mr50822196wib.25.1434520493281; Tue, 16 Jun 2015 22:54:53 -0700 (PDT) Received: from t61 ([85.119.94.121]) by mx.google.com with ESMTPSA id fo13sm5825193wic.0.2015.06.16.22.54.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2015 22:54:52 -0700 (PDT) Date: Wed, 17 Jun 2015 07:54:51 +0200 From: Petr Vorel To: Lubomir Rintel Subject: Re: Cherry-pick 'fix build with Linux 3.2.0 headers' also to branch nm-1-0 Message-ID: <20150617055450.GA5076@t61> References: <20150616121016.GB5915@vorel-pc> <1434464766.21508.46.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434464766.21508.46.camel@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Petr Vorel List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 05:55:11 -0000 Hi Lubo, > I'm wondering -- what is your use case here? The 3.2.0 is rather old > and the internal DHCP client from systemd doesn't work with it. I guess > a distribution shipping a kernel that is this old has some other > components that are too old, such as glib2? My real case is to run it on hybrid - old and heavily patched kernel 2.6.37 + modern user space, arm built with Buildroot. Also GCC is quite old - 4.6.3. I know that some functionality will be missing due to old kernel, but this patch ensures at least build it. Kind regards, Petr From dcbw@redhat.com Wed Jun 17 14:58:42 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id C73A2765BF for ; Wed, 17 Jun 2015 14:58:42 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.481 X-Spam-Level: X-Spam-Status: No, score=-7.481 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.58, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YLymFhyAR6dQ for ; Wed, 17 Jun 2015 14:58:41 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id DBADF76A25 for ; Wed, 17 Jun 2015 14:58:31 +0000 (UTC) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 24286BC931; Wed, 17 Jun 2015 14:58:30 +0000 (UTC) Received: from vpn-231-139.phx2.redhat.com (vpn-231-139.phx2.redhat.com [10.3.231.139]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5HEwSmZ029174; Wed, 17 Jun 2015 10:58:29 -0400 Message-ID: <1434553108.3952.21.camel@redhat.com> Subject: Re: ModemManager and Thuraya XT From: Dan Williams To: Thomas Sailer Date: Wed, 17 Jun 2015 09:58:28 -0500 In-Reply-To: <5580C3B3.5030603@sailer.dynip.lugs.ch> References: <5580C3B3.5030603@sailer.dynip.lugs.ch> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 14:58:42 -0000 On Wed, 2015-06-17 at 02:47 +0200, Thomas Sailer wrote: > I had another go at getting the Thuraya XT Satphone to work with > Modem/NetworkManager. > > Firstly, I had to add another CREG regex (see the attached diff against > 1.4.6) due to the modem's response: > +CREG: 2, "0426", "F0,0F" Oh yeah, I've still got that patch around including the testcases. I'll clean that up at some point here and post to the ModemManager list. > Secondly, the XT doesn't particularly like AT+COPS=0. If one sends that, > it drops the already acquired satellite signal and then tries to > reacquire the signal, which doesn't seem to finish within the timeout > period. That would seem to indicate that we need a ModemManager plugin for the XT to selectively ignore COPS. Given that the modem probably only has one operator and probably always searches automatically for it (unlike some modems which the COPS=0 is designed to handle) it should probably be ignored. > Now I seem to be able to connect using: > mmcli -m 0 --simple-connect apn="get" > > I cannot however get an IP interface set up. Can anyone give me a hint > about what's wrong here? Without seeing the ModemManager debug logs I can't say for sure, but it looks like the modem isn't returning the standard response to AT +CGDCONT=?. What does it return for that? I'll bet it doesn't list anything, or it may not list any result for "IPV4" contexts. That would be something I guess we should handle in the MM core, but we'd need to see the MM debug output for the AT+CGDCONT=? query first. Dan > Thanks, > Thomas > > > Jun 17 01:38:52 localhost.localdomain NetworkManager[8923]: > (ttyACM0): modem state changed, 'searching' --> 'connecting' (reason: > user-requested) > Jun 17 01:38:52 localhost.localdomain NetworkManager[8923]: > (ttyACM0): modem state changed, 'connecting' --> 'connected' (reason: > user-requested) > Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: > (ttyACM0): Activation: starting connection 'Thuraya2' > Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: > (ttyACM0): Activation: Stage 1 of 5 (Device Prepare) scheduled... > Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: > (ttyACM0): Activation: Stage 1 of 5 (Device Prepare) started... > Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: > (ttyACM0): device state change: disconnected -> prepare (reason 'none') > [30 40 0] > Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: > (ttyACM0): Failed to connect 'Thuraya2': Connection requested IPv4 but > IPv4 is unsuported by the modem. > Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: > (ttyACM0): device state change: prepare -> failed (reason > 'modem-init-failed') [40 120 28] > Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: > (ttyACM0): Activation: failed for connection 'Thuraya2' > Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: > (ttyACM0): Activation: Stage 1 of 5 (Device Prepare) complete. > Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: > (ttyACM0): device state change: failed -> disconnected (reason 'none') > [120 30 0] > Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: > (ttyACM0): deactivating device (reason 'none') [0] > Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: > (ttyACM0): modem state changed, 'connected' --> 'disconnecting' (reason: > user-requested) > Jun 17 01:40:02 localhost.localdomain NetworkManager[8923]: > (ttyACM0): modem state changed, 'disconnecting' --> 'searching' (reason: > user-requested) > Jun 17 01:40:38 localhost.localdomain NetworkManager[8923]: > (ttyACM0): device state change: disconnected -> unmanaged (reason > 'removed') [30 10 36] > Jun 17 01:40:38 localhost.localdomain NetworkManager[8923]: > (ttyACM0): deactivating device (reason 'removed') [36] > > _______________________________________________ > networkmanager-list mailing list > networkmanager-list@gnome.org > https://mail.gnome.org/mailman/listinfo/networkmanager-list From sailer@sailer.dynip.lugs.ch Wed Jun 17 16:23:40 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 50F8F76A25 for ; Wed, 17 Jun 2015 16:23:40 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dqaetQaCOBy0 for ; Wed, 17 Jun 2015 16:23:37 +0000 (UTC) Received: from fep19.mx.upcmail.net (fep19.mx.upcmail.net [62.179.121.39]) by restaurant.gnome.org (Postfix) with ESMTP id 4F8F9765BF for ; Wed, 17 Jun 2015 16:23:25 +0000 (UTC) Received: from edge02.upcmail.net ([192.168.13.237]) by viefep19-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20150617162250.HMHZ3084.viefep19-int.chello.at@edge02.upcmail.net>; Wed, 17 Jun 2015 18:22:50 +0200 Received: from xbox.localdomain ([84.73.36.41]) by edge02.upcmail.net with edge id hUPN1q00d0tFaRQ01UPNMB; Wed, 17 Jun 2015 18:23:23 +0200 X-SourceIP: 84.73.36.41 X-Authenticated-Sender: tsailer@hispeed.ch Received: from xbox360.hq.axsem.com (airnav.vpn.sailer.dynip.lugs.ch [10.1.0.14]) (authenticated bits=0) by xbox.localdomain (8.15.1/8.14.9) with ESMTPSA id t5HGN9MT009116 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 17 Jun 2015 18:23:10 +0200 Message-ID: <55819ED6.2080701@sailer.dynip.lugs.ch> Date: Wed, 17 Jun 2015 18:22:46 +0200 From: Thomas Sailer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Dan Williams Subject: Re: ModemManager and Thuraya XT References: <5580C3B3.5030603@sailer.dynip.lugs.ch> <1434553108.3952.21.camel@redhat.com> In-Reply-To: <1434553108.3952.21.camel@redhat.com> Content-Type: multipart/mixed; boundary="------------090807080201070006000200" Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 16:23:40 -0000 This is a multi-part message in MIME format. --------------090807080201070006000200 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 06/17/2015 04:58 PM, Dan Williams wrote: > That would seem to indicate that we need a ModemManager plugin for the > XT to selectively ignore COPS. Given that the modem probably only has > one operator and probably always searches automatically for it (unlike > some modems which the COPS=0 is designed to handle) it should probably > be ignored. I agree, COPS=0 should just be ignored / not sent. The Thuraya XT always searches for its network, and there's only one provider. > I'll bet it doesn't list anything, or it may not list any result for "IPV4" contexts. Actually no, it does look relatively sane, it just likes to add lots of spaces in its response... ModemManager[13689]: [1434497907.217754] [mm-port-serial.c:1294] _close_internal(): (ttyACM0) device open count is 2 (close) ModemManager[13689]: [1434497907.217776] [mm-port-serial-at.c:440] debug_log(): (ttyACM0): --> 'AT+CGDCONT=?' ModemManager[13689]: [1434497907.252516] [mm-port-serial-at.c:440] debug_log(): (ttyACM0): <-- '+CGDCONT: ( 1 ) , "IP" ,,, (0-2),(0-3)' ModemManager[13689]: [1434497907.253963] [mm-port-serial-at.c:440] debug_log(): (ttyACM0): <-- '+CGDCONT: , "PPP" ,,, (0-2),(0-3)' ModemManager[13689]: [1434497907.254980] [mm-port-serial-at.c:440] debug_log(): (ttyACM0): <-- 'OK' I added a few \\s* at the right places in the CGDCONT regexes. It works now! Ping latencies around 3 to 5 seconds :) Thanks, Thomas --------------090807080201070006000200 Content-Type: text/x-patch; name="mmthuraya.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mmthuraya.patch" diff -urN ModemManager-1.4.6/src/mm-iface-modem-3gpp.c ModemManager-1.4.6-x/src/mm-iface-modem-3gpp.c --- ModemManager-1.4.6/src/mm-iface-modem-3gpp.c 2015-03-23 11:10:27.000000000 +0100 +++ ModemManager-1.4.6-x/src/mm-iface-modem-3gpp.c 2015-06-17 01:08:02.249519695 +0200 @@ -383,8 +383,8 @@ else { /* If the modem is already registered and the last time it was asked * automatic registration, we're done */ - if (current_operator_code && - !registration_state_context->manual_registration) { + if (1 || (current_operator_code && + !registration_state_context->manual_registration)) { mm_dbg ("Already registered in network '%s'," " automatic registration not launched...", current_operator_code); diff -urN ModemManager-1.4.6/src/mm-modem-helpers.c ModemManager-1.4.6-x/src/mm-modem-helpers.c --- ModemManager-1.4.6/src/mm-modem-helpers.c 2015-02-07 20:28:58.000000000 +0100 +++ ModemManager-1.4.6-x/src/mm-modem-helpers.c 2015-06-17 00:24:38.233365251 +0200 @@ -331,6 +331,8 @@ /* +CREG: ,, (GSM 07.07 CREG=2 unsolicited) */ #define CREG3 "\\+(CREG|CGREG|CEREG):\\s*0*([0-9]),\\s*([^,\\s]*)\\s*,\\s*([^,\\s]*)" +#define CREG11 "\\+(CREG|CGREG|CEREG):\\s*0*([0-9]),\\s*(\"[^\"\\s]*\")\\s*,\\s*(\"[^\"\\s]*\")" + /* +CREG: ,,, (GSM 07.07 solicited and some CREG=2 unsolicited) */ #define CREG4 "\\+(CREG|CGREG|CEREG):\\s*([0-9]),\\s*([0-9])\\s*,\\s*([^,]*)\\s*,\\s*([^,\\s]*)" @@ -350,6 +352,7 @@ /* +CREG: ,,,, (ETSI 27.007 v9.20 CREG=2 unsolicited with RAC) */ #define CREG10 "\\+(CREG|CGREG):\\s*0*([0-9])\\s*,\\s*([^,\\s]*)\\s*,\\s*([^,\\s]*)\\s*,\\s*0*([0-9])\\s*,\\s*([^,\\s]*)" + /* +CEREG: ,,,, (ETSI 27.007 v8.6 CREG=2 unsolicited with RAC) */ #define CEREG1 "\\+(CEREG):\\s*0*([0-9])\\s*,\\s*([^,\\s]*)\\s*,\\s*([^,\\s]*)\\s*,\\s*([^,\\s]*)\\s*,\\s*0*([0-9])" @@ -386,6 +389,14 @@ g_assert (regex); g_ptr_array_add (array, regex); + /* #11 */ + if (solicited) + regex = g_regex_new (CREG11 "$", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL); + else + regex = g_regex_new ("\\r\\n" CREG11 "\\r\\n", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL); + g_assert (regex); + g_ptr_array_add (array, regex); + /* #4 */ if (solicited) regex = g_regex_new (CREG4 "$", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL); @@ -775,7 +775,7 @@ return NULL; } - r = g_regex_new ("\\+CGDCONT:\\s*\\((\\d+)-?(\\d+)?\\),\\(?\"(\\S+)\"", + r = g_regex_new ("\\+CGDCONT:\\s*\\(\\s*(\\d+)\\s*-?\\s*(\\d+)?\\s*\\)\\s*,\\s*\\(?\"(\\S+)\"", G_REGEX_DOLLAR_ENDONLY | G_REGEX_RAW, 0, &inner_error); g_assert (r != NULL); @@ -863,7 +863,7 @@ return NULL; list = NULL; - r = g_regex_new ("\\+CGDCONT:\\s*(\\d+)\\s*,([^,\\)]*),([^,\\)]*),([^,\\)]*)", + r = g_regex_new ("\\+CGDCONT:\\s*(\\d+)\\s*,([^, \\)]*)\\s*,([^, \\)]*)\\s*,([^, \\)]*)", G_REGEX_DOLLAR_ENDONLY | G_REGEX_RAW, 0, &inner_error); if (r) { --------------090807080201070006000200-- From thaller@redhat.com Wed Jun 17 17:18:09 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id C6CF0765BF for ; Wed, 17 Jun 2015 17:18:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.481 X-Spam-Level: X-Spam-Status: No, score=-7.481 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.58, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kMUOW7dRB85I for ; Wed, 17 Jun 2015 17:18:08 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id D4A0576A25 for ; Wed, 17 Jun 2015 17:17:58 +0000 (UTC) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 3880C367297 for ; Wed, 17 Jun 2015 17:17:57 +0000 (UTC) Received: from x250.localdomain (dhcp-24-135.brq.redhat.com [10.34.24.135]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5HHHsto031324 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Wed, 17 Jun 2015 13:17:56 -0400 From: Thomas Haller To: networkmanager-list@gnome.org Subject: [PATCH 1/1] device: delay handling of link-changed platform event Date: Wed, 17 Jun 2015 19:17:51 +0200 Message-Id: <1434561471-23174-1-git-send-email-thaller@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 17:18:09 -0000 When inside a state-change, we set for example the device up. This triggers a link-changed event, which then causes further state-changes of the devices. The handling of the link-changed event must be delayed and invoked idly. This avoid a serious assertions that can hit since platform-refactoring (commit 35dcd8ac33d631c54532aa3bd0b3d2e026ec6407). --- src/devices/nm-device.c | 88 +++++++++++++++++++++++++++++++++---------------- 1 file changed, 60 insertions(+), 28 deletions(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 9531ff2..b06635d 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -179,6 +179,9 @@ typedef struct { gboolean initialized; gboolean platform_link_initialized; + guint link_changed_cb_delayed_ifindex; + guint link_changed_cb_delayed_ip_ifindex; + NMDeviceState state; NMDeviceStateReason state_reason; QueuedState queued_state; @@ -1333,8 +1336,8 @@ device_set_master (NMDevice *self, int ifindex) } } -static void -device_link_changed (NMDevice *self, NMPlatformLink *info) +static gboolean +device_link_changed (NMDevice *self) { NMDeviceClass *klass = NM_DEVICE_GET_CLASS (self); NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self); @@ -1342,8 +1345,16 @@ device_link_changed (NMDevice *self, NMPlatformLink *info) gboolean ip_ifname_changed = FALSE; gboolean platform_unmanaged = FALSE; const char *udi; + NMPlatformLink info; + int ifindex; + + priv->link_changed_cb_delayed_ifindex = 0; + + ifindex = nm_device_get_ifindex (self); + if (!nm_platform_link_get (NM_PLATFORM_GET, ifindex, &info)) + return G_SOURCE_REMOVE; - udi = nm_platform_link_get_udi (NM_PLATFORM_GET, info->ifindex); + udi = nm_platform_link_get_udi (NM_PLATFORM_GET, info.ifindex); if (udi && g_strcmp0 (udi, priv->udi)) { /* Update UDI to what udev gives us */ g_free (priv->udi); @@ -1351,24 +1362,24 @@ device_link_changed (NMDevice *self, NMPlatformLink *info) g_object_notify (G_OBJECT (self), NM_DEVICE_UDI); } - if (g_strcmp0 (info->driver, priv->driver)) { + if (g_strcmp0 (info.driver, priv->driver)) { /* Update driver to what udev gives us */ g_free (priv->driver); - priv->driver = g_strdup (info->driver); + priv->driver = g_strdup (info.driver); g_object_notify (G_OBJECT (self), NM_DEVICE_DRIVER); } /* Update MTU if it has changed. */ - if (priv->mtu != info->mtu) { - priv->mtu = info->mtu; + if (priv->mtu != info.mtu) { + priv->mtu = info.mtu; g_object_notify (G_OBJECT (self), NM_DEVICE_MTU); } - if (info->name[0] && strcmp (priv->iface, info->name) != 0) { + if (info.name[0] && strcmp (priv->iface, info.name) != 0) { _LOGI (LOGD_DEVICE, "interface index %d renamed iface from '%s' to '%s'", - priv->ifindex, priv->iface, info->name); + priv->ifindex, priv->iface, info.name); g_free (priv->iface); - priv->iface = g_strdup (info->name); + priv->iface = g_strdup (info.name); /* If the device has no explicit ip_iface, then changing iface changes ip_iface too. */ ip_ifname_changed = !priv->ip_iface; @@ -1387,10 +1398,10 @@ device_link_changed (NMDevice *self, NMPlatformLink *info) } /* Update slave status for external changes */ - if (priv->enslaved && info->master != nm_device_get_ifindex (priv->master)) + if (priv->enslaved && info.master != nm_device_get_ifindex (priv->master)) nm_device_release_one_slave (priv->master, self, FALSE, NM_DEVICE_STATE_REASON_NONE); - if (info->master && !priv->enslaved) { - device_set_master (self, info->master); + if (info.master && !priv->enslaved) { + device_set_master (self, info.master); if (priv->master) nm_device_enslave_slave (priv->master, self, NULL); } @@ -1402,21 +1413,21 @@ device_link_changed (NMDevice *self, NMPlatformLink *info) } if (klass->link_changed) - klass->link_changed (self, info); + klass->link_changed (self, &info); /* Update DHCP, etc, if needed */ if (ip_ifname_changed) update_for_ip_ifname_change (self); - if (priv->up != NM_FLAGS_HAS (info->flags, IFF_UP)) { - priv->up = NM_FLAGS_HAS (info->flags, IFF_UP); + if (priv->up != NM_FLAGS_HAS (info.flags, IFF_UP)) { + priv->up = NM_FLAGS_HAS (info.flags, IFF_UP); /* Manage externally-created software interfaces only when they are IFF_UP */ g_assert (priv->ifindex > 0); if (NM_DEVICE_GET_CLASS (self)->can_unmanaged_external_down (self)) { gboolean external_down = nm_device_get_unmanaged_flag (self, NM_UNMANAGED_EXTERNAL_DOWN); - if (external_down && NM_FLAGS_HAS (info->flags, IFF_UP)) { + if (external_down && NM_FLAGS_HAS (info.flags, IFF_UP)) { if (nm_device_get_state (self) < NM_DEVICE_STATE_DISCONNECTED) { /* Ensure the assume check is queued before any queued state changes * from the transition to UNAVAILABLE. @@ -1439,7 +1450,7 @@ device_link_changed (NMDevice *self, NMPlatformLink *info) */ priv->unmanaged_flags &= ~NM_UNMANAGED_EXTERNAL_DOWN; } - } else if (!external_down && !NM_FLAGS_HAS (info->flags, IFF_UP) && nm_device_get_state (self) <= NM_DEVICE_STATE_DISCONNECTED) { + } else if (!external_down && !NM_FLAGS_HAS (info.flags, IFF_UP) && nm_device_get_state (self) <= NM_DEVICE_STATE_DISCONNECTED) { /* If the device is already disconnected and is set !IFF_UP, * unmanage it. */ @@ -1451,7 +1462,7 @@ device_link_changed (NMDevice *self, NMPlatformLink *info) } } - if (priv->ifindex > 0 && !priv->platform_link_initialized && info->initialized) { + if (priv->ifindex > 0 && !priv->platform_link_initialized && info.initialized) { priv->platform_link_initialized = TRUE; if (nm_platform_link_get_unmanaged (NM_PLATFORM_GET, priv->ifindex, &platform_unmanaged)) { @@ -1466,23 +1477,34 @@ device_link_changed (NMDevice *self, NMPlatformLink *info) FALSE, NM_DEVICE_STATE_REASON_NOW_MANAGED); } + + return G_SOURCE_REMOVE; } -static void -device_ip_link_changed (NMDevice *self, NMPlatformLink *info) +static gboolean +device_ip_link_changed (NMDevice *self) { NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self); + NMPlatformLink info; + int ip_ifindex; - if (info->name[0] && g_strcmp0 (priv->ip_iface, info->name)) { + priv->link_changed_cb_delayed_ip_ifindex = 0; + + ip_ifindex = nm_device_get_ip_ifindex (self); + if (!nm_platform_link_get (NM_PLATFORM_GET, ip_ifindex, &info)) + return G_SOURCE_REMOVE; + + if (info.name[0] && g_strcmp0 (priv->ip_iface, info.name)) { _LOGI (LOGD_DEVICE, "interface index %d renamed ip_iface (%d) from '%s' to '%s'", priv->ifindex, nm_device_get_ip_ifindex (self), - priv->ip_iface, info->name); + priv->ip_iface, info.name); g_free (priv->ip_iface); - priv->ip_iface = g_strdup (info->name); + priv->ip_iface = g_strdup (info.name); g_object_notify (G_OBJECT (self), NM_DEVICE_IP_IFACE); update_for_ip_ifname_change (self); } + return G_SOURCE_REMOVE; } static void @@ -1493,19 +1515,26 @@ link_changed_cb (NMPlatform *platform, NMPlatformReason reason, NMDevice *self) { + NMDevicePrivate *priv; + if (change_type != NM_PLATFORM_SIGNAL_CHANGED) return; + priv = NM_DEVICE_GET_PRIVATE (self); + /* We don't filter by 'reason' because we are interested in *all* link * changes. For example a call to nm_platform_link_set_up() may result * in an internal carrier change (i.e. we ask the kernel to set IFF_UP * and it results in also setting IFF_LOWER_UP. */ - if (ifindex == nm_device_get_ifindex (self)) - device_link_changed (self, info); - else if (ifindex == nm_device_get_ip_ifindex (self)) - device_ip_link_changed (self, info); + if (ifindex == nm_device_get_ifindex (self)) { + if (!priv->link_changed_cb_delayed_ifindex) + priv->link_changed_cb_delayed_ifindex = g_idle_add ((GSourceFunc) device_link_changed, self); + } else if (ifindex == nm_device_get_ip_ifindex (self)) { + if (!priv->link_changed_cb_delayed_ip_ifindex) + priv->link_changed_cb_delayed_ip_ifindex = g_idle_add ((GSourceFunc) device_ip_link_changed, self); + } } static void @@ -8888,6 +8917,9 @@ dispose (GObject *object) g_signal_handlers_disconnect_by_func (platform, G_CALLBACK (device_ip_changed), self); g_signal_handlers_disconnect_by_func (platform, G_CALLBACK (link_changed_cb), self); + nm_clear_g_source (&priv->link_changed_cb_delayed_ifindex); + nm_clear_g_source (&priv->link_changed_cb_delayed_ip_ifindex); + G_OBJECT_CLASS (nm_device_parent_class)->dispose (object); } -- 2.4.3 From petr.vorel@gmail.com Wed Jun 17 23:46:01 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 8725576A4C for ; Wed, 17 Jun 2015 23:46:01 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wOIvGMEtDvOi for ; Wed, 17 Jun 2015 23:46:00 +0000 (UTC) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by restaurant.gnome.org (Postfix) with ESMTP id 4A3AA765BF for ; Wed, 17 Jun 2015 23:45:49 +0000 (UTC) Received: by wiga1 with SMTP id a1so154852861wig.0 for ; Wed, 17 Jun 2015 16:45:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=9j7QZiBdHURuD4Z4A/DzOqJrecoAf1Sy6MLh1UsIMZ8=; b=G03TsUYmZGbqaCQzlQmLZ15wl2iKOI2sSwgV+lZ9K0nmPxBCh8oi8hdBp3XglmyfaS sdk9RIdNLE0nvuwadOEcx+qHnQZRzzIvlupb2yvZQ0aZ665JiRMHjZ6r6xqFFdDra9mG czOf/HRaGB1wihs0x6FYbiHPfw/nxHj6nsZbTDGkn7+Iio+S8UZnVYV2fUncQdKI1v6W UEyMzuow/5WO/fZ0xsz1QyIiuPzlVjF7bospqqAClZ8D82xz2VXsgRXbqC2qdytHUIyM Jhh1u4kELA1ddf9fXfVdwtzMv7KXOh8WIYnMdR8EdVHhhyhUuu6zqEEgPsPDFfNWjXVX /Y3Q== X-Received: by 10.180.95.101 with SMTP id dj5mr22599759wib.16.1434584748167; Wed, 17 Jun 2015 16:45:48 -0700 (PDT) Received: from t61.jablocom.intra ([85.119.94.121]) by mx.google.com with ESMTPSA id um5sm9249253wjc.1.2015.06.17.16.45.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Jun 2015 16:45:47 -0700 (PDT) From: Petr Vorel To: networkmanager-list@gnome.org Subject: [PATCH 1/2] autogen.sh: warn if gtkdocize is missing, exit on error Date: Thu, 18 Jun 2015 01:45:41 +0200 Message-Id: <1434584742-3159-1-git-send-email-petr.vorel@gmail.com> X-Mailer: git-send-email 2.1.4 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 23:46:01 -0000 Signed-off-by: Petr Vorel --- autogen.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 5ec9a5a..86f89cc 100755 --- a/autogen.sh +++ b/autogen.sh @@ -22,7 +22,14 @@ PKG_NAME=NetworkManager cd $srcdir -gtkdocize +GTKDOCIZE=`which gtkdocize` || true +if test -z $GTKDOCIZE; then + echo "**Error**: No GTK-Doc found, please install it" >&2 + exit 1 +else + gtkdocize || exit $? +fi + autopoint --force AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose -- 2.1.4 From petr.vorel@gmail.com Wed Jun 17 23:46:03 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 26EA676A4C for ; Wed, 17 Jun 2015 23:46:03 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rzmmIioBIcLI for ; Wed, 17 Jun 2015 23:46:02 +0000 (UTC) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by restaurant.gnome.org (Postfix) with ESMTP id 26C99765BF for ; Wed, 17 Jun 2015 23:45:51 +0000 (UTC) Received: by wicnd19 with SMTP id nd19so6661079wic.1 for ; Wed, 17 Jun 2015 16:45:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=IZa5Pv9GoYWPZcd4y0XcT9YLuCXGjqC4wI0yanYHksc=; b=fqa3yMHBPji2nvDfWYs+XTHlJfv64AVFr/RYs89cXDPm2GShpYr3yiLp3AekTv2QaD 8+7R7ovO/1xLXKZ9+95+4T7kTIO+9n09YyUSLNXDVqfSmW+prSZSLLAOEvkHYA5bf4Hv GiLxBUjc5qHC3eklER6ycADpkkCRBU06uYujRdNjH90XOKuRmQu7RPKC4ZbwtT9SBuzB s0lZ73kYulANx3Dm0S9C2mwrMA55KwRcZWIrSt3nyUlWYE0iKHVvs/eaGf/Q4kg3HAm5 +hoyGJ1a2P81O9CFyY1yFf5PJUR5XPqLSfeZGsTcgZ6pfGkX8bDcYhBjKVc+PhkK+GjF OXvg== X-Received: by 10.180.231.4 with SMTP id tc4mr22815689wic.27.1434584748902; Wed, 17 Jun 2015 16:45:48 -0700 (PDT) Received: from t61.jablocom.intra ([85.119.94.121]) by mx.google.com with ESMTPSA id um5sm9249253wjc.1.2015.06.17.16.45.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Jun 2015 16:45:48 -0700 (PDT) From: Petr Vorel To: networkmanager-list@gnome.org Subject: [PATCH 2/2] autogen.sh: print errors to stderr, printf instead echo -n Date: Thu, 18 Jun 2015 01:45:42 +0200 Message-Id: <1434584742-3159-2-git-send-email-petr.vorel@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1434584742-3159-1-git-send-email-petr.vorel@gmail.com> References: <1434584742-3159-1-git-send-email-petr.vorel@gmail.com> X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 23:46:03 -0000 Signed-off-by: Petr Vorel --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 86f89cc..085b1ba 100755 --- a/autogen.sh +++ b/autogen.sh @@ -15,8 +15,8 @@ PKG_NAME=NetworkManager (test -f $srcdir/configure.ac \ && test -f $srcdir/src/main.c) || { - echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" - echo " top-level $PKG_NAME directory" + printf "**Error**: Directory "\`$srcdir\'" does not look like the" >&2 + echo " top-level $PKG_NAME directory" >&2 exit 1 } -- 2.1.4 From petr.vorel@gmail.com Wed Jun 17 23:48:41 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id E8A81765BF for ; Wed, 17 Jun 2015 23:48:41 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id df4Jx0VH6dGr for ; Wed, 17 Jun 2015 23:48:40 +0000 (UTC) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by restaurant.gnome.org (Postfix) with ESMTP id 4EA1576A4C for ; Wed, 17 Jun 2015 23:48:29 +0000 (UTC) Received: by wifx6 with SMTP id x6so70131966wif.0 for ; Wed, 17 Jun 2015 16:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=JhTDr4NecadLB1jmDLel6ie3wm0AFdwNh5FuMpcKt50=; b=CWzwzcwBWh6v3jrbPaLBGuB7YHUpcsC0LRY39/Ys5nNutXJ7Cg5y67kuZBS+tx14DD uNOmx7Y9N1EQhZfRpy4j1g5AwFNZJ9faUYw2icKvmvA9dLopnkhoHYFqhTf1Yaq/cDJ5 L1z8JYV+cNYYPF2OWGLdeXjKDuKVOvaMIgJfTO4uCbjO6mCDhCuY07VRtcOsCEpaDhAZ KxiSaKWqY3VHptMTkToOjIiQ4rGzbXLeEg1k0Badwm9FzH7Ewu6gJkWA442Evo/MJ3JU 3sHjJvLUNr6MQ9clVhw/yOMxnSdLy+aOBQVCkrbNpJr0hLbVtDBJ1y233nPvaMvolt0E lBYQ== X-Received: by 10.194.203.3 with SMTP id km3mr8242252wjc.114.1434584908104; Wed, 17 Jun 2015 16:48:28 -0700 (PDT) Received: from t61.jablocom.intra ([85.119.94.121]) by mx.google.com with ESMTPSA id cd9sm9306725wjc.34.2015.06.17.16.48.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Jun 2015 16:48:27 -0700 (PDT) From: Petr Vorel To: networkmanager-list@gnome.org Subject: [PATCH] systemd-dhcp: fix build with Linux <= 3.2.0 headers Date: Thu, 18 Jun 2015 01:48:22 +0200 Message-Id: <1434584902-3457-1-git-send-email-petr.vorel@gmail.com> X-Mailer: git-send-email 2.1.4 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 23:48:42 -0000 Fixes build on Ubuntu 12.04. src/dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp-network.c: In function '_bind_raw_socket': src/dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp-network.c:79:17: error: 'BPF_XOR' undeclared (first use in this function) src/dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp-network.c:79:17: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [libsystemd_nm_la-dhcp-network.lo] Error 1 Signed-off-by: Petr Vorel --- src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h b/src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h index 6d500f4..f8856a1 100644 --- a/src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h +++ b/src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h @@ -38,6 +38,11 @@ #include "nm-logging.h" +/* Missing in Linux 3.2.0, in Ubuntu 12.04 */ +#ifndef BPF_XOR +#define BPF_XOR 0xa0 +#endif + static inline guint32 _slog_level_to_nm (int slevel) { -- 1.8.0 From petr.vorel@gmail.com Wed Jun 17 23:52:01 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id D6CF776A4C for ; Wed, 17 Jun 2015 23:52:01 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pUuCKpxcWt0o for ; Wed, 17 Jun 2015 23:52:01 +0000 (UTC) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by restaurant.gnome.org (Postfix) with ESMTP id 9AFD8765BF for ; Wed, 17 Jun 2015 23:51:49 +0000 (UTC) Received: by wifx6 with SMTP id x6so70182942wif.0 for ; Wed, 17 Jun 2015 16:51:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=wOpditwOC4joyAsnzGqDaS/59erv7G0A9lVIT+/fhnE=; b=vLJhwXaoK7ha8ICZ6OHQXLNr3cMXvbK1qdPJHk9t9hFm4ptb5LTlOUqHIV/zelLYQF CAUwJZqbo4Bj3Z4NwUd7G2bGXqgLEyVjexwUO33xcpWip1AiatuDRIQrkYZz8jWlElh9 GTSFiqE2bFj8MMMoCTgUmAGZ93VnxYOGhV4e/wuO8h8lD0qpTBjvlzkOgI7yGuwRotUk VdP99u3MHgWe/RKVFTeJ11pGSNed27B7wpiyQBCh8ctoovGioB8Y4IH9Ov7nkUFUikD6 MCao391Vo/yGqZFinjAulikfgPsO5FiQ/5eD5k7E0+yJLD2FtKWM/nYSsUmK+OJ3i57S 1puA== X-Received: by 10.180.74.144 with SMTP id t16mr22305585wiv.33.1434585108391; Wed, 17 Jun 2015 16:51:48 -0700 (PDT) Received: from t61 ([85.119.94.121]) by mx.google.com with ESMTPSA id k2sm10174390wix.4.2015.06.17.16.51.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jun 2015 16:51:47 -0700 (PDT) Date: Thu, 18 Jun 2015 01:51:46 +0200 From: Petr Vorel To: networkmanager-list@gnome.org Subject: Re: [PATCH] systemd-dhcp: fix build with Linux <= 3.2.0 headers Message-ID: <20150617235145.GA26959@t61> References: <1434584902-3457-1-git-send-email-petr.vorel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434584902-3457-1-git-send-email-petr.vorel@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Petr Vorel List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 23:52:01 -0000 Hi there, > Fixes build on Ubuntu 12.04. > src/dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp-network.c: In function '_bind_raw_socket': > src/dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp-network.c:79:17: error: 'BPF_XOR' undeclared (first use in this function) > src/dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp-network.c:79:17: note: each undeclared identifier is reported only once for each function it appears in > make[4]: *** [libsystemd_nm_la-dhcp-network.lo] Error 1 > Signed-off-by: Petr Vorel > --- > src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h | 5 +++++ > 1 file changed, 5 insertions(+) > diff --git a/src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h b/src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h > index 6d500f4..f8856a1 100644 > --- a/src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h > +++ b/src/dhcp-manager/systemd-dhcp/nm-sd-adapt.h > @@ -38,6 +38,11 @@ > #include "nm-logging.h" > +/* Missing in Linux 3.2.0, in Ubuntu 12.04 */ > +#ifndef BPF_XOR > +#define BPF_XOR 0xa0 > +#endif > + > static inline guint32 > _slog_level_to_nm (int slevel) > { Please push this patch to branch nm-1-0. It's a build fix created by Lubomir Rintel, pushed to master as 3811a683. Kind regards, Petr From arigead@gmail.com Thu Jun 18 09:05:39 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 062B776A51 for ; Thu, 18 Jun 2015 09:05:39 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MEY0WTRfGMzf for ; Thu, 18 Jun 2015 09:05:32 +0000 (UTC) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by restaurant.gnome.org (Postfix) with ESMTP id 339B776A4C for ; Thu, 18 Jun 2015 09:05:21 +0000 (UTC) Received: by wicnd19 with SMTP id nd19so16006494wic.1 for ; Thu, 18 Jun 2015 02:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=56R09dHV6tUR0JwWKFy8Yv1Rsu1Qk2lKBdeT5UI6PNM=; b=Co4M21oAuuA1HkslYz5hX565lbiN0jZQuTAiGy5M9pAIoDmwizD63c5TGSnpLL52kj 0muleNSDubdj5BDMedfV8h6sl26zuNytZGpWdZIyLoB1MxjGCSsbPZzM3xkvVTbj63Pb CdXjcXIEbxFFwptF9/JTJ+3BXi7UTd1664mdLEZ++r95/As4ufXl3+ASRe6geIIXJHRD H7pGu8i61ke3BwsKgP+eYiyFqJhia8FbES22JKfYRIHk27FW36XQnfHHk7c5kDs1Jl+X gDX1wGuEvOQgEdiXkGC05W+ic93npza5KrCO35ixC5+r7TvBj7uPOQsPfgqE0ZAifJOL VjqQ== X-Received: by 10.194.103.2 with SMTP id fs2mr14087951wjb.151.1434618319735; Thu, 18 Jun 2015 02:05:19 -0700 (PDT) Received: from bamboo.electronicsoup (86-44-189-100-dynamic.agg2.cty.lmk-pgs.eircom.net. [86.44.189.100]) by mx.google.com with ESMTPSA id q4sm11215719wju.14.2015.06.18.02.05.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jun 2015 02:05:18 -0700 (PDT) Date: Thu, 18 Jun 2015 10:01:51 +0100 From: John Whitmore To: networkmanager-list@gnome.org Subject: ZTE MF823 USB Ethernet Dongle on RPi-2/Arch/LXDE Message-ID: <20150618090150.GA31535@bamboo.electronicsoup> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 09:05:39 -0000 Been on a few times between this list and the ModemManager. I was hoping to setup a system where I could build some intelligence behind two USB 4G Dongles and jump between connections depending on signal strength. My second Dongle has stopped that, as it don't report as a Modem device and instead uses Ethernet over USB. This all works out of the box on my OpenSUSE Laptop but the RPi-2 doesn't work. On the laptop "usb-devices" is giving me: T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=19d2 ProdID=1403 Rev=50.09 S: Manufacturer=ZTE,Incorporated S: Product=ZTE Technologies MSM S: SerialNumber=MF8230ZTED010000CP261718SKYDWQ5II0PESHF3BW707_8C64&&&&&&&&&&&&&0 C: #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=ff Driver=rndis_host I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host I: If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage So it's using the "rndis_host" driver. If I grep for that driver in lsmod I get: john@bamboo:> lsmod | grep "host" rndis_host 14513 1 rndis_wlan cdc_ether 14361 1 rndis_host usbnet 43864 3 rndis_host,rndis_wlan,cdc_ether The laptop also gives me an extra network device: ens3u1 Link encap:Ethernet HWaddr 36:4B:50:B7:EF:9E inet addr:192.168.0.194 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::344b:50ff:feb7:ef9e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:47 errors:0 dropped:0 overruns:0 frame:0 TX packets:83 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3502 (3.4 Kb) TX bytes:21953 (21.4 Kb) Now the RPi-2 On the other hand when I do "usb-devices" shows that where the OpenSUSE uses "rndis_host" the RPi-2 uses "cdc_ether". In addition there's no mention of the additional modules mentioned by lsmod in OpenSUSE (rndis_host, rndis_wlan, usbnet) So should I be black listing cdc_ether? I can't see that I can do that as that driver is used by the working OpenSUSE but it's just one of a number of drivers used in the device. Any ideas would be gratefully received. John From dcbw@redhat.com Thu Jun 18 14:31:00 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 2CCA376AE9 for ; Thu, 18 Jun 2015 14:31:00 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.171 X-Spam-Level: X-Spam-Status: No, score=-7.171 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.269, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0ntsge_CdyrF for ; Thu, 18 Jun 2015 14:30:59 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id EAD81764BC for ; Thu, 18 Jun 2015 14:30:43 +0000 (UTC) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 1BBCF2FB8B6; Thu, 18 Jun 2015 14:30:42 +0000 (UTC) Received: from vpn-232-33.phx2.redhat.com (vpn-232-33.phx2.redhat.com [10.3.232.33]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5IEUfa2007207; Thu, 18 Jun 2015 10:30:41 -0400 Message-ID: <1434637841.3294.1.camel@redhat.com> Subject: Re: [PATCH 1/2] autogen.sh: warn if gtkdocize is missing, exit on error From: Dan Williams To: Petr Vorel Date: Thu, 18 Jun 2015 09:30:41 -0500 In-Reply-To: <1434584742-3159-1-git-send-email-petr.vorel@gmail.com> References: <1434584742-3159-1-git-send-email-petr.vorel@gmail.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 14:31:00 -0000 On Thu, 2015-06-18 at 01:45 +0200, Petr Vorel wrote: > Signed-off-by: Petr Vorel > --- > autogen.sh | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/autogen.sh b/autogen.sh > index 5ec9a5a..86f89cc 100755 > --- a/autogen.sh > +++ b/autogen.sh > @@ -22,7 +22,14 @@ PKG_NAME=NetworkManager > > cd $srcdir > > -gtkdocize > +GTKDOCIZE=`which gtkdocize` || true > +if test -z $GTKDOCIZE; then > + echo "**Error**: No GTK-Doc found, please install it" >&2 Actually, gtkdoc isn't required for the build unless you want to do 'make dist' or distcheck. So in theory, perhaps we should just warn about that and continue, instead of erroring out? Dan > + exit 1 > +else > + gtkdocize || exit $? > +fi > + > autopoint --force > AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose > From dcbw@redhat.com Thu Jun 18 14:35:07 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id C411976A69 for ; Thu, 18 Jun 2015 14:35:07 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.17 X-Spam-Level: X-Spam-Status: No, score=-7.17 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.269, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yrp64xbbviOz for ; Thu, 18 Jun 2015 14:35:06 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 6C3A7764BC for ; Thu, 18 Jun 2015 14:35:06 +0000 (UTC) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 5DDD838AB1C; Thu, 18 Jun 2015 14:35:05 +0000 (UTC) Received: from vpn-232-33.phx2.redhat.com (vpn-232-33.phx2.redhat.com [10.3.232.33]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5IEZ47g010105; Thu, 18 Jun 2015 10:35:04 -0400 Message-ID: <1434638104.3294.2.camel@redhat.com> Subject: Re: ZTE MF823 USB Ethernet Dongle on RPi-2/Arch/LXDE From: Dan Williams To: John Whitmore Date: Thu, 18 Jun 2015 09:35:04 -0500 In-Reply-To: <20150618090150.GA31535@bamboo.electronicsoup> References: <20150618090150.GA31535@bamboo.electronicsoup> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 14:35:07 -0000 On Thu, 2015-06-18 at 10:01 +0100, John Whitmore wrote: > Been on a few times between this list and the ModemManager. I was hoping to > setup a system where I could build some intelligence behind two USB 4G Dongles > and jump between connections depending on signal strength. > > My second Dongle has stopped that, as it don't report as a Modem device and > instead uses Ethernet over USB. This all works out of the box on my OpenSUSE > Laptop but the RPi-2 doesn't work. > > On the laptop "usb-devices" is giving me: What's the 'lsusb -v -d 19d2:1403' output? Dan > T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=480 MxCh= 0 > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=19d2 ProdID=1403 Rev=50.09 > S: Manufacturer=ZTE,Incorporated > S: Product=ZTE Technologies MSM > S: SerialNumber=MF8230ZTED010000CP261718SKYDWQ5II0PESHF3BW707_8C64&&&&&&&&&&&&&0 > C: #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=ff Driver=rndis_host > I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host > I: If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage > > > So it's using the "rndis_host" driver. If I grep for that driver in lsmod I > get: > > john@bamboo:> lsmod | grep "host" > rndis_host 14513 1 rndis_wlan > cdc_ether 14361 1 rndis_host > usbnet 43864 3 rndis_host,rndis_wlan,cdc_ether > > > The laptop also gives me an extra network device: > > ens3u1 Link encap:Ethernet HWaddr 36:4B:50:B7:EF:9E > inet addr:192.168.0.194 Bcast:192.168.0.255 Mask:255.255.255.0 > inet6 addr: fe80::344b:50ff:feb7:ef9e/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:47 errors:0 dropped:0 overruns:0 frame:0 > TX packets:83 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:3502 (3.4 Kb) TX bytes:21953 (21.4 Kb) > > Now the RPi-2 On the other hand when I do "usb-devices" shows that where the > OpenSUSE uses "rndis_host" the RPi-2 uses "cdc_ether". In addition there's no > mention of the additional modules mentioned by lsmod in OpenSUSE (rndis_host, > rndis_wlan, usbnet) > > So should I be black listing cdc_ether? I can't see that I can do that as that > driver is used by the working OpenSUSE but it's just one of a number of > drivers used in the device. Any ideas would be gratefully received. > > John > _______________________________________________ > networkmanager-list mailing list > networkmanager-list@gnome.org > https://mail.gnome.org/mailman/listinfo/networkmanager-list From schnitzeltony@googlemail.com Thu Jun 18 16:31:04 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id C9BAC76A69 for ; Thu, 18 Jun 2015 16:31:04 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t4apPOkXIaJM for ; Thu, 18 Jun 2015 16:31:03 +0000 (UTC) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by restaurant.gnome.org (Postfix) with ESMTP id DF9AD764BC for ; Thu, 18 Jun 2015 16:30:47 +0000 (UTC) Received: by pdbci14 with SMTP id ci14so11520800pdb.2 for ; Thu, 18 Jun 2015 09:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=EtmV3qUuAc2BXamSjtOAvlJ3LPSrwzZzMEXnpMQdkKQ=; b=mRL+c4+dMFZ9nQV3ElERwwHre0n3DpWwA9ZZ0sCSQy4BKqgQudqvqVyIM9APQthfq0 20PfAO1Tad/o+hPs9FxSBjf1LezKDKcDhjENMAv7PU8GuCgE34jqXmTj2uvIBuKrqf77 bQLQcDYfBBi+fjD+InweHYyzLAuvwdoBsKWcU4UqaOllQ4eGfuiCvFbkzWpxAymN4XFp t0csYG8f18KbvYjqAQVqt7lTWGx2AvZDG31BxVCoaay/DYsbnkoz7c5YXPXAlINzvPgE wyvJp9ze46WqM5R1P5m3fUkw613eTwLCJ6RH/EjAdDZ/S13Uqd6BznPTVSJyiP2e0hHs 0iUA== MIME-Version: 1.0 X-Received: by 10.68.57.170 with SMTP id j10mr23006351pbq.150.1434645046014; Thu, 18 Jun 2015 09:30:46 -0700 (PDT) Received: by 10.70.44.41 with HTTP; Thu, 18 Jun 2015 09:30:45 -0700 (PDT) Date: Thu, 18 Jun 2015 18:30:45 +0200 Message-ID: Subject: Bug or expected behaviour in 1.0.2 networkmanager / -applet combo From: =?UTF-8?Q?Andreas_M=C3=BCller?= To: networkmanager-list@gnome.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 16:31:04 -0000 Hi, hope this wasn't asked before - found no hints so far: I have updated from 0.9.8.10 -> 1.0.2. A common use case for me is to change wired connection from DHCP to Manual/Fixed ip. When doing so 0.9.8 did unconnect and reconnect automatically after saving connection changes - with 1.0.2 I have to unconnect and reconnect manually. Is this behaviour expected or is it a bug? Andreas From arigead@gmail.com Thu Jun 18 17:08:02 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 179FA76A69 for ; Thu, 18 Jun 2015 17:08:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L6BMVVn2uNa4 for ; Thu, 18 Jun 2015 17:08:00 +0000 (UTC) Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by restaurant.gnome.org (Postfix) with ESMTP id 46E1C76A79 for ; Thu, 18 Jun 2015 17:07:48 +0000 (UTC) Received: by wgbhy7 with SMTP id hy7so69251400wgb.2 for ; Thu, 18 Jun 2015 10:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=Bwg+d6z1CJc13rU2anilfc6SL544bJUXEkrKDyzCnjA=; b=M7KvIvK/OZD5M4vNFBTMjFErf9Uh1j6T76417g3370GqUrW35yBpOv/pgjFe6Sss2J vQVVx3DbF0N5VL6ncXCyfmW6k1OQyaocc6MRGi20VZifj8r49jZhrHvjm5v4pMrqv19D P+oLfyiU7TS8F4jrPq3yTVR4AVXUr7NrE/rc24YItQUglj3gboqCO9x4YzxsKDseAo/k BeE0j6HfJllkIh5nDAD75aQFo03C8pSW4FQ1T6VFa33sDMejMi47bR1LPyOcX22/zekK b1IpWADuT2esGsLJ6BV+u0LdJysyA/NhNvZom8mYIoqZ52rJN2AtlJta9lfo2DnSHX7k 7uJQ== X-Received: by 10.180.187.167 with SMTP id ft7mr2184063wic.26.1434647267322; Thu, 18 Jun 2015 10:07:47 -0700 (PDT) Received: from bamboo.electronicsoup (86-44-189-100-dynamic.agg2.cty.lmk-pgs.eircom.net. [86.44.189.100]) by mx.google.com with ESMTPSA id b20sm13156557wjb.46.2015.06.18.10.07.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jun 2015 10:07:46 -0700 (PDT) Date: Thu, 18 Jun 2015 18:04:19 +0100 From: John Whitmore To: Dan Williams Subject: Re: ZTE MF823 USB Ethernet Dongle on RPi-2/Arch/LXDE Message-ID: <20150618170418.GA6906@bamboo.electronicsoup> References: <20150618090150.GA31535@bamboo.electronicsoup> <1434638104.3294.2.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434638104.3294.2.camel@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 17:08:02 -0000 On Thu, Jun 18, 2015 at 09:35:04AM -0500, Dan Williams wrote: > On Thu, 2015-06-18 at 10:01 +0100, John Whitmore wrote: > > Been on a few times between this list and the ModemManager. I was hoping to > > setup a system where I could build some intelligence behind two USB 4G Dongles > > and jump between connections depending on signal strength. > > > > My second Dongle has stopped that, as it don't report as a Modem device and > > instead uses Ethernet over USB. This all works out of the box on my OpenSUSE > > Laptop but the RPi-2 doesn't work. > > > > On the laptop "usb-devices" is giving me: > > What's the 'lsusb -v -d 19d2:1403' output? > > Dan > In both cases the output is more or less identical except for this diff: john@bamboo:> diff lsusb.txt lsusb_suse.txt 2c2 < Bus 001 Device 008: ID 19d2:1403 ZTE WCDMA Technologies MSM --- > Bus 002 Device 006: ID 19d2:1403 ZTE WCDMA Technologies MSM 7c7 < bDeviceClass 0 --- > bDeviceClass 0 (Defined at Interface level) 75c75 < bInterfaceSubClass 0 --- > bInterfaceSubClass 0 Unused 132c132 < bDeviceClass 0 --- > bDeviceClass 0 (Defined at Interface level) Apart from those few differences it's all the same: Bus 002 Device 006: ID 19d2:1403 ZTE WCDMA Technologies MSM Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x19d2 ZTE WCDMA Technologies MSM idProduct 0x1403 bcdDevice 50.09 iManufacturer 1 ZTE,Incorporated iProduct 2 ZTE Technologies MSM iSerial 3 MF8230ZTED010000CP261718SKYDWQ5II0PESHF3BW707_8C64&&&&&&&&&&&&&0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 98 bNumInterfaces 3 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 500mA Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 224 Wireless bFunctionSubClass 1 Radio Frequency bFunctionProtocol 3 RNDIS iFunction 7 RNDIS Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 2 Communications bInterfaceSubClass 2 Abstract (modem) bInterfaceProtocol 255 Vendor Specific (MSFT RNDIS?) iInterface 5 RNDIS Communications Control CDC Header: bcdCDC 1.10 CDC Call Management: bmCapabilities 0x00 bDataInterface 1 CDC ACM: bmCapabilities 0x00 CDC Union: bMasterInterface 0 bSlaveInterface 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 9 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 6 RNDIS Ethernet Data Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 4 Mass Storage Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 1 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0000 (Bus Powered) From tschaefer@t-online.de Thu Jun 18 17:31:33 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 0DCFD764BC for ; Thu, 18 Jun 2015 17:31:33 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.169 X-Spam-Level: X-Spam-Status: No, score=-2.169 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.269] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pNEcLLKEOMJm for ; Thu, 18 Jun 2015 17:31:31 +0000 (UTC) Received: from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83]) by restaurant.gnome.org (Postfix) with ESMTP id 5AD4E762EB for ; Thu, 18 Jun 2015 17:31:19 +0000 (UTC) Received: from fwd06.aul.t-online.de (fwd06.aul.t-online.de [172.20.26.150]) by mailout07.t-online.de (Postfix) with SMTP id C4D288251E; Thu, 18 Jun 2015 19:31:17 +0200 (CEST) Received: from [10.212.33.55] (Z4hNzGZEYhIAJUAP1dKuNrGZyB-3GB36whzUlGkcn00uKQpUcY8yeYZ3o9dttf4Qqh@[80.187.101.108]) by fwd06.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1Z5den-2O9EeW0; Thu, 18 Jun 2015 19:31:17 +0200 Date: Thu, 18 Jun 2015 19:31:14 +0200 Subject: Re: ZTE MF823 USB Ethernet Dongle on RPi-2/Arch/LXDE Message-ID: X-Android-Message-ID: In-Reply-To: <20150618170418.GA6906@bamboo.electronicsoup> From: tschaefer@t-online.de To: John Whitmore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-ID: Z4hNzGZEYhIAJUAP1dKuNrGZyB-3GB36whzUlGkcn00uKQpUcY8yeYZ3o9dttf4Qqh X-TOI-MSGID: e8ff3ef7-648d-469e-b5b3-b3303c8ab993 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 17:31:33 -0000 V2hpY2ggdmVyc2lvbiBvZiBrZXJuZWwsIHVzYi1tb2Rlc3dpdGNoIGFuZCBtb2RlbW1hbmFnZXIg YXJlIHlvdSB1c2luZyBhdCB5b3VyIHJwaTI/IE5leHQgd2VlayBJIG1heSByZXByb2R1Y2UgeW91 ciBzZXR1cC4gClRoZSB6dGU4MjMgaGFzIHR3byBkaWZmZXJlbnQgRXRoZXJuZXQgcHJvZmlsZXMg MTQwMyBhbmQgMTQwNSwgYm90aCBzaG91bGQgd29yay4KCgpUaG9tYXMKCkFtIDE4LjA2LjIwMTUg NzowNCBuYWNobS4gc2NocmllYiBKb2huIFdoaXRtb3JlIDxhcmlnZWFkQGdtYWlsLmNvbT46Cj4K PiBPbiBUaHUsIEp1biAxOCwgMjAxNSBhdCAwOTozNTowNEFNIC0wNTAwLCBEYW4gV2lsbGlhbXMg d3JvdGU6IAo+ID4gT24gVGh1LCAyMDE1LTA2LTE4IGF0IDEwOjAxICswMTAwLCBKb2huIFdoaXRt b3JlIHdyb3RlOiAKPiA+ID4gQmVlbiBvbiBhIGZldyB0aW1lcyBiZXR3ZWVuIHRoaXMgbGlzdCBh bmQgdGhlIE1vZGVtTWFuYWdlci4gSSB3YXMgaG9waW5nIHRvIAo+ID4gPiBzZXR1cCBhIHN5c3Rl bSB3aGVyZSBJIGNvdWxkIGJ1aWxkIHNvbWUgaW50ZWxsaWdlbmNlIGJlaGluZCB0d28gVVNCIDRH IERvbmdsZXMgCj4gPiA+IGFuZCBqdW1wIGJldHdlZW4gY29ubmVjdGlvbnMgZGVwZW5kaW5nIG9u IHNpZ25hbCBzdHJlbmd0aC4gCj4gPiA+IAo+ID4gPiBNeSBzZWNvbmQgRG9uZ2xlIGhhcyBzdG9w cGVkIHRoYXQsIGFzIGl0IGRvbid0IHJlcG9ydCBhcyBhIE1vZGVtIGRldmljZSBhbmQgCj4gPiA+ IGluc3RlYWQgdXNlcyBFdGhlcm5ldCBvdmVyIFVTQi4gVGhpcyBhbGwgd29ya3Mgb3V0IG9mIHRo ZSBib3ggb24gbXkgT3BlblNVU0UgCj4gPiA+IExhcHRvcCBidXQgdGhlIFJQaS0yIGRvZXNuJ3Qg d29yay4gCj4gPiA+IAo+ID4gPiBPbiB0aGUgbGFwdG9wICJ1c2ItZGV2aWNlcyIgaXMgZ2l2aW5n IG1lOiAKPiA+IAo+ID4gV2hhdCdzIHRoZSAnbHN1c2IgLXYgLWQgMTlkMjoxNDAzJyBvdXRwdXQ/ IAo+ID4gCj4gPiBEYW4gCj4gPiAKPiBJbiBib3RoIGNhc2VzIHRoZSBvdXRwdXQgaXMgbW9yZSBv ciBsZXNzIGlkZW50aWNhbCBleGNlcHQgZm9yIHRoaXMgZGlmZjogCj4KPiBqb2huQGJhbWJvbzo+ IGRpZmYgbHN1c2IudHh0IGxzdXNiX3N1c2UudHh0IAo+IDJjMiAKPiA8IEJ1cyAwMDEgRGV2aWNl IDAwODogSUQgMTlkMjoxNDAzIFpURSBXQ0RNQSBUZWNobm9sb2dpZXMgTVNNIAo+IC0tLSAKPiA+ IEJ1cyAwMDIgRGV2aWNlIDAwNjogSUQgMTlkMjoxNDAzIFpURSBXQ0RNQSBUZWNobm9sb2dpZXMg TVNNIAo+IDdjNyAKPiA8wqDCoCBiRGV2aWNlQ2xhc3PCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDAg Cj4gLS0tIAo+ID7CoMKgIGJEZXZpY2VDbGFzc8KgwqDCoMKgwqDCoMKgwqDCoMKgwqAgMCAoRGVm aW5lZCBhdCBJbnRlcmZhY2UgbGV2ZWwpIAo+IDc1Yzc1IAo+IDzCoMKgwqDCoMKgwqAgYkludGVy ZmFjZVN1YkNsYXNzwqDCoMKgwqDCoCAwIAo+IC0tLSAKPiA+wqDCoMKgwqDCoMKgIGJJbnRlcmZh Y2VTdWJDbGFzc8KgwqDCoMKgwqAgMCBVbnVzZWQgCj4gMTMyYzEzMiAKPiA8wqDCoCBiRGV2aWNl Q2xhc3PCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDAgCj4gLS0tIAo+ID7CoMKgIGJEZXZpY2VDbGFz c8KgwqDCoMKgwqDCoMKgwqDCoMKgwqAgMCAoRGVmaW5lZCBhdCBJbnRlcmZhY2UgbGV2ZWwpIAo+ Cj4KPgo+IEFwYXJ0IGZyb20gdGhvc2UgZmV3IGRpZmZlcmVuY2VzIGl0J3MgYWxsIHRoZSBzYW1l OiAKPgo+Cj4KPiBCdXMgMDAyIERldmljZSAwMDY6IElEIDE5ZDI6MTQwMyBaVEUgV0NETUEgVGVj aG5vbG9naWVzIE1TTSAKPiBEZXZpY2UgRGVzY3JpcHRvcjogCj4gwqAgYkxlbmd0aMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAxOCAKPiDCoCBiRGVzY3JpcHRvclR5cGXCoMKgwqDCoMKg wqDCoMKgIDEgCj4gwqAgYmNkVVNCwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAyLjAwIAo+ IMKgIGJEZXZpY2VDbGFzc8KgwqDCoMKgwqDCoMKgwqDCoMKgwqAgMCAoRGVmaW5lZCBhdCBJbnRl cmZhY2UgbGV2ZWwpIAo+IMKgIGJEZXZpY2VTdWJDbGFzc8KgwqDCoMKgwqDCoMKgwqAgMCAKPiDC oCBiRGV2aWNlUHJvdG9jb2zCoMKgwqDCoMKgwqDCoMKgIDAgCj4gwqAgYk1heFBhY2tldFNpemUw wqDCoMKgwqDCoMKgwqAgNjQgCj4gwqAgaWRWZW5kb3LCoMKgwqDCoMKgwqDCoMKgwqDCoCAweDE5 ZDIgWlRFIFdDRE1BIFRlY2hub2xvZ2llcyBNU00gCj4gwqAgaWRQcm9kdWN0wqDCoMKgwqDCoMKg wqDCoMKgIDB4MTQwMyAKPiDCoCBiY2REZXZpY2XCoMKgwqDCoMKgwqDCoMKgwqDCoCA1MC4wOSAK PiDCoCBpTWFudWZhY3R1cmVywqDCoMKgwqDCoMKgwqDCoMKgwqAgMSBaVEUsSW5jb3Jwb3JhdGVk IAo+IMKgIGlQcm9kdWN0wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDIgWlRFIFRlY2hu b2xvZ2llcyBNU00gCj4gwqAgaVNlcmlhbMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg IDMgTUY4MjMwWlRFRDAxMDAwMENQMjYxNzE4U0tZRFdRNUlJMFBFU0hGM0JXNzA3XzhDNjQmJiYm JiYmJiYmJiYmMCAKPiDCoCBiTnVtQ29uZmlndXJhdGlvbnPCoMKgwqDCoMKgIDEgCj4gwqAgQ29u ZmlndXJhdGlvbiBEZXNjcmlwdG9yOiAKPiDCoMKgwqAgYkxlbmd0aMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgIDkgCj4gwqDCoMKgIGJEZXNjcmlwdG9yVHlwZcKgwqDCoMKgwqDCoMKg wqAgMiAKPiDCoMKgwqAgd1RvdGFsTGVuZ3RowqDCoMKgwqDCoMKgwqDCoMKgwqAgOTggCj4gwqDC oMKgIGJOdW1JbnRlcmZhY2VzwqDCoMKgwqDCoMKgwqDCoMKgIDMgCj4gwqDCoMKgIGJDb25maWd1 cmF0aW9uVmFsdWXCoMKgwqDCoCAxIAo+IMKgwqDCoCBpQ29uZmlndXJhdGlvbsKgwqDCoMKgwqDC oMKgwqDCoCAwIAo+IMKgwqDCoCBibUF0dHJpYnV0ZXPCoMKgwqDCoMKgwqDCoMKgIDB4YTAgCj4g wqDCoMKgwqDCoCAoQnVzIFBvd2VyZWQpIAo+IMKgwqDCoMKgwqAgUmVtb3RlIFdha2V1cCAKPiDC oMKgwqAgTWF4UG93ZXLCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCA1MDBtQSAKPiDCoMKgwqAg SW50ZXJmYWNlIEFzc29jaWF0aW9uOiAKPiDCoMKgwqDCoMKgIGJMZW5ndGjCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoCA4IAo+IMKgwqDCoMKgwqAgYkRlc2NyaXB0b3JUeXBlwqDCoMKg wqDCoMKgwqAgMTEgCj4gwqDCoMKgwqDCoCBiRmlyc3RJbnRlcmZhY2XCoMKgwqDCoMKgwqDCoMKg IDAgCj4gwqDCoMKgwqDCoCBiSW50ZXJmYWNlQ291bnTCoMKgwqDCoMKgwqDCoMKgIDIgCj4gwqDC oMKgwqDCoCBiRnVuY3Rpb25DbGFzc8KgwqDCoMKgwqDCoMKgIDIyNCBXaXJlbGVzcyAKPiDCoMKg wqDCoMKgIGJGdW5jdGlvblN1YkNsYXNzwqDCoMKgwqDCoMKgIDEgUmFkaW8gRnJlcXVlbmN5IAo+ IMKgwqDCoMKgwqAgYkZ1bmN0aW9uUHJvdG9jb2zCoMKgwqDCoMKgwqAgMyBSTkRJUyAKPiDCoMKg wqDCoMKgIGlGdW5jdGlvbsKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgNyBSTkRJUyAKPiDC oMKgwqAgSW50ZXJmYWNlIERlc2NyaXB0b3I6IAo+IMKgwqDCoMKgwqAgYkxlbmd0aMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDkgCj4gwqDCoMKgwqDCoCBiRGVzY3JpcHRvclR5cGXC oMKgwqDCoMKgwqDCoMKgIDQgCj4gwqDCoMKgwqDCoCBiSW50ZXJmYWNlTnVtYmVywqDCoMKgwqDC oMKgwqAgMCAKPiDCoMKgwqDCoMKgIGJBbHRlcm5hdGVTZXR0aW5nwqDCoMKgwqDCoMKgIDAgCj4g wqDCoMKgwqDCoCBiTnVtRW5kcG9pbnRzwqDCoMKgwqDCoMKgwqDCoMKgwqAgMSAKPiDCoMKgwqDC oMKgIGJJbnRlcmZhY2VDbGFzc8KgwqDCoMKgwqDCoMKgwqAgMiBDb21tdW5pY2F0aW9ucyAKPiDC oMKgwqDCoMKgIGJJbnRlcmZhY2VTdWJDbGFzc8KgwqDCoMKgwqAgMiBBYnN0cmFjdCAobW9kZW0p IAo+IMKgwqDCoMKgwqAgYkludGVyZmFjZVByb3RvY29swqDCoMKgIDI1NSBWZW5kb3IgU3BlY2lm aWMgKE1TRlQgUk5ESVM/KSAKPiDCoMKgwqDCoMKgIGlJbnRlcmZhY2XCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoCA1IFJORElTIENvbW11bmljYXRpb25zIENvbnRyb2wgCj4gwqDCoMKgwqDCoCBD REMgSGVhZGVyOiAKPiDCoMKgwqDCoMKgwqDCoCBiY2RDREPCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgIDEuMTAgCj4gwqDCoMKgwqDCoCBDREMgQ2FsbCBNYW5hZ2VtZW50OiAKPiDCoMKgwqDC oMKgwqDCoCBibUNhcGFiaWxpdGllc8KgwqDCoMKgwqDCoCAweDAwIAo+IMKgwqDCoMKgwqDCoMKg IGJEYXRhSW50ZXJmYWNlwqDCoMKgwqDCoMKgwqDCoMKgIDEgCj4gwqDCoMKgwqDCoCBDREMgQUNN OiAKPiDCoMKgwqDCoMKgwqDCoCBibUNhcGFiaWxpdGllc8KgwqDCoMKgwqDCoCAweDAwIAo+IMKg wqDCoMKgwqAgQ0RDIFVuaW9uOiAKPiDCoMKgwqDCoMKgwqDCoCBiTWFzdGVySW50ZXJmYWNlwqDC oMKgwqDCoMKgwqAgMCAKPiDCoMKgwqDCoMKgwqDCoCBiU2xhdmVJbnRlcmZhY2XCoMKgwqDCoMKg wqDCoMKgIDEgCj4gwqDCoMKgwqDCoCBFbmRwb2ludCBEZXNjcmlwdG9yOiAKPiDCoMKgwqDCoMKg wqDCoCBiTGVuZ3RowqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgNyAKPiDCoMKgwqDC oMKgwqDCoCBiRGVzY3JpcHRvclR5cGXCoMKgwqDCoMKgwqDCoMKgIDUgCj4gwqDCoMKgwqDCoMKg wqAgYkVuZHBvaW50QWRkcmVzc8KgwqDCoMKgIDB4ODLCoCBFUCAyIElOIAo+IMKgwqDCoMKgwqDC oMKgIGJtQXR0cmlidXRlc8KgwqDCoMKgwqDCoMKgwqDCoMKgwqAgMyAKPiDCoMKgwqDCoMKgwqDC oMKgwqAgVHJhbnNmZXIgVHlwZcKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgSW50ZXJydXB0IAo+IMKg wqDCoMKgwqDCoMKgwqDCoCBTeW5jaCBUeXBlwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCBO b25lIAo+IMKgwqDCoMKgwqDCoMKgwqDCoCBVc2FnZSBUeXBlwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoCBEYXRhIAo+IMKgwqDCoMKgwqDCoMKgIHdNYXhQYWNrZXRTaXplwqDCoMKgwqAgMHgw MDA4wqAgMXggOCBieXRlcyAKPiDCoMKgwqDCoMKgwqDCoCBiSW50ZXJ2YWzCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgIDkgCj4gwqDCoMKgIEludGVyZmFjZSBEZXNjcmlwdG9yOiAKPiDCoMKg wqDCoMKgIGJMZW5ndGjCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCA5IAo+IMKgwqDC oMKgwqAgYkRlc2NyaXB0b3JUeXBlwqDCoMKgwqDCoMKgwqDCoCA0IAo+IMKgwqDCoMKgwqAgYklu dGVyZmFjZU51bWJlcsKgwqDCoMKgwqDCoMKgIDEgCj4gwqDCoMKgwqDCoCBiQWx0ZXJuYXRlU2V0 dGluZ8KgwqDCoMKgwqDCoCAwIAo+IMKgwqDCoMKgwqAgYk51bUVuZHBvaW50c8KgwqDCoMKgwqDC oMKgwqDCoMKgIDIgCj4gwqDCoMKgwqDCoCBiSW50ZXJmYWNlQ2xhc3PCoMKgwqDCoMKgwqDCoCAx MCBDREMgRGF0YSAKPiDCoMKgwqDCoMKgIGJJbnRlcmZhY2VTdWJDbGFzc8KgwqDCoMKgwqAgMCBV bnVzZWQgCj4gwqDCoMKgwqDCoCBiSW50ZXJmYWNlUHJvdG9jb2zCoMKgwqDCoMKgIDAgCj4gwqDC oMKgwqDCoCBpSW50ZXJmYWNlwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgNiBSTkRJUyBFdGhl cm5ldCBEYXRhIAo+IMKgwqDCoMKgwqAgRW5kcG9pbnQgRGVzY3JpcHRvcjogCj4gwqDCoMKgwqDC oMKgwqAgYkxlbmd0aMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDcgCj4gwqDCoMKg wqDCoMKgwqAgYkRlc2NyaXB0b3JUeXBlwqDCoMKgwqDCoMKgwqDCoCA1IAo+IMKgwqDCoMKgwqDC oMKgIGJFbmRwb2ludEFkZHJlc3PCoMKgwqDCoCAweDgxwqAgRVAgMSBJTiAKPiDCoMKgwqDCoMKg wqDCoCBibUF0dHJpYnV0ZXPCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDIgCj4gwqDCoMKgwqDCoMKg wqDCoMKgIFRyYW5zZmVyIFR5cGXCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIEJ1bGsgCj4gwqDCoMKg wqDCoMKgwqDCoMKgIFN5bmNoIFR5cGXCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIE5vbmUg Cj4gwqDCoMKgwqDCoMKgwqDCoMKgIFVzYWdlIFR5cGXCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgIERhdGEgCj4gwqDCoMKgwqDCoMKgwqAgd01heFBhY2tldFNpemXCoMKgwqDCoCAweDAyMDDC oCAxeCA1MTIgYnl0ZXMgCj4gwqDCoMKgwqDCoMKgwqAgYkludGVydmFswqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoCAwIAo+IMKgwqDCoMKgwqAgRW5kcG9pbnQgRGVzY3JpcHRvcjogCj4gwqDC oMKgwqDCoMKgwqAgYkxlbmd0aMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDcgCj4g wqDCoMKgwqDCoMKgwqAgYkRlc2NyaXB0b3JUeXBlwqDCoMKgwqDCoMKgwqDCoCA1IAo+IMKgwqDC oMKgwqDCoMKgIGJFbmRwb2ludEFkZHJlc3PCoMKgwqDCoCAweDAxwqAgRVAgMSBPVVQgCj4gwqDC oMKgwqDCoMKgwqAgYm1BdHRyaWJ1dGVzwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAyIAo+IMKgwqDC oMKgwqDCoMKgwqDCoCBUcmFuc2ZlciBUeXBlwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCBCdWxrIAo+ IMKgwqDCoMKgwqDCoMKgwqDCoCBTeW5jaCBUeXBlwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oCBOb25lIAo+IMKgwqDCoMKgwqDCoMKgwqDCoCBVc2FnZSBUeXBlwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoCBEYXRhIAo+IMKgwqDCoMKgwqDCoMKgIHdNYXhQYWNrZXRTaXplwqDCoMKgwqAg MHgwMjAwwqAgMXggNTEyIGJ5dGVzIAo+IMKgwqDCoMKgwqDCoMKgIGJJbnRlcnZhbMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqAgMCAKPiDCoMKgwqAgSW50ZXJmYWNlIERlc2NyaXB0b3I6IAo+ IMKgwqDCoMKgwqAgYkxlbmd0aMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDkgCj4g wqDCoMKgwqDCoCBiRGVzY3JpcHRvclR5cGXCoMKgwqDCoMKgwqDCoMKgIDQgCj4gwqDCoMKgwqDC oCBiSW50ZXJmYWNlTnVtYmVywqDCoMKgwqDCoMKgwqAgMiAKPiDCoMKgwqDCoMKgIGJBbHRlcm5h dGVTZXR0aW5nwqDCoMKgwqDCoMKgIDAgCj4gwqDCoMKgwqDCoCBiTnVtRW5kcG9pbnRzwqDCoMKg wqDCoMKgwqDCoMKgwqAgMiAKPiDCoMKgwqDCoMKgIGJJbnRlcmZhY2VDbGFzc8KgwqDCoMKgwqDC oMKgwqAgOCBNYXNzIFN0b3JhZ2UgCj4gwqDCoMKgwqDCoCBiSW50ZXJmYWNlU3ViQ2xhc3PCoMKg wqDCoMKgIDYgU0NTSSAKPiDCoMKgwqDCoMKgIGJJbnRlcmZhY2VQcm90b2NvbMKgwqDCoMKgIDgw IEJ1bGstT25seSAKPiDCoMKgwqDCoMKgIGlJbnRlcmZhY2XCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoCA0IE1hc3MgU3RvcmFnZSAKPiDCoMKgwqDCoMKgIEVuZHBvaW50IERlc2NyaXB0b3I6IAo+ IMKgwqDCoMKgwqDCoMKgIGJMZW5ndGjCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCA3 IAo+IMKgwqDCoMKgwqDCoMKgIGJEZXNjcmlwdG9yVHlwZcKgwqDCoMKgwqDCoMKgwqAgNSAKPiDC oMKgwqDCoMKgwqDCoCBiRW5kcG9pbnRBZGRyZXNzwqDCoMKgwqAgMHg4M8KgIEVQIDMgSU4gCj4g wqDCoMKgwqDCoMKgwqAgYm1BdHRyaWJ1dGVzwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAyIAo+IMKg wqDCoMKgwqDCoMKgwqDCoCBUcmFuc2ZlciBUeXBlwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCBCdWxr IAo+IMKgwqDCoMKgwqDCoMKgwqDCoCBTeW5jaCBUeXBlwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoCBOb25lIAo+IMKgwqDCoMKgwqDCoMKgwqDCoCBVc2FnZSBUeXBlwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoCBEYXRhIAo+IMKgwqDCoMKgwqDCoMKgIHdNYXhQYWNrZXRTaXplwqDCoMKg wqAgMHgwMjAwwqAgMXggNTEyIGJ5dGVzIAo+IMKgwqDCoMKgwqDCoMKgIGJJbnRlcnZhbMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgMCAKPiDCoMKgwqDCoMKgIEVuZHBvaW50IERlc2NyaXB0 b3I6IAo+IMKgwqDCoMKgwqDCoMKgIGJMZW5ndGjCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoCA3IAo+IMKgwqDCoMKgwqDCoMKgIGJEZXNjcmlwdG9yVHlwZcKgwqDCoMKgwqDCoMKgwqAg NSAKPiDCoMKgwqDCoMKgwqDCoCBiRW5kcG9pbnRBZGRyZXNzwqDCoMKgwqAgMHgwMsKgIEVQIDIg T1VUIAo+IMKgwqDCoMKgwqDCoMKgIGJtQXR0cmlidXRlc8KgwqDCoMKgwqDCoMKgwqDCoMKgwqAg MiAKPiDCoMKgwqDCoMKgwqDCoMKgwqAgVHJhbnNmZXIgVHlwZcKgwqDCoMKgwqDCoMKgwqDCoMKg wqAgQnVsayAKPiDCoMKgwqDCoMKgwqDCoMKgwqAgU3luY2ggVHlwZcKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqAgTm9uZSAKPiDCoMKgwqDCoMKgwqDCoMKgwqAgVXNhZ2UgVHlwZcKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqAgRGF0YSAKPiDCoMKgwqDCoMKgwqDCoCB3TWF4UGFja2V0U2l6 ZcKgwqDCoMKgIDB4MDIwMMKgIDF4IDUxMiBieXRlcyAKPiDCoMKgwqDCoMKgwqDCoCBiSW50ZXJ2 YWzCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDEgCj4gRGV2aWNlIFF1YWxpZmllciAoZm9y IG90aGVyIGRldmljZSBzcGVlZCk6IAo+IMKgIGJMZW5ndGjCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqAgMTAgCj4gwqAgYkRlc2NyaXB0b3JUeXBlwqDCoMKgwqDCoMKgwqDCoCA2IAo+IMKg IGJjZFVTQsKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgMi4wMCAKPiDCoCBiRGV2aWNlQ2xh c3PCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDAgKERlZmluZWQgYXQgSW50ZXJmYWNlIGxldmVsKSAK PiDCoCBiRGV2aWNlU3ViQ2xhc3PCoMKgwqDCoMKgwqDCoMKgIDAgCj4gwqAgYkRldmljZVByb3Rv Y29swqDCoMKgwqDCoMKgwqDCoCAwIAo+IMKgIGJNYXhQYWNrZXRTaXplMMKgwqDCoMKgwqDCoMKg IDY0IAo+IMKgIGJOdW1Db25maWd1cmF0aW9uc8KgwqDCoMKgwqAgMSAKPiBEZXZpY2UgU3RhdHVz OsKgwqDCoMKgIDB4MDAwMCAKPiDCoCAoQnVzIFBvd2VyZWQpIAo+IF9fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fIAo+IG5ldHdvcmttYW5hZ2VyLWxpc3QgbWFp bGluZyBsaXN0IAo+IG5ldHdvcmttYW5hZ2VyLWxpc3RAZ25vbWUub3JnIAo+IGh0dHBzOi8vbWFp bC5nbm9tZS5vcmcvbWFpbG1hbi9saXN0aW5mby9uZXR3b3JrbWFuYWdlci1saXN0IAo= From tschaefer@t-online.de Thu Jun 18 17:38:57 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id D3A0D76A9B for ; Thu, 18 Jun 2015 17:38:57 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.169 X-Spam-Level: X-Spam-Status: No, score=-2.169 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.269] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VGl4lXn6ZIyY for ; Thu, 18 Jun 2015 17:38:55 +0000 (UTC) Received: from mailout09.t-online.de (mailout09.t-online.de [194.25.134.84]) by restaurant.gnome.org (Postfix) with ESMTP id 2F2AF762EB for ; Thu, 18 Jun 2015 17:38:44 +0000 (UTC) Received: from fwd14.aul.t-online.de (fwd14.aul.t-online.de [172.20.26.242]) by mailout09.t-online.de (Postfix) with SMTP id 9A739552C03; Thu, 18 Jun 2015 19:38:42 +0200 (CEST) Received: from [10.212.33.55] (XHzQXGZGrheDZV1WXsQrRjlT9xNwW8ytA3oVQXRMkAvjJlX4yOBYdu9jOdRNdF5ZxK@[80.187.101.108]) by fwd14.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1Z5dlk-2TJ2X20; Thu, 18 Jun 2015 19:38:28 +0200 Date: Thu, 18 Jun 2015 19:38:24 +0200 Subject: Re: ZTE MF823 USB Ethernet Dongle on RPi-2/Arch/LXDE Message-ID: <50e8eaf6-6f7c-47e6-8478-5c71e24368a7@email.android.com> X-Android-Message-ID: <50e8eaf6-6f7c-47e6-8478-5c71e24368a7@email.android.com> In-Reply-To: <20150618170418.GA6906@bamboo.electronicsoup> From: tschaefer@t-online.de To: John Whitmore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-ID: XHzQXGZGrheDZV1WXsQrRjlT9xNwW8ytA3oVQXRMkAvjJlX4yOBYdu9jOdRNdF5ZxK X-TOI-MSGID: e18747cc-baa5-4509-8b6c-c1709843e6e8 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 17:38:57 -0000 Rm9yZ2V0IHRoZSBtbSwgSSB0aGluayBpbiB0aGlzIGNhc2Ugb25seSBubSBpcyBpbnZvbHZlZC4g T3IgZG8ganVzdCBhIHNpbXBsZSBkaGNsaWVudCB0byB0aGUgaW50ZXJmYWNlLgoKQW0gMTguMDYu MjAxNSA3OjA0IG5hY2htLiBzY2hyaWViIEpvaG4gV2hpdG1vcmUgPGFyaWdlYWRAZ21haWwuY29t PjoKPgo+IE9uIFRodSwgSnVuIDE4LCAyMDE1IGF0IDA5OjM1OjA0QU0gLTA1MDAsIERhbiBXaWxs aWFtcyB3cm90ZTogCj4gPiBPbiBUaHUsIDIwMTUtMDYtMTggYXQgMTA6MDEgKzAxMDAsIEpvaG4g V2hpdG1vcmUgd3JvdGU6IAo+ID4gPiBCZWVuIG9uIGEgZmV3IHRpbWVzIGJldHdlZW4gdGhpcyBs aXN0IGFuZCB0aGUgTW9kZW1NYW5hZ2VyLiBJIHdhcyBob3BpbmcgdG8gCj4gPiA+IHNldHVwIGEg c3lzdGVtIHdoZXJlIEkgY291bGQgYnVpbGQgc29tZSBpbnRlbGxpZ2VuY2UgYmVoaW5kIHR3byBV U0IgNEcgRG9uZ2xlcyAKPiA+ID4gYW5kIGp1bXAgYmV0d2VlbiBjb25uZWN0aW9ucyBkZXBlbmRp bmcgb24gc2lnbmFsIHN0cmVuZ3RoLiAKPiA+ID4gCj4gPiA+IE15IHNlY29uZCBEb25nbGUgaGFz IHN0b3BwZWQgdGhhdCwgYXMgaXQgZG9uJ3QgcmVwb3J0IGFzIGEgTW9kZW0gZGV2aWNlIGFuZCAK PiA+ID4gaW5zdGVhZCB1c2VzIEV0aGVybmV0IG92ZXIgVVNCLiBUaGlzIGFsbCB3b3JrcyBvdXQg b2YgdGhlIGJveCBvbiBteSBPcGVuU1VTRSAKPiA+ID4gTGFwdG9wIGJ1dCB0aGUgUlBpLTIgZG9l c24ndCB3b3JrLiAKPiA+ID4gCj4gPiA+IE9uIHRoZSBsYXB0b3AgInVzYi1kZXZpY2VzIiBpcyBn aXZpbmcgbWU6IAo+ID4gCj4gPiBXaGF0J3MgdGhlICdsc3VzYiAtdiAtZCAxOWQyOjE0MDMnIG91 dHB1dD8gCj4gPiAKPiA+IERhbiAKPiA+IAo+IEluIGJvdGggY2FzZXMgdGhlIG91dHB1dCBpcyBt b3JlIG9yIGxlc3MgaWRlbnRpY2FsIGV4Y2VwdCBmb3IgdGhpcyBkaWZmOiAKPgo+IGpvaG5AYmFt Ym9vOj4gZGlmZiBsc3VzYi50eHQgbHN1c2Jfc3VzZS50eHQgCj4gMmMyIAo+IDwgQnVzIDAwMSBE ZXZpY2UgMDA4OiBJRCAxOWQyOjE0MDMgWlRFIFdDRE1BIFRlY2hub2xvZ2llcyBNU00gCj4gLS0t IAo+ID4gQnVzIDAwMiBEZXZpY2UgMDA2OiBJRCAxOWQyOjE0MDMgWlRFIFdDRE1BIFRlY2hub2xv Z2llcyBNU00gCj4gN2M3IAo+IDzCoMKgIGJEZXZpY2VDbGFzc8KgwqDCoMKgwqDCoMKgwqDCoMKg wqAgMCAKPiAtLS0gCj4gPsKgwqAgYkRldmljZUNsYXNzwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAw IChEZWZpbmVkIGF0IEludGVyZmFjZSBsZXZlbCkgCj4gNzVjNzUgCj4gPMKgwqDCoMKgwqDCoCBi SW50ZXJmYWNlU3ViQ2xhc3PCoMKgwqDCoMKgIDAgCj4gLS0tIAo+ID7CoMKgwqDCoMKgwqAgYklu dGVyZmFjZVN1YkNsYXNzwqDCoMKgwqDCoCAwIFVudXNlZCAKPiAxMzJjMTMyIAo+IDzCoMKgIGJE ZXZpY2VDbGFzc8KgwqDCoMKgwqDCoMKgwqDCoMKgwqAgMCAKPiAtLS0gCj4gPsKgwqAgYkRldmlj ZUNsYXNzwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAwIChEZWZpbmVkIGF0IEludGVyZmFjZSBsZXZl bCkgCj4KPgo+Cj4gQXBhcnQgZnJvbSB0aG9zZSBmZXcgZGlmZmVyZW5jZXMgaXQncyBhbGwgdGhl IHNhbWU6IAo+Cj4KPgo+IEJ1cyAwMDIgRGV2aWNlIDAwNjogSUQgMTlkMjoxNDAzIFpURSBXQ0RN QSBUZWNobm9sb2dpZXMgTVNNIAo+IERldmljZSBEZXNjcmlwdG9yOiAKPiDCoCBiTGVuZ3RowqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDE4IAo+IMKgIGJEZXNjcmlwdG9yVHlwZcKgwqDC oMKgwqDCoMKgwqAgMSAKPiDCoCBiY2RVU0LCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDIu MDAgCj4gwqAgYkRldmljZUNsYXNzwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAwIChEZWZpbmVkIGF0 IEludGVyZmFjZSBsZXZlbCkgCj4gwqAgYkRldmljZVN1YkNsYXNzwqDCoMKgwqDCoMKgwqDCoCAw IAo+IMKgIGJEZXZpY2VQcm90b2NvbMKgwqDCoMKgwqDCoMKgwqAgMCAKPiDCoCBiTWF4UGFja2V0 U2l6ZTDCoMKgwqDCoMKgwqDCoCA2NCAKPiDCoCBpZFZlbmRvcsKgwqDCoMKgwqDCoMKgwqDCoMKg IDB4MTlkMiBaVEUgV0NETUEgVGVjaG5vbG9naWVzIE1TTSAKPiDCoCBpZFByb2R1Y3TCoMKgwqDC oMKgwqDCoMKgwqAgMHgxNDAzIAo+IMKgIGJjZERldmljZcKgwqDCoMKgwqDCoMKgwqDCoMKgIDUw LjA5IAo+IMKgIGlNYW51ZmFjdHVyZXLCoMKgwqDCoMKgwqDCoMKgwqDCoCAxIFpURSxJbmNvcnBv cmF0ZWQgCj4gwqAgaVByb2R1Y3TCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgMiBaVEUg VGVjaG5vbG9naWVzIE1TTSAKPiDCoCBpU2VyaWFswqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqAgMyBNRjgyMzBaVEVEMDEwMDAwQ1AyNjE3MThTS1lEV1E1SUkwUEVTSEYzQlc3MDdfOEM2 NCYmJiYmJiYmJiYmJiYwIAo+IMKgIGJOdW1Db25maWd1cmF0aW9uc8KgwqDCoMKgwqAgMSAKPiDC oCBDb25maWd1cmF0aW9uIERlc2NyaXB0b3I6IAo+IMKgwqDCoCBiTGVuZ3RowqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqAgOSAKPiDCoMKgwqAgYkRlc2NyaXB0b3JUeXBlwqDCoMKgwqDC oMKgwqDCoCAyIAo+IMKgwqDCoCB3VG90YWxMZW5ndGjCoMKgwqDCoMKgwqDCoMKgwqDCoCA5OCAK PiDCoMKgwqAgYk51bUludGVyZmFjZXPCoMKgwqDCoMKgwqDCoMKgwqAgMyAKPiDCoMKgwqAgYkNv bmZpZ3VyYXRpb25WYWx1ZcKgwqDCoMKgIDEgCj4gwqDCoMKgIGlDb25maWd1cmF0aW9uwqDCoMKg wqDCoMKgwqDCoMKgIDAgCj4gwqDCoMKgIGJtQXR0cmlidXRlc8KgwqDCoMKgwqDCoMKgwqAgMHhh MCAKPiDCoMKgwqDCoMKgIChCdXMgUG93ZXJlZCkgCj4gwqDCoMKgwqDCoCBSZW1vdGUgV2FrZXVw IAo+IMKgwqDCoCBNYXhQb3dlcsKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDUwMG1BIAo+IMKg wqDCoCBJbnRlcmZhY2UgQXNzb2NpYXRpb246IAo+IMKgwqDCoMKgwqAgYkxlbmd0aMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDggCj4gwqDCoMKgwqDCoCBiRGVzY3JpcHRvclR5cGXC oMKgwqDCoMKgwqDCoCAxMSAKPiDCoMKgwqDCoMKgIGJGaXJzdEludGVyZmFjZcKgwqDCoMKgwqDC oMKgwqAgMCAKPiDCoMKgwqDCoMKgIGJJbnRlcmZhY2VDb3VudMKgwqDCoMKgwqDCoMKgwqAgMiAK PiDCoMKgwqDCoMKgIGJGdW5jdGlvbkNsYXNzwqDCoMKgwqDCoMKgwqAgMjI0IFdpcmVsZXNzIAo+ IMKgwqDCoMKgwqAgYkZ1bmN0aW9uU3ViQ2xhc3PCoMKgwqDCoMKgwqAgMSBSYWRpbyBGcmVxdWVu Y3kgCj4gwqDCoMKgwqDCoCBiRnVuY3Rpb25Qcm90b2NvbMKgwqDCoMKgwqDCoCAzIFJORElTIAo+ IMKgwqDCoMKgwqAgaUZ1bmN0aW9uwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCA3IFJORElT IAo+IMKgwqDCoCBJbnRlcmZhY2UgRGVzY3JpcHRvcjogCj4gwqDCoMKgwqDCoCBiTGVuZ3RowqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgOSAKPiDCoMKgwqDCoMKgIGJEZXNjcmlwdG9y VHlwZcKgwqDCoMKgwqDCoMKgwqAgNCAKPiDCoMKgwqDCoMKgIGJJbnRlcmZhY2VOdW1iZXLCoMKg wqDCoMKgwqDCoCAwIAo+IMKgwqDCoMKgwqAgYkFsdGVybmF0ZVNldHRpbmfCoMKgwqDCoMKgwqAg MCAKPiDCoMKgwqDCoMKgIGJOdW1FbmRwb2ludHPCoMKgwqDCoMKgwqDCoMKgwqDCoCAxIAo+IMKg wqDCoMKgwqAgYkludGVyZmFjZUNsYXNzwqDCoMKgwqDCoMKgwqDCoCAyIENvbW11bmljYXRpb25z IAo+IMKgwqDCoMKgwqAgYkludGVyZmFjZVN1YkNsYXNzwqDCoMKgwqDCoCAyIEFic3RyYWN0ICht b2RlbSkgCj4gwqDCoMKgwqDCoCBiSW50ZXJmYWNlUHJvdG9jb2zCoMKgwqAgMjU1IFZlbmRvciBT cGVjaWZpYyAoTVNGVCBSTkRJUz8pIAo+IMKgwqDCoMKgwqAgaUludGVyZmFjZcKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgIDUgUk5ESVMgQ29tbXVuaWNhdGlvbnMgQ29udHJvbCAKPiDCoMKgwqDC oMKgIENEQyBIZWFkZXI6IAo+IMKgwqDCoMKgwqDCoMKgIGJjZENEQ8KgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqAgMS4xMCAKPiDCoMKgwqDCoMKgIENEQyBDYWxsIE1hbmFnZW1lbnQ6IAo+IMKg wqDCoMKgwqDCoMKgIGJtQ2FwYWJpbGl0aWVzwqDCoMKgwqDCoMKgIDB4MDAgCj4gwqDCoMKgwqDC oMKgwqAgYkRhdGFJbnRlcmZhY2XCoMKgwqDCoMKgwqDCoMKgwqAgMSAKPiDCoMKgwqDCoMKgIENE QyBBQ006IAo+IMKgwqDCoMKgwqDCoMKgIGJtQ2FwYWJpbGl0aWVzwqDCoMKgwqDCoMKgIDB4MDAg Cj4gwqDCoMKgwqDCoCBDREMgVW5pb246IAo+IMKgwqDCoMKgwqDCoMKgIGJNYXN0ZXJJbnRlcmZh Y2XCoMKgwqDCoMKgwqDCoCAwIAo+IMKgwqDCoMKgwqDCoMKgIGJTbGF2ZUludGVyZmFjZcKgwqDC oMKgwqDCoMKgwqAgMSAKPiDCoMKgwqDCoMKgIEVuZHBvaW50IERlc2NyaXB0b3I6IAo+IMKgwqDC oMKgwqDCoMKgIGJMZW5ndGjCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCA3IAo+IMKg wqDCoMKgwqDCoMKgIGJEZXNjcmlwdG9yVHlwZcKgwqDCoMKgwqDCoMKgwqAgNSAKPiDCoMKgwqDC oMKgwqDCoCBiRW5kcG9pbnRBZGRyZXNzwqDCoMKgwqAgMHg4MsKgIEVQIDIgSU4gCj4gwqDCoMKg wqDCoMKgwqAgYm1BdHRyaWJ1dGVzwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAzIAo+IMKgwqDCoMKg wqDCoMKgwqDCoCBUcmFuc2ZlciBUeXBlwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCBJbnRlcnJ1cHQg Cj4gwqDCoMKgwqDCoMKgwqDCoMKgIFN5bmNoIFR5cGXCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgIE5vbmUgCj4gwqDCoMKgwqDCoMKgwqDCoMKgIFVzYWdlIFR5cGXCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgIERhdGEgCj4gwqDCoMKgwqDCoMKgwqAgd01heFBhY2tldFNpemXCoMKgwqDC oCAweDAwMDjCoCAxeCA4IGJ5dGVzIAo+IMKgwqDCoMKgwqDCoMKgIGJJbnRlcnZhbMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqAgOSAKPiDCoMKgwqAgSW50ZXJmYWNlIERlc2NyaXB0b3I6IAo+ IMKgwqDCoMKgwqAgYkxlbmd0aMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDkgCj4g wqDCoMKgwqDCoCBiRGVzY3JpcHRvclR5cGXCoMKgwqDCoMKgwqDCoMKgIDQgCj4gwqDCoMKgwqDC oCBiSW50ZXJmYWNlTnVtYmVywqDCoMKgwqDCoMKgwqAgMSAKPiDCoMKgwqDCoMKgIGJBbHRlcm5h dGVTZXR0aW5nwqDCoMKgwqDCoMKgIDAgCj4gwqDCoMKgwqDCoCBiTnVtRW5kcG9pbnRzwqDCoMKg wqDCoMKgwqDCoMKgwqAgMiAKPiDCoMKgwqDCoMKgIGJJbnRlcmZhY2VDbGFzc8KgwqDCoMKgwqDC oMKgIDEwIENEQyBEYXRhIAo+IMKgwqDCoMKgwqAgYkludGVyZmFjZVN1YkNsYXNzwqDCoMKgwqDC oCAwIFVudXNlZCAKPiDCoMKgwqDCoMKgIGJJbnRlcmZhY2VQcm90b2NvbMKgwqDCoMKgwqAgMCAK PiDCoMKgwqDCoMKgIGlJbnRlcmZhY2XCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCA2IFJORElT IEV0aGVybmV0IERhdGEgCj4gwqDCoMKgwqDCoCBFbmRwb2ludCBEZXNjcmlwdG9yOiAKPiDCoMKg wqDCoMKgwqDCoCBiTGVuZ3RowqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgNyAKPiDC oMKgwqDCoMKgwqDCoCBiRGVzY3JpcHRvclR5cGXCoMKgwqDCoMKgwqDCoMKgIDUgCj4gwqDCoMKg wqDCoMKgwqAgYkVuZHBvaW50QWRkcmVzc8KgwqDCoMKgIDB4ODHCoCBFUCAxIElOIAo+IMKgwqDC oMKgwqDCoMKgIGJtQXR0cmlidXRlc8KgwqDCoMKgwqDCoMKgwqDCoMKgwqAgMiAKPiDCoMKgwqDC oMKgwqDCoMKgwqAgVHJhbnNmZXIgVHlwZcKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgQnVsayAKPiDC oMKgwqDCoMKgwqDCoMKgwqAgU3luY2ggVHlwZcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAg Tm9uZSAKPiDCoMKgwqDCoMKgwqDCoMKgwqAgVXNhZ2UgVHlwZcKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqAgRGF0YSAKPiDCoMKgwqDCoMKgwqDCoCB3TWF4UGFja2V0U2l6ZcKgwqDCoMKgIDB4 MDIwMMKgIDF4IDUxMiBieXRlcyAKPiDCoMKgwqDCoMKgwqDCoCBiSW50ZXJ2YWzCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgIDAgCj4gwqDCoMKgwqDCoCBFbmRwb2ludCBEZXNjcmlwdG9yOiAK PiDCoMKgwqDCoMKgwqDCoCBiTGVuZ3RowqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAg NyAKPiDCoMKgwqDCoMKgwqDCoCBiRGVzY3JpcHRvclR5cGXCoMKgwqDCoMKgwqDCoMKgIDUgCj4g wqDCoMKgwqDCoMKgwqAgYkVuZHBvaW50QWRkcmVzc8KgwqDCoMKgIDB4MDHCoCBFUCAxIE9VVCAK PiDCoMKgwqDCoMKgwqDCoCBibUF0dHJpYnV0ZXPCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDIgCj4g wqDCoMKgwqDCoMKgwqDCoMKgIFRyYW5zZmVyIFR5cGXCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIEJ1 bGsgCj4gwqDCoMKgwqDCoMKgwqDCoMKgIFN5bmNoIFR5cGXCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgIE5vbmUgCj4gwqDCoMKgwqDCoMKgwqDCoMKgIFVzYWdlIFR5cGXCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgIERhdGEgCj4gwqDCoMKgwqDCoMKgwqAgd01heFBhY2tldFNpemXCoMKg wqDCoCAweDAyMDDCoCAxeCA1MTIgYnl0ZXMgCj4gwqDCoMKgwqDCoMKgwqAgYkludGVydmFswqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAwIAo+IMKgwqDCoCBJbnRlcmZhY2UgRGVzY3JpcHRv cjogCj4gwqDCoMKgwqDCoCBiTGVuZ3RowqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAg OSAKPiDCoMKgwqDCoMKgIGJEZXNjcmlwdG9yVHlwZcKgwqDCoMKgwqDCoMKgwqAgNCAKPiDCoMKg wqDCoMKgIGJJbnRlcmZhY2VOdW1iZXLCoMKgwqDCoMKgwqDCoCAyIAo+IMKgwqDCoMKgwqAgYkFs dGVybmF0ZVNldHRpbmfCoMKgwqDCoMKgwqAgMCAKPiDCoMKgwqDCoMKgIGJOdW1FbmRwb2ludHPC oMKgwqDCoMKgwqDCoMKgwqDCoCAyIAo+IMKgwqDCoMKgwqAgYkludGVyZmFjZUNsYXNzwqDCoMKg wqDCoMKgwqDCoCA4IE1hc3MgU3RvcmFnZSAKPiDCoMKgwqDCoMKgIGJJbnRlcmZhY2VTdWJDbGFz c8KgwqDCoMKgwqAgNiBTQ1NJIAo+IMKgwqDCoMKgwqAgYkludGVyZmFjZVByb3RvY29swqDCoMKg wqAgODAgQnVsay1Pbmx5IAo+IMKgwqDCoMKgwqAgaUludGVyZmFjZcKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgIDQgTWFzcyBTdG9yYWdlIAo+IMKgwqDCoMKgwqAgRW5kcG9pbnQgRGVzY3JpcHRv cjogCj4gwqDCoMKgwqDCoMKgwqAgYkxlbmd0aMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgIDcgCj4gwqDCoMKgwqDCoMKgwqAgYkRlc2NyaXB0b3JUeXBlwqDCoMKgwqDCoMKgwqDCoCA1 IAo+IMKgwqDCoMKgwqDCoMKgIGJFbmRwb2ludEFkZHJlc3PCoMKgwqDCoCAweDgzwqAgRVAgMyBJ TiAKPiDCoMKgwqDCoMKgwqDCoCBibUF0dHJpYnV0ZXPCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDIg Cj4gwqDCoMKgwqDCoMKgwqDCoMKgIFRyYW5zZmVyIFR5cGXCoMKgwqDCoMKgwqDCoMKgwqDCoMKg IEJ1bGsgCj4gwqDCoMKgwqDCoMKgwqDCoMKgIFN5bmNoIFR5cGXCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgIE5vbmUgCj4gwqDCoMKgwqDCoMKgwqDCoMKgIFVzYWdlIFR5cGXCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgIERhdGEgCj4gwqDCoMKgwqDCoMKgwqAgd01heFBhY2tldFNpemXC oMKgwqDCoCAweDAyMDDCoCAxeCA1MTIgYnl0ZXMgCj4gwqDCoMKgwqDCoMKgwqAgYkludGVydmFs wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAwIAo+IMKgwqDCoMKgwqAgRW5kcG9pbnQgRGVz Y3JpcHRvcjogCj4gwqDCoMKgwqDCoMKgwqAgYkxlbmd0aMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgIDcgCj4gwqDCoMKgwqDCoMKgwqAgYkRlc2NyaXB0b3JUeXBlwqDCoMKgwqDCoMKg wqDCoCA1IAo+IMKgwqDCoMKgwqDCoMKgIGJFbmRwb2ludEFkZHJlc3PCoMKgwqDCoCAweDAywqAg RVAgMiBPVVQgCj4gwqDCoMKgwqDCoMKgwqAgYm1BdHRyaWJ1dGVzwqDCoMKgwqDCoMKgwqDCoMKg wqDCoCAyIAo+IMKgwqDCoMKgwqDCoMKgwqDCoCBUcmFuc2ZlciBUeXBlwqDCoMKgwqDCoMKgwqDC oMKgwqDCoCBCdWxrIAo+IMKgwqDCoMKgwqDCoMKgwqDCoCBTeW5jaCBUeXBlwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoCBOb25lIAo+IMKgwqDCoMKgwqDCoMKgwqDCoCBVc2FnZSBUeXBlwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCBEYXRhIAo+IMKgwqDCoMKgwqDCoMKgIHdNYXhQYWNr ZXRTaXplwqDCoMKgwqAgMHgwMjAwwqAgMXggNTEyIGJ5dGVzIAo+IMKgwqDCoMKgwqDCoMKgIGJJ bnRlcnZhbMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgMSAKPiBEZXZpY2UgUXVhbGlmaWVy IChmb3Igb3RoZXIgZGV2aWNlIHNwZWVkKTogCj4gwqAgYkxlbmd0aMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoCAxMCAKPiDCoCBiRGVzY3JpcHRvclR5cGXCoMKgwqDCoMKgwqDCoMKgIDYg Cj4gwqAgYmNkVVNCwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAyLjAwIAo+IMKgIGJEZXZp Y2VDbGFzc8KgwqDCoMKgwqDCoMKgwqDCoMKgwqAgMCAoRGVmaW5lZCBhdCBJbnRlcmZhY2UgbGV2 ZWwpIAo+IMKgIGJEZXZpY2VTdWJDbGFzc8KgwqDCoMKgwqDCoMKgwqAgMCAKPiDCoCBiRGV2aWNl UHJvdG9jb2zCoMKgwqDCoMKgwqDCoMKgIDAgCj4gwqAgYk1heFBhY2tldFNpemUwwqDCoMKgwqDC oMKgwqAgNjQgCj4gwqAgYk51bUNvbmZpZ3VyYXRpb25zwqDCoMKgwqDCoCAxIAo+IERldmljZSBT dGF0dXM6wqDCoMKgwqAgMHgwMDAwIAo+IMKgIChCdXMgUG93ZXJlZCkgCj4gX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18gCj4gbmV0d29ya21hbmFnZXItbGlz dCBtYWlsaW5nIGxpc3QgCj4gbmV0d29ya21hbmFnZXItbGlzdEBnbm9tZS5vcmcgCj4gaHR0cHM6 Ly9tYWlsLmdub21lLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25ldHdvcmttYW5hZ2VyLWxpc3QgCg== From dcbw@redhat.com Thu Jun 18 18:41:48 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 316BD76A1D for ; Thu, 18 Jun 2015 18:41:48 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.17 X-Spam-Level: X-Spam-Status: No, score=-7.17 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.269, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N2rOvQmQUuk6 for ; Thu, 18 Jun 2015 18:41:47 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 9F404762EB for ; Thu, 18 Jun 2015 18:41:31 +0000 (UTC) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id A87FA33B352; Thu, 18 Jun 2015 18:41:30 +0000 (UTC) Received: from vpn-232-33.phx2.redhat.com (vpn-232-33.phx2.redhat.com [10.3.232.33]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5IIfTxD017075; Thu, 18 Jun 2015 14:41:30 -0400 Message-ID: <1434652889.3294.56.camel@redhat.com> Subject: Re: Bug or expected behaviour in 1.0.2 networkmanager / -applet combo From: Dan Williams To: Andreas =?ISO-8859-1?Q?M=FCller?= Date: Thu, 18 Jun 2015 13:41:29 -0500 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 18:41:48 -0000 On Thu, 2015-06-18 at 18:30 +0200, Andreas Müller wrote: > Hi, > > hope this wasn't asked before - found no hints so far: > > I have updated from 0.9.8.10 -> 1.0.2. A common use case for me is to > change wired connection from DHCP to Manual/Fixed ip. When doing so > 0.9.8 did unconnect and reconnect automatically after saving > connection changes - with 1.0.2 I have to unconnect and reconnect > manually. > > Is this behaviour expected or is it a bug? I think that's actually a bug in 0.9.8; changes to the connection are only supposed to be saved to the config files and are not applied until the connection is restarted. Dan From schnitzeltony@googlemail.com Thu Jun 18 21:24:06 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 4CD377694D for ; Thu, 18 Jun 2015 21:24:06 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p9k6KLe0W0X9 for ; Thu, 18 Jun 2015 21:24:05 +0000 (UTC) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by restaurant.gnome.org (Postfix) with ESMTP id 3FB997693F for ; Thu, 18 Jun 2015 21:23:54 +0000 (UTC) Received: by pabvl15 with SMTP id vl15so23282951pab.1 for ; Thu, 18 Jun 2015 14:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=7yj3fJHmAzcZhF5Xsekqz7mOJjCs8WteIET51uEGCwg=; b=lvwqSY6WhLwWDRDwehvIwZUMIyWwooy1p7yo3CpX/6nH0BrFUE18/0DaDY+cXQy51G nBQbaSUNudwLmmTo1P5Z4sogeMajs7dusQv/wxBDOF1IxHh8oL0CFp7iY1WVHUb+z5y4 QydAsAbQe2jao9Q7CsYTQjFGzgECHzNpdgJSUjG5dUzFD6h74xDyJ1+NnoeoO27hssAj 4uK+BbH8W1IGFKa2z+emrpOeUDjg/eoo49R9EL89cxD5xUhhxs72Wgnghb8gvOGaJye7 nir72aLCss6zqhLx1tfpkano9tHs70z4YZkAO6wSqglpEtcKfA0gzedjwyhy5TC7Azh7 fewQ== MIME-Version: 1.0 X-Received: by 10.68.57.170 with SMTP id j10mr25107495pbq.150.1434662633317; Thu, 18 Jun 2015 14:23:53 -0700 (PDT) Received: by 10.70.44.41 with HTTP; Thu, 18 Jun 2015 14:23:53 -0700 (PDT) In-Reply-To: <1434652889.3294.56.camel@redhat.com> References: <1434652889.3294.56.camel@redhat.com> Date: Thu, 18 Jun 2015 23:23:53 +0200 Message-ID: Subject: Re: Bug or expected behaviour in 1.0.2 networkmanager / -applet combo From: =?UTF-8?Q?Andreas_M=C3=BCller?= To: Dan Williams Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 21:24:06 -0000 On Thu, Jun 18, 2015 at 8:41 PM, Dan Williams wrote: > On Thu, 2015-06-18 at 18:30 +0200, Andreas M=C3=BCller wrote: >> Hi, >> >> hope this wasn't asked before - found no hints so far: >> >> I have updated from 0.9.8.10 -> 1.0.2. A common use case for me is to >> change wired connection from DHCP to Manual/Fixed ip. When doing so >> 0.9.8 did unconnect and reconnect automatically after saving >> connection changes - with 1.0.2 I have to unconnect and reconnect >> manually. >> >> Is this behaviour expected or is it a bug? > > I think that's actually a bug in 0.9.8; changes to the connection are > only supposed to be saved to the config files and are not applied until > the connection is restarted. > > Dan > Thanks for prompt clarification Andreas From petr.vorel@gmail.com Thu Jun 18 23:23:25 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 517467656C for ; Thu, 18 Jun 2015 23:23:25 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nPGMp57eRJpb for ; Thu, 18 Jun 2015 23:23:24 +0000 (UTC) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by restaurant.gnome.org (Postfix) with ESMTP id D39F2762EB for ; Thu, 18 Jun 2015 23:23:13 +0000 (UTC) Received: by wicnd19 with SMTP id nd19so3584992wic.1 for ; Thu, 18 Jun 2015 16:23:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=09cJkznNolkT9zHAKuwSS1MgkQFtPR/10RRvNgGzdOc=; b=ySSSWo7eRJGsSEh6HrinFLfkpkHxp6OgE0viIdGJCp7urnftID3QA49WXm3qzGBZvv 0jDjlClTIvsh6/S3y0nsTX4n/+gusdQ4T+BUpkhW2wTQhosw7fjk+eKLBWbMsMol3Yez s3hLq9C0l5NImfYaHeeov2R+o6xUupaU3K+xnTg2U9YJGZBVF6/0ZPskP6gHybWcd4Jp Q5NZ465/FGJpETToWrHJbqvlQ9CI4YOnsnl/DLbB7aOBdxAl6F1tISAmoisW3A0ul/C5 i9YEfn1u58AQERFQvS+6mgfP/ZARi2WqHNrhU7pX7AoYau8j5/RXWAtpVVvkiEhUsutA nljw== X-Received: by 10.194.97.196 with SMTP id ec4mr20253138wjb.3.1434669791688; Thu, 18 Jun 2015 16:23:11 -0700 (PDT) Received: from t61 ([85.119.94.121]) by mx.google.com with ESMTPSA id n6sm1003598wic.16.2015.06.18.16.23.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jun 2015 16:23:11 -0700 (PDT) Date: Fri, 19 Jun 2015 01:23:09 +0200 From: Petr Vorel To: Dan Williams Subject: Re: [PATCH 1/2] autogen.sh: warn if gtkdocize is missing, exit on error Message-ID: <20150618232308.GA5705@t61> References: <1434584742-3159-1-git-send-email-petr.vorel@gmail.com> <1434637841.3294.1.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434637841.3294.1.camel@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Petr Vorel List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 23:23:25 -0000 Hi Dan, > Actually, gtkdoc isn't required for the build unless you want to do > 'make dist' or distcheck. So in theory, perhaps we should just warn > about that and continue, instead of erroring out? That's what I intended when I wrote the patch. But autogen.sh depends on gtk-doc.make, which is AFAIK symlink to /usr/share/gtk-doc/data/gtk-doc.make (on my Debian unstable) and this file is from gtkdoc. So in my case autogen.sh without gtkdoc fails: ... docs/api/Makefile.am:28: error: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL automake: error: cannot open < gtk-doc.make: No such file or directory autoreconf: automake failed with exit status: 1 But adding ENABLE_GTK_DOC in AM_CONDITIONAL isn't enough. As code after including gtk-doc.make expect some variables to be set. There are two options: 1) Cairo way: include gtk-doc.make somewhere and use it when missing. Cairo uses instead of gtk-doc.make file Makefile.am.gtk-doc. They use it probably to fix some of their problems, but this also helps to avoid this problem. I don't think it's a good option (needs to synchronize file time to time). 2) Gimp way: create minimal gtk-doc.make file. This looks to me as a better option, so I implement it and send as v2. --force option to autoreconf cause replacing minimal gtk-doc.make with symlink to /usr/share/gtk-doc/data/gtk-doc.make once gtkdoc is installed. > Dan Kind regards, Petr From petr.vorel@gmail.com Thu Jun 18 23:25:48 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 499E576A1D for ; Thu, 18 Jun 2015 23:25:48 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8bWtzY-Z_UCE for ; Thu, 18 Jun 2015 23:25:46 +0000 (UTC) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by restaurant.gnome.org (Postfix) with ESMTP id 7D180762EB for ; Thu, 18 Jun 2015 23:25:35 +0000 (UTC) Received: by wiga1 with SMTP id a1so3225112wig.0 for ; Thu, 18 Jun 2015 16:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=YMZl93imUl9qwHg6N+LsKkGVT5sFS6MJSVhsUSABIpU=; b=GF79oePwKCv7XZVJ/TTGf2DPpgMIy8l2V4paGZduhlZTHrFECOYBHp24RBRHZOx6hS oy6jK94XMx7vwTZXnsYzZ8wCPck47XbTm+9NKAvvrhPxJRKRU6Bq3G07Sp2cUFsTKis+ RVY7hyW0VgdWLrH3X5rFOF0B+FS1E9qAn01ZBEEHG6S+XwSx55IG9xEf7cM/uRRep8rW /BD+F6hAUFTpbHRsykJHix/6yHYRGZxaWT2UHVdbi4zowD+8ldvO/SxrvNB21PNCedji 24ZhDoq8zIPvhdP9e2dWsiRw6mD+HgnTa//gj3LO9Id9tx7MddKzWmXwK/7Ej1Pn1c2Z KeXg== X-Received: by 10.181.29.100 with SMTP id jv4mr916541wid.4.1434669934412; Thu, 18 Jun 2015 16:25:34 -0700 (PDT) Received: from t61.jablocom.intra ([85.119.94.121]) by mx.google.com with ESMTPSA id hn7sm14298331wjc.16.2015.06.18.16.25.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Jun 2015 16:25:33 -0700 (PDT) From: Petr Vorel To: networkmanager-list@gnome.org Subject: [PATCH v2 1/2] Allow building without gtk-doc installed Date: Fri, 19 Jun 2015 01:25:26 +0200 Message-Id: <1434669927-9019-1-git-send-email-petr.vorel@gmail.com> X-Mailer: git-send-email 2.1.4 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 23:25:48 -0000 This requires creating minimal gtk-doc.make and check for GTK_DOC_CHECK availability in configure.ac. Signed-off-by: Petr Vorel --- autogen.sh | 14 +++++++++++++- configure.ac | 7 ++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 5ec9a5a..a7e1c17 100755 --- a/autogen.sh +++ b/autogen.sh @@ -22,7 +22,19 @@ PKG_NAME=NetworkManager cd $srcdir -gtkdocize +GTKDOCIZE=`which gtkdocize` || true +if test -z $GTKDOCIZE; then + echo "**Warning**: No GTK-Doc found, documentation won't be generated" >&2 + echo " and 'make dist' and 'make distcheck' will not work." >&2 + + # create minimal gtk-doc.make if missing as we depend on it + if test -f gtk-doc.make; then :; else + printf "EXTRA_DIST = \nCLEANFILES = \n" > gtk-doc.make + fi +else + gtkdocize || exit $? +fi + autopoint --force AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose diff --git a/configure.ac b/configure.ac index e1a1917..c776d3d 100644 --- a/configure.ac +++ b/configure.ac @@ -898,7 +898,12 @@ AS_IF([test "$with_valgrind" != "no"], AC_SUBST(VALGRIND_RULES, [])) AM_CONDITIONAL(WITH_VALGRIND, test "${with_valgrind}" != "no") -GTK_DOC_CHECK(1.0) +# Check for GTK_DOC_CHECK availability. The GTK_DOC_CHECK invocation +# must be on its own line, gtkdocize relies on it +m4_ifdef([GTK_DOC_CHECK], [ +GTK_DOC_CHECK([1.0]) +]) +AM_CONDITIONAL(ENABLE_GTK_DOC, test "$enable_gtk_doc" = "yes") # check for pregenerated manpages to be installed install_pregen_manpages=no -- 2.1.4 From petr.vorel@gmail.com Thu Jun 18 23:25:49 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 685AA762EB for ; Thu, 18 Jun 2015 23:25:49 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kqlKvv2cz25u for ; Thu, 18 Jun 2015 23:25:47 +0000 (UTC) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by restaurant.gnome.org (Postfix) with ESMTP id 6FCA37656C for ; Thu, 18 Jun 2015 23:25:36 +0000 (UTC) Received: by wiga1 with SMTP id a1so3225417wig.0 for ; Thu, 18 Jun 2015 16:25:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=poC5BLd8V9BtGk78GLNcFzwBVAfqGXIvOytwEuttubI=; b=KuqQ5aHTpbrrETHTcSYW9xNpJVVCvy27w43mDVAmCWah12ZFwitAOBStpRs0f6bGq1 X/UQZIddQyRozhk9T/If/lS6hjCCzPRd7zIRUzqowNHpwroUBtXxNnCBtMM5PyeFsT71 d7Yh6FcrcB7x2nlV22guQTLHdiwAHFoviguKI2q0Ex5JqDNNfRxYmK3bPbn63uyXnja/ +PMuQIA8oPMUgpbddj+mweu2I3xrJhomqORKwYWUzVXCAz3tX8LBl0fjyYl6n+usisLR 2TkgR7LMgPdPLKuH05zFnIfOvjt5CaA5EpTldF/r5KjRueLQRZdIsPhX4sPfYqPro6Yv dWbA== X-Received: by 10.180.88.8 with SMTP id bc8mr834072wib.19.1434669935390; Thu, 18 Jun 2015 16:25:35 -0700 (PDT) Received: from t61.jablocom.intra ([85.119.94.121]) by mx.google.com with ESMTPSA id hn7sm14298331wjc.16.2015.06.18.16.25.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Jun 2015 16:25:34 -0700 (PDT) From: Petr Vorel To: networkmanager-list@gnome.org Subject: [PATCH v2 2/2] autogen.sh: print errors to stderr, printf instead echo -n Date: Fri, 19 Jun 2015 01:25:27 +0200 Message-Id: <1434669927-9019-2-git-send-email-petr.vorel@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1434669927-9019-1-git-send-email-petr.vorel@gmail.com> References: <1434669927-9019-1-git-send-email-petr.vorel@gmail.com> X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 23:25:49 -0000 Signed-off-by: Petr Vorel --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index a7e1c17..b4394bf 100755 --- a/autogen.sh +++ b/autogen.sh @@ -15,8 +15,8 @@ PKG_NAME=NetworkManager (test -f $srcdir/configure.ac \ && test -f $srcdir/src/main.c) || { - echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" - echo " top-level $PKG_NAME directory" + printf "**Error**: Directory "\`$srcdir\'" does not look like the" >&2 + echo " top-level $PKG_NAME directory" >&2 exit 1 } -- 2.1.4 From thaller@redhat.com Fri Jun 19 10:08:41 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 215B17699B for ; Fri, 19 Jun 2015 10:08:41 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.236 X-Spam-Level: X-Spam-Status: No, score=-7.236 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.335, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q16bzHtueEGD for ; Fri, 19 Jun 2015 10:08:40 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 72ACD7624D for ; Fri, 19 Jun 2015 10:08:29 +0000 (UTC) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id AAFEA2BCD68 for ; Fri, 19 Jun 2015 10:08:28 +0000 (UTC) Received: from x250 (dhcp-24-135.brq.redhat.com [10.34.24.135]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5JA8QGn029891 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 19 Jun 2015 06:08:28 -0400 Message-ID: <1434708502.29331.0.camel@redhat.com> Subject: Re: [PATCH 1/1] device: delay handling of link-changed platform event From: Thomas Haller To: networkmanager-list@gnome.org Date: Fri, 19 Jun 2015 12:08:22 +0200 In-Reply-To: <1434561471-23174-1-git-send-email-thaller@redhat.com> References: <1434561471-23174-1-git-send-email-thaller@redhat.com> Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-zc65WQ6MoTDsUZhWWMjJ" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 10:08:41 -0000 --=-zc65WQ6MoTDsUZhWWMjJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2015-06-17 at 19:17 +0200, Thomas Haller wrote: > When inside a state-change, we set for example the device up. > This triggers a link-changed event, which then causes further > state-changes of the devices. >=20 > The handling of the link-changed event must be delayed and invoked > idly. >=20 merged a modified version to master: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=3D04ca= ae735fabe00e19a05d49e065514114b59d40 Thomas --=-zc65WQ6MoTDsUZhWWMjJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVg+oWAAoJECnCNm5N/Fcoc3sP/jZCF2eCS0Ql3haYwk4nZqga WAWp35iwSYZVgrfYCvwmCbpi4lGZNLmeArgDdDXj+XiN5YZMphtEKV1BkVuEkMB+ UPb38EVsGTtwvmhyklOjeCPiiOc+wUkCyrJ0IueErP0mzH53RVQrrrksvGRb6Dgg 4yAeZlE3IyAvhlacqGi7GOUerAh71VdC5K1Q8wPbwBhUD2WZ5xHKSMgKnzszHaAO JPAiVSKLA3MKCZzfe9w4RLRh1CL93O9tUG/B0jwpafBU8HU87lWKO3nqPcOitG7g g8DLjMab9DwXMexUG2NLdv696bwshdB9amv7JTvCgauzyt0rKguSOqujIhpA1hnZ eWC1IG/a1rcdnEmX+8c62YPEuGx2OzECXhPHQSerFoFeAmeONk2Vi92Durc5twze mMEvrTTYGtDEQy1sAGMb+CLA4mFhRFFW0hsmRVyksG/TNKHgNcjxL799+rwOKjMI YvrnmotLXVoUCfuQMbFoRwpuxy7jdEjJEFJ60/DWWTCFztPGvCrnzHcJ2DzhMyya K8iTYhJxXQ6mJqS29VDK7wuv/4fvobBqX2sbltYpdGhLbYBQANemd26Bwj0WaW4h PniHTTq4y6Z68eQ2Ggf1x+m6ivoCdnT2i6kPjW7TQl9PvOpHneelRiuLmvfx1If9 OlXBNQK+M2Uc7QaWTjA1 =f9pM -----END PGP SIGNATURE----- --=-zc65WQ6MoTDsUZhWWMjJ-- From thaller@redhat.com Fri Jun 19 10:24:29 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 7CE857699B for ; Fri, 19 Jun 2015 10:24:29 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.236 X-Spam-Level: X-Spam-Status: No, score=-7.236 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.335, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zbB0MNbeRZZE for ; Fri, 19 Jun 2015 10:24:28 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id D0AAA7624D for ; Fri, 19 Jun 2015 10:24:18 +0000 (UTC) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 56438388B5C; Fri, 19 Jun 2015 10:24:17 +0000 (UTC) Received: from x250 (dhcp-24-135.brq.redhat.com [10.34.24.135]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5JAOFv3018549 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 19 Jun 2015 06:24:16 -0400 Message-ID: <1434709454.29331.3.camel@redhat.com> Subject: Re: [PATCH] systemd-dhcp: fix build with Linux <= 3.2.0 headers From: Thomas Haller To: Petr Vorel , networkmanager-list@gnome.org Date: Fri, 19 Jun 2015 12:24:14 +0200 In-Reply-To: <20150617235145.GA26959@t61> References: <1434584902-3457-1-git-send-email-petr.vorel@gmail.com> <20150617235145.GA26959@t61> Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-2beqeJic4e+ta52tiHYG" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 10:24:29 -0000 --=-2beqeJic4e+ta52tiHYG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2015-06-18 at 01:51 +0200, Petr Vorel wrote: > Hi there, >=20 > > Fixes build on Ubuntu 12.04. >=20 > > src/dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp > > -network.c: In function '_bind_raw_socket': > > src/dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp > > -network.c:79:17: error: 'BPF_XOR' undeclared (first use in this=20 > > function) > > src/dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp > > -network.c:79:17: note: each undeclared identifier is reported only=20 > > once for each function it appears in > > make[4]: *** [libsystemd_nm_la-dhcp-network.lo] Error 1 >=20 > > Signed-off-by: Petr Vorel > > --- Hi Petr, Lubomir backported this patch: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=3D7f84= 150e9f6aa7e900d70178e0fc0acc6cfba651 Thomas --=-2beqeJic4e+ta52tiHYG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVg+3OAAoJECnCNm5N/FcoEWMP/0FZLnK59BHNCueZZJY57n3w 53+QZicI53rVsr43JGKU+ilvUAdyT7R15MFnILZA6rpd/OkpsmUVEquumbZrxasi 0Dvt4UV20rNBDLsJ1/BpTfp6ApkEtmUlcMCs67ZrqEZ+M+OwIfuh7in0leaEIk5o RCEwjrZD6yRT8ZTVbdjJEpm6Br13Lv3Mq3aKA32vVML0QPmstJdyi6c8OgkdfrLu djRn4KvvdyTLN6DpKeHL7bpMRK91SnYFQxBloBxRy8LMNVIVIM5jl2zdUD0ipGsL L+GXeA6a7FdLcoVqtmPniCJM6IpBk+0MhQPwz2jnVg5Cn4fqXM8p4UwZvlVwF+af xem0eCw+1N799HGVlDsGDl4Zms4CSe8o7VcxTU5wONIFAre9/Z4TiwpERCkg07C8 fqrfcmPo/NhT6KCPrLjB+uIqU8+5wV1Aujofe6/+8xPChbg5I+QwGPaooAIy4U5b lQNHFlExXhEYBWQ9VaJXQpZdzNX5XyWR8Xn56PKSAdLa2WDkytWUajiQiRwdlBti RAph6wmvVO6fvnJjNWfD97kbs+0wvSaLr3+Rja85v0ANpUf+asno9zVuz/1FMvMB jKitr2pJR95GY8e6APWE/7sPQgkpqx52zs7Tw9fQoOEVmzxAtBzFftZenRfSjN5o t1FoqLO8UiJgHIo21TBd =AsqA -----END PGP SIGNATURE----- --=-2beqeJic4e+ta52tiHYG-- From aleksander@aleksander.es Sat Jun 20 01:22:24 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id E1C61768F4 for ; Sat, 20 Jun 2015 01:22:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6MLD8JqP8Il7 for ; Sat, 20 Jun 2015 01:22:23 +0000 (UTC) Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by restaurant.gnome.org (Postfix) with ESMTP id 203E5768BC for ; Sat, 20 Jun 2015 01:22:12 +0000 (UTC) Received: by obpn3 with SMTP id n3so1616503obp.0 for ; Fri, 19 Jun 2015 18:22:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=UCpyp1eEXzFY7vS6Ke5VV3+8jtIgz+xXXES0M4lCwAs=; b=SBcc1IMIMpFOGn2Ox9poRzY9DwpXklyfDeKfgPC3B1kn9UO5W2YdS/vWPtzfJFHzVX kNQ3rGBmb2k4DUCA0pSiwORhCIeQ7DfZncfNHiyQmDqipHlbKbcM9JZ5EAnKMAH9yh3k CttIT6Q5dfZp9MmUzETmFhq4kvnz1c5VKs1PQwagklrj4S7KkW0hle44o+hp83va9FR6 /x/ePvixzuv7ikYF+jlWX3230oj8goycofwFDFJD023AwXOzqefo3oqlYVdXr6MTucqX KwTe0GX1xvy5+4N2Smis1kUdEbhWFqzPNWMdKRHdyutkfNozEHrcxMUytPxlJ1eaVG0r 51BA== X-Gm-Message-State: ALoCoQljnxRModesM8KhBKAE3FB2OKheJw/+ZXWuAUnuZ5jNVFp8mEfqGKUWQLCHuZVVQ4YY2oFW MIME-Version: 1.0 X-Received: by 10.202.239.138 with SMTP id n132mr14743721oih.99.1434763330737; Fri, 19 Jun 2015 18:22:10 -0700 (PDT) Received: by 10.182.113.129 with HTTP; Fri, 19 Jun 2015 18:22:10 -0700 (PDT) X-Originating-IP: [64.60.156.46] In-Reply-To: <55819ED6.2080701@sailer.dynip.lugs.ch> References: <5580C3B3.5030603@sailer.dynip.lugs.ch> <1434553108.3952.21.camel@redhat.com> <55819ED6.2080701@sailer.dynip.lugs.ch> Date: Fri, 19 Jun 2015 18:22:10 -0700 Message-ID: Subject: Re: ModemManager and Thuraya XT From: Aleksander Morgado To: Thomas Sailer Content-Type: text/plain; charset=UTF-8 Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jun 2015 01:22:25 -0000 On Wed, Jun 17, 2015 at 9:22 AM, Thomas Sailer wrote: > On 06/17/2015 04:58 PM, Dan Williams wrote: >> >> That would seem to indicate that we need a ModemManager plugin for the XT >> to selectively ignore COPS. Given that the modem probably only has one >> operator and probably always searches automatically for it (unlike some >> modems which the COPS=0 is designed to handle) it should probably be >> ignored. > > > I agree, COPS=0 should just be ignored / not sent. The Thuraya XT always > searches for its network, and there's only one provider. > >> I'll bet it doesn't list anything, or it may not list any result for >> "IPV4" contexts. > > > Actually no, it does look relatively sane, it just likes to add lots of > spaces in its response... > > ModemManager[13689]: [1434497907.217754] [mm-port-serial.c:1294] > _close_internal(): (ttyACM0) device open count is 2 (close) > ModemManager[13689]: [1434497907.217776] [mm-port-serial-at.c:440] > debug_log(): (ttyACM0): --> 'AT+CGDCONT=?' > ModemManager[13689]: [1434497907.252516] [mm-port-serial-at.c:440] > debug_log(): (ttyACM0): <-- '+CGDCONT: ( 1 ) , "IP" ,,, > (0-2),(0-3)' > ModemManager[13689]: [1434497907.253963] [mm-port-serial-at.c:440] > debug_log(): (ttyACM0): <-- '+CGDCONT: , "PPP" ,,, > (0-2),(0-3)' > ModemManager[13689]: [1434497907.254980] [mm-port-serial-at.c:440] > debug_log(): (ttyACM0): <-- 'OK' > > I added a few \\s* at the right places in the CGDCONT regexes. It works now! > Ping latencies around 3 to 5 seconds :) How long did it take to establish the PPP session? When I wrote the Iridium plugin for Iridium satellite modems one of the things I had to do is request NetworkManager to setup a longer 'ip-timeout' as the default of 20s was really not enough, I updated it in the "iridium" plugin to be 200s: http://cgit.freedesktop.org/ModemManager/ModemManager/tree/plugins/iridium/mm-bearer-iridium.c#n31 Also, due to the COPS=0 thingy, we'll likely need to setup a full new "thuraya" plugin. Thomas, would you be up to do that? BTW; please post these patches in the ModemManager specific mailing list: http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel Cheers! -- Aleksander https://aleksander.es From arigead@gmail.com Sun Jun 21 13:15:18 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 705DB768B8 for ; Sun, 21 Jun 2015 13:15:18 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iviN_qhk05Go for ; Sun, 21 Jun 2015 13:15:16 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by restaurant.gnome.org (Postfix) with ESMTP id 392B5768F4 for ; Sun, 21 Jun 2015 13:15:05 +0000 (UTC) Received: by wiwl6 with SMTP id l6so15022706wiw.0 for ; Sun, 21 Jun 2015 06:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=AaW4jWyScEmhuW2ZBz4Wd+mhAFaWRl4u5mk0kIJcRNc=; b=hwUjYO88oXtU3Fsk2OVuslILfLWaEWSNLauIy0p3bc4TvZ11B/ZjxfUfHG9efFVLLQ kZAJM/CjeGKg3yyLLAfi+c8iUKjDgkL7bggDVKUgZ93jnHmOhncMir1QLMzp0ntRjDG0 gk2jj0PqP5nlws1slywO1WgJl935wSOwKDscuEFVcbXRhmQDU+kFN+09Viy1QUPYbLYc iDelUs8bEKHhd9WYgzPb5PPOG+I48qtaqerH7UTMAcm2DMJ/jawIeFeAw5DMbjG+V7x+ 8swIo6xZrCA9j8UVkZshlynJbGKvQ0Ya5XitHpiJcMlzX+eC6Xa0E54UX5cnJjc6tUXS 7+0A== X-Received: by 10.180.86.234 with SMTP id s10mr22799320wiz.50.1434892503978; Sun, 21 Jun 2015 06:15:03 -0700 (PDT) Received: from bamboo.electronicsoup (86-44-189-100-dynamic.agg2.cty.lmk-pgs.eircom.net. [86.44.189.100]) by mx.google.com with ESMTPSA id di7sm12387995wib.23.2015.06.21.06.15.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Jun 2015 06:15:03 -0700 (PDT) Date: Sun, 21 Jun 2015 14:11:29 +0100 From: John Whitmore To: tschaefer@t-online.de Subject: Re: ZTE MF823 USB Ethernet Dongle on RPi-2/Arch/LXDE Message-ID: <20150621131127.GA6490@bamboo.electronicsoup> References: <20150618170418.GA6906@bamboo.electronicsoup> <50e8eaf6-6f7c-47e6-8478-5c71e24368a7@email.android.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <50e8eaf6-6f7c-47e6-8478-5c71e24368a7@email.android.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2015 13:15:18 -0000 On Thu, Jun 18, 2015 at 07:38:24PM +0200, tschaefer@t-online.de wrote: > Forget the mm, I think in this case only nm is involved. Or do just a simple dhclient to the interface. ModemManager 1.4.8-1 NetworkManager 1.0.2-3 On OpenSUSE the device does throw up a new Network Interface but on RPi-2 it doesn't that's the problem. Maybe I should look for another Dongle which uses CDW > > Am 18.06.2015 7:04 nachm. schrieb John Whitmore : > > > > On Thu, Jun 18, 2015 at 09:35:04AM -0500, Dan Williams wrote: > > > On Thu, 2015-06-18 at 10:01 +0100, John Whitmore wrote: > > > > Been on a few times between this list and the ModemManager. I was hoping to > > > > setup a system where I could build some intelligence behind two USB 4G Dongles > > > > and jump between connections depending on signal strength. > > > > > > > > My second Dongle has stopped that, as it don't report as a Modem device and > > > > instead uses Ethernet over USB. This all works out of the box on my OpenSUSE > > > > Laptop but the RPi-2 doesn't work. > > > > > > > > On the laptop "usb-devices" is giving me: > > > > > > What's the 'lsusb -v -d 19d2:1403' output? > > > > > > Dan > > > > > In both cases the output is more or less identical except for this diff: > > > > john@bamboo:> diff lsusb.txt lsusb_suse.txt > > 2c2 > > < Bus 001 Device 008: ID 19d2:1403 ZTE WCDMA Technologies MSM > > --- > > > Bus 002 Device 006: ID 19d2:1403 ZTE WCDMA Technologies MSM > > 7c7 > > <   bDeviceClass            0 > > --- > > >   bDeviceClass            0 (Defined at Interface level) > > 75c75 > > <       bInterfaceSubClass      0 > > --- > > >       bInterfaceSubClass      0 Unused > > 132c132 > > <   bDeviceClass            0 > > --- > > >   bDeviceClass            0 (Defined at Interface level) > > > > > > > > Apart from those few differences it's all the same: > > > > > > > > Bus 002 Device 006: ID 19d2:1403 ZTE WCDMA Technologies MSM > > Device Descriptor: > >   bLength                18 > >   bDescriptorType         1 > >   bcdUSB               2.00 > >   bDeviceClass            0 (Defined at Interface level) > >   bDeviceSubClass         0 > >   bDeviceProtocol         0 > >   bMaxPacketSize0        64 > >   idVendor           0x19d2 ZTE WCDMA Technologies MSM > >   idProduct          0x1403 > >   bcdDevice           50.09 > >   iManufacturer           1 ZTE,Incorporated > >   iProduct                2 ZTE Technologies MSM > >   iSerial                 3 MF8230ZTED010000CP261718SKYDWQ5II0PESHF3BW707_8C64&&&&&&&&&&&&&0 > >   bNumConfigurations      1 > >   Configuration Descriptor: > >     bLength                 9 > >     bDescriptorType         2 > >     wTotalLength           98 > >     bNumInterfaces          3 > >     bConfigurationValue     1 > >     iConfiguration          0 > >     bmAttributes         0xa0 > >       (Bus Powered) > >       Remote Wakeup > >     MaxPower              500mA > >     Interface Association: > >       bLength                 8 > >       bDescriptorType        11 > >       bFirstInterface         0 > >       bInterfaceCount         2 > >       bFunctionClass        224 Wireless > >       bFunctionSubClass       1 Radio Frequency > >       bFunctionProtocol       3 RNDIS > >       iFunction               7 RNDIS > >     Interface Descriptor: > >       bLength                 9 > >       bDescriptorType         4 > >       bInterfaceNumber        0 > >       bAlternateSetting       0 > >       bNumEndpoints           1 > >       bInterfaceClass         2 Communications > >       bInterfaceSubClass      2 Abstract (modem) > >       bInterfaceProtocol    255 Vendor Specific (MSFT RNDIS?) > >       iInterface              5 RNDIS Communications Control > >       CDC Header: > >         bcdCDC               1.10 > >       CDC Call Management: > >         bmCapabilities       0x00 > >         bDataInterface          1 > >       CDC ACM: > >         bmCapabilities       0x00 > >       CDC Union: > >         bMasterInterface        0 > >         bSlaveInterface         1 > >       Endpoint Descriptor: > >         bLength                 7 > >         bDescriptorType         5 > >         bEndpointAddress     0x82  EP 2 IN > >         bmAttributes            3 > >           Transfer Type            Interrupt > >           Synch Type               None > >           Usage Type               Data > >         wMaxPacketSize     0x0008  1x 8 bytes > >         bInterval               9 > >     Interface Descriptor: > >       bLength                 9 > >       bDescriptorType         4 > >       bInterfaceNumber        1 > >       bAlternateSetting       0 > >       bNumEndpoints           2 > >       bInterfaceClass        10 CDC Data > >       bInterfaceSubClass      0 Unused > >       bInterfaceProtocol      0 > >       iInterface              6 RNDIS Ethernet Data > >       Endpoint Descriptor: > >         bLength                 7 > >         bDescriptorType         5 > >         bEndpointAddress     0x81  EP 1 IN > >         bmAttributes            2 > >           Transfer Type            Bulk > >           Synch Type               None > >           Usage Type               Data > >         wMaxPacketSize     0x0200  1x 512 bytes > >         bInterval               0 > >       Endpoint Descriptor: > >         bLength                 7 > >         bDescriptorType         5 > >         bEndpointAddress     0x01  EP 1 OUT > >         bmAttributes            2 > >           Transfer Type            Bulk > >           Synch Type               None > >           Usage Type               Data > >         wMaxPacketSize     0x0200  1x 512 bytes > >         bInterval               0 > >     Interface Descriptor: > >       bLength                 9 > >       bDescriptorType         4 > >       bInterfaceNumber        2 > >       bAlternateSetting       0 > >       bNumEndpoints           2 > >       bInterfaceClass         8 Mass Storage > >       bInterfaceSubClass      6 SCSI > >       bInterfaceProtocol     80 Bulk-Only > >       iInterface              4 Mass Storage > >       Endpoint Descriptor: > >         bLength                 7 > >         bDescriptorType         5 > >         bEndpointAddress     0x83  EP 3 IN > >         bmAttributes            2 > >           Transfer Type            Bulk > >           Synch Type               None > >           Usage Type               Data > >         wMaxPacketSize     0x0200  1x 512 bytes > >         bInterval               0 > >       Endpoint Descriptor: > >         bLength                 7 > >         bDescriptorType         5 > >         bEndpointAddress     0x02  EP 2 OUT > >         bmAttributes            2 > >           Transfer Type            Bulk > >           Synch Type               None > >           Usage Type               Data > >         wMaxPacketSize     0x0200  1x 512 bytes > >         bInterval               1 > > Device Qualifier (for other device speed): > >   bLength                10 > >   bDescriptorType         6 > >   bcdUSB               2.00 > >   bDeviceClass            0 (Defined at Interface level) > >   bDeviceSubClass         0 > >   bDeviceProtocol         0 > >   bMaxPacketSize0        64 > >   bNumConfigurations      1 > > Device Status:     0x0000 > >   (Bus Powered) > > _______________________________________________ > > networkmanager-list mailing list > > networkmanager-list@gnome.org > > https://mail.gnome.org/mailman/listinfo/networkmanager-list From petr.vorel@gmail.com Sun Jun 21 20:24:10 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id B8858768F4 for ; Sun, 21 Jun 2015 20:24:10 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LFYbYJSrjmZl for ; Sun, 21 Jun 2015 20:24:09 +0000 (UTC) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by restaurant.gnome.org (Postfix) with ESMTP id D7C6D7676C for ; Sun, 21 Jun 2015 20:23:53 +0000 (UTC) Received: by wiwl6 with SMTP id l6so19997158wiw.0 for ; Sun, 21 Jun 2015 13:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=1/JlDhLj1Mw212y5NaMvhU+gbG6k3TkX5dwIacTp9hw=; b=CBc+EtXfauJgI6KR02iTE1JNRzKRqXch+pNuh3ygY/aUDGxdtYWuxhyiNpkATZ8gTl rjknTb0s2FD6Re/SYq/VPxd9nUgA0tbMs9kcDC6AKT3UNxf42DaIJFntLP8SrmtWOGd3 V2neEUSTTjteGeVdi/mNJKXzFJlmiZIC3BkIKaGphNmlf84D46v1FNNa2xph7/JnlGoF H7EgabnT9w12yJgn8mDWfArzjy93ax6PhK4Cg7v10OrXwex9LL3llHfc1OK4lMrodZK+ /5UEu5ty5E1S8oGLaCyQl6SHzugRYG3TBP4M+GhiCmVz0+ia8utNZSXauQf0/G+azbCm Piwg== X-Received: by 10.194.205.101 with SMTP id lf5mr46103379wjc.37.1434918231581; Sun, 21 Jun 2015 13:23:51 -0700 (PDT) Received: from t61 ([85.119.94.121]) by mx.google.com with ESMTPSA id ul1sm27166906wjc.30.2015.06.21.13.23.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Jun 2015 13:23:51 -0700 (PDT) Date: Sun, 21 Jun 2015 22:23:49 +0200 From: Petr Vorel To: Thomas Haller Subject: Re: [PATCH] systemd-dhcp: fix build with Linux <= 3.2.0 headers Message-ID: <20150621202348.GA28527@t61> References: <1434584902-3457-1-git-send-email-petr.vorel@gmail.com> <20150617235145.GA26959@t61> <1434709454.29331.3.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434709454.29331.3.camel@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: networkmanager-list@gnome.org X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Petr Vorel List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2015 20:24:10 -0000 Hi Thomas, > Lubomir backported this patch: > http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=7f84150e9f6aa7e900d70178e0fc0acc6cfba651 I'm sorry, I don't know how I could have overlooked it. Kind regards, Petr From pomidorabelisima@gmail.com Mon Jun 22 16:36:32 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id C527D7694A for ; Mon, 22 Jun 2015 16:36:32 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NbJbqkQxsiXB for ; Mon, 22 Jun 2015 16:36:32 +0000 (UTC) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by restaurant.gnome.org (Postfix) with ESMTP id EDCEE7630B for ; Mon, 22 Jun 2015 16:36:21 +0000 (UTC) Received: by wguu7 with SMTP id u7so74211265wgu.3 for ; Mon, 22 Jun 2015 09:36:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=9esPpADtrSj4o+OvoXdDhAJwLq1zWMH6ghG0WZniW4g=; b=NV0T1Mv9OF2JYukHWmsGwF4cadOae14KrWwYTAnINA14Gm11WRWDbzGWj5mu20Myn+ OXL5Pq4+RLVSI2yPkKZJDJjej3xManIZq+Gl0F6KTsXNUtoI7YvVOEZhlXUx1awr3dgd VJLT3NxKPCguq96ATClTyYcWiXsIBqx9khAQVKsganXFiOQXmTe4Gz215dYR8j+rmKQL nnI2X4+l/z+e/ydoqiad4t85ilPdb7dpMbSBTGCRW4WEveg71+xt8BJ/iuHenTSngOr2 WoY64hTdY1JCeIBDL1cJcVoMc9kk3i9jX9r+ScImG+H3JDO7OX9HKZKbUh+OFc1ZONPX LOPw== X-Received: by 10.180.83.40 with SMTP id n8mr33605311wiy.57.1434990979446; Mon, 22 Jun 2015 09:36:19 -0700 (PDT) Received: from localhost (iskon7837.duo.carnet.hr. [31.147.126.157]) by mx.google.com with ESMTPSA id dz4sm18057813wib.17.2015.06.22.09.36.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jun 2015 09:36:18 -0700 (PDT) Message-ID: <55883980.1020502@gmail.com> Date: Mon, 22 Jun 2015 18:36:16 +0200 From: poma User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Network Manager Subject: Auto Ethernet Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2015 16:36:32 -0000 NetworkManager-1.0.4-0.1.git20150618.8cffaf3bf5 This does not work: "By default, NetworkManager creates a temporary wired connection for any Ethernet device that is managed and doesn't have a connection configured." Known bug? From pomidorabelisima@gmail.com Tue Jun 23 13:33:05 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id E2F14768BF for ; Tue, 23 Jun 2015 13:33:05 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2uIYGiRUBTD5 for ; Tue, 23 Jun 2015 13:33:04 +0000 (UTC) Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by restaurant.gnome.org (Postfix) with ESMTP id 047F676A09 for ; Tue, 23 Jun 2015 13:32:53 +0000 (UTC) Received: by wiwl6 with SMTP id l6so66624524wiw.0 for ; Tue, 23 Jun 2015 06:32:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=GgouDzP8gEAoucReK5hb/w2O5SF6Ax/8sUIYJk1DDFE=; b=kHy5KJgzq0sRVl1/kBHXYuAcG8befATUuk35jdtsFHPgkElEaoTMMdTSb3yfy9YQ0R Mndt535ZSuy+wZFCH6lzkQ7eMgEephy8bQBDIbuqqBt3PbTdzf4Uf9luSyzQTf30jiBh J8/No6s/kQYwRe1uyOvISMrrd2GDus5NkDc7xKzE/dcwQsBZGNAahMW7IssdwlJ4jvIJ YtXn0J+kzZec7eqJQTm0L4Axb6tvRgBJTy/7dG/mC3SdbqG2NhPeo4gQNcT7nSRjW03D kNBespzOOnrqMo4R2FlQlo4tOJWw0OIoDDF0uIbd6vYH/C9X0KtH+IUwT+KVyEcKx8vp 2OUQ== X-Received: by 10.180.206.84 with SMTP id lm20mr3489214wic.48.1435066371664; Tue, 23 Jun 2015 06:32:51 -0700 (PDT) Received: from localhost (iskon7924.duo.carnet.hr. [31.147.126.244]) by mx.google.com with ESMTPSA id s8sm22454161wik.5.2015.06.23.06.32.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2015 06:32:50 -0700 (PDT) Message-ID: <55896000.2090308@gmail.com> Date: Tue, 23 Jun 2015 15:32:48 +0200 From: poma User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Network Manager Subject: Re: Auto Ethernet References: <55883980.1020502@gmail.com> In-Reply-To: <55883980.1020502@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2015 13:33:06 -0000 On 22.06.2015 18:36, poma wrote: > > NetworkManager-1.0.4-0.1.git20150618.8cffaf3bf5 > This does not work: > "By default, NetworkManager creates a temporary wired connection for any Ethernet device > that is managed and doesn't have a connection configured." > > Known bug? > NetworkManager journal DEBUG https://bugzilla.redhat.com/attachment.cgi?id=1042333 https://bugzilla.redhat.com/show_bug.cgi?id=1234121 From tschaefer@t-online.de Tue Jun 23 16:20:56 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id E36CC762E7 for ; Tue, 23 Jun 2015 16:20:56 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.328 X-Spam-Level: X-Spam-Status: No, score=-3.328 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.428] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IPDTTBiUOkaL for ; Tue, 23 Jun 2015 16:20:55 +0000 (UTC) Received: from mailout09.t-online.de (mailout09.t-online.de [194.25.134.84]) by restaurant.gnome.org (Postfix) with ESMTP id E8A33768B2 for ; Tue, 23 Jun 2015 16:20:39 +0000 (UTC) Received: from fwd39.aul.t-online.de (fwd39.aul.t-online.de [172.20.27.138]) by mailout09.t-online.de (Postfix) with SMTP id CF2C3304D59; Tue, 23 Jun 2015 18:20:36 +0200 (CEST) Received: from eeebox.localnet (ZBxRCEZvYh4A2eZXdFp7yQD7of6ydCHIeR6V608DgJSgkEbu3kWUlLRwhrx+OMeZaI@[91.20.252.52]) by fwd39.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1Z7Qw4-1TyJBw0; Tue, 23 Jun 2015 18:20:32 +0200 From: Thomas =?ISO-8859-1?Q?Sch=E4fer?= To: networkmanager-list@gnome.org, John Whitmore Subject: Re: ZTE MF823 USB Ethernet Dongle on RPi-2/Arch/LXDE Date: Tue, 23 Jun 2015 18:20:31 +0200 Message-ID: <2254819.PmqAp1iAeP@eeebox> User-Agent: KMail/4.14.8 (Linux/3.16.7-21-desktop; KDE/4.14.8; x86_64; ; ) In-Reply-To: <20150618090150.GA31535@bamboo.electronicsoup> References: <20150618090150.GA31535@bamboo.electronicsoup> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-ID: ZBxRCEZvYh4A2eZXdFp7yQD7of6ydCHIeR6V608DgJSgkEbu3kWUlLRwhrx+OMeZaI X-TOI-MSGID: 3330c313-e3a5-430b-82f2-2ee3dace9cb6 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2015 16:20:57 -0000 Hi, Are you using arch? Have you tried debian jessie? At jessie it works, at suse it works, so I think it is not a hardware problem, Maybe arch is not proper configured. [ 297.721426] usb 1-1.2.4: new high-speed USB device number 7 using dwc_otg [ 297.833727] usb 1-1.2.4: New USB device found, idVendor=19d2, idProduct=1225 [ 297.840843] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 297.848939] usb 1-1.2.4: Product: ZTE WCDMA Technologies MSM [ 297.854965] usb 1-1.2.4: Manufacturer: ZTE,Incorporated [ 297.861090] usb 1-1.2.4: SerialNumber: MF8230ZTED010000CP261718U46EM0SHF3BW707_8C65&&&&&&&&&&&&&&&&&&&0 [ 297.889075] usb-storage 1-1.2.4:1.0: USB Mass Storage device detected [ 297.896043] scsi host0: usb-storage 1-1.2.4:1.0 [ 297.963871] usbcore: registered new interface driver uas [ 298.911095] scsi 0:0:0:0: CD-ROM CWID USB SCSI CD-ROM 2.31 PQ: 0 ANSI: 2 [ 298.929570] scsi 0:0:0:1: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2 [ 299.001602] sd 0:0:0:1: [sda] Attached SCSI removable disk [ 304.051308] usb 1-1.2.4: USB disconnect, device number 7 [ 304.353488] usb 1-1.2.4: new high-speed USB device number 8 using dwc_otg [ 304.467608] usb 1-1.2.4: New USB device found, idVendor=19d2, idProduct=1403 [ 304.474715] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 304.482397] usb 1-1.2.4: Product: ZTE WCDMA Technologies MSM [ 304.488207] usb 1-1.2.4: Manufacturer: ZTE,Incorporated [ 304.493570] usb 1-1.2.4: SerialNumber: MF8230ZTED010000CP261718U46EM0SHF3BW707_8C65&&&&&&&&&&&&&&&&&&&0 [ 304.523221] usb-storage 1-1.2.4:1.2: USB Mass Storage device detected [ 304.530191] scsi host1: usb-storage 1-1.2.4:1.2 [ 304.572326] usbcore: registered new interface driver cdc_ether [ 304.588492] rndis_host 1-1.2.4:1.0 usb0: register 'rndis_host' at usb- bcm2708_usb-1.2.4, RNDIS device, 36:4b:50:b7:ef:2d [ 304.599742] usbcore: registered new interface driver rndis_host [ 304.614433] usbcore: registered new interface driver rndis_wlan [ 305.534477] scsi 1:0:0:0: CD-ROM CWID USB SCSI CD-ROM 2.31 PQ: 0 ANSI: 2 [ 305.543297] scsi 1:0:0:1: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2 [ 305.555588] sr 1:0:0:0: [sr0] scsi-1 drive [ 305.559771] cdrom: Uniform CD-ROM driver Revision: 3.20 [ 305.567206] sr 1:0:0:0: Attached scsi CD-ROM sr0 [ 305.569009] sr 1:0:0:0: Attached scsi generic sg0 type 5 [ 305.579978] sd 1:0:0:1: Attached scsi generic sg1 type 0 [ 305.593896] sd 1:0:0:1: [sda] Attached SCSI removable disk [ 308.392019] ISO 9660 Extensions: Microsoft Joliet Level 1 [ 308.402262] ISOFS: changing to secondary root ~ The NetworkManager uses usb0 and connects it. With nm-applet you can manage the connections. Of course the ZTEMF823 is a router with web management for configuration of the "real" connections. You may start a browser to make it auto connecting. Thomas From thaller@redhat.com Wed Jun 24 12:29:48 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id E338176A6A for ; Wed, 24 Jun 2015 12:29:48 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -8.329 X-Spam-Level: X-Spam-Status: No, score=-8.329 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.428, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WvrEd6vy87me for ; Wed, 24 Jun 2015 12:29:48 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 68DD5769BC for ; Wed, 24 Jun 2015 12:29:37 +0000 (UTC) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id ABF9D8F247; Wed, 24 Jun 2015 12:29:36 +0000 (UTC) Received: from x250 (dhcp-24-135.brq.redhat.com [10.34.24.135]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5OCTYGD014346 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Wed, 24 Jun 2015 08:29:36 -0400 Message-ID: <1435148967.7090.3.camel@redhat.com> Subject: Re: Auto Ethernet From: Thomas Haller To: poma , Network Manager Date: Wed, 24 Jun 2015 14:29:27 +0200 In-Reply-To: <55883980.1020502@gmail.com> References: <55883980.1020502@gmail.com> Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-sOk0M3al0fbAhcs2qJLT" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2015 12:29:49 -0000 --=-sOk0M3al0fbAhcs2qJLT Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2015-06-22 at 18:36 +0200, poma wrote: > NetworkManager-1.0.4-0.1.git20150618.8cffaf3bf5 > This does not work: > "By default, NetworkManager creates a temporary wired connection for=20 > any Ethernet device > that is managed and doesn't have a connection configured." >=20 There is a configuration option: [main] no-auto-default=3D* (see `man NetworkManger.conf`) Do you have that? Note that the package "NetworkManager-config-server" installs this configuration option. Otherwise, do you have the MAC address blacklisted in /var/lib/NetworkManager/no-auto-default.state ? Thomas --=-sOk0M3al0fbAhcs2qJLT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJViqKnAAoJECnCNm5N/FcobmYP/RfGcUeAGLOLsWvKd3MXxawV DXMvnqUOIcssIe1kLjvpE254gbw7/7LP8eBOMiieYIsQG6ZTHno4DiFkCPMvie38 pGagPC8fSXnHg+j849iaBWyP0habCNQtjn5xWy48u9iQGtnLUUjsgRi4uDxO+xeG WNvkkvCeE3M0YrCrswFbad9h4yXcogEjoYqeg/ub6QhhPBVITZYvlBwY7x9EOSq4 OKSkZ6Dx6SC4niM50K64VI/mXYgsaeskQE6i2or3i/NwsfP4AtrNi28fx3PtsYiT 7EJJ54BrMG5CLC81AlJ0gxZIvAlXJ1oq7l/llQai8sMveJJIp1akHAWpCZ9guFy6 V+dF2IcmIWMOCgddzIfzWWH/AX8OBqXtv7AHmNQAeSWQdVrg5dmKMvDcfKM2l7DJ 4yKZ5ozCsZ2e4fcmZoMvhTuHZhevhFRH+B/e2XBqr+57a0mld9kZ3OjwHrryoWFq Jj9bw+pO6LIr3aP6n3lmEHCbjcsp7Wa8WxEJ6b2jYV4hDzJRWYaojNRhWzestaKM hr5+IqzHNiCrXYgtG00K1VZDKoR/qDcBmPUbqy7yPUcQvOZLbZjQB/+2ZAGvE1hz eehXE5vOc79jWcirbhECJV+YLvBz7X7MVRHD0u7PY+0eUHtnEwQDYDMe590JWOnh 8v/fHfct+UDnPBSKd6zb =4LJe -----END PGP SIGNATURE----- --=-sOk0M3al0fbAhcs2qJLT-- From pomidorabelisima@gmail.com Wed Jun 24 14:01:47 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 1670276A65 for ; Wed, 24 Jun 2015 14:01:47 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JbEIBeU8lFo9 for ; Wed, 24 Jun 2015 14:01:46 +0000 (UTC) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by restaurant.gnome.org (Postfix) with ESMTP id D12607699B for ; Wed, 24 Jun 2015 14:01:34 +0000 (UTC) Received: by wguu7 with SMTP id u7so37170414wgu.3 for ; Wed, 24 Jun 2015 07:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=d8jYNbvoZ4JTCSOa47aHib1thJV3zC8HyucCmyrsxVo=; b=nGJEBs7u+4OdcI76mBRcnrIbXbcFNQmy0UX7gnEZHfep/cgnZRByR28LGmahGdyw2I NTfPjqGzDlI8yBCp2jYKwY+s0dI8SEId/FUB+Tz00hdrtXFDpqpc/jZiO9YwJAYpTsZ0 HHIy4BUAA2xOKPac6GZkDC3lLbc7r+SfVGhEo07P3mUwIZpdx2Dj0IGxhKhm6Tpn/pgQ cpZ77r1Tp23mdA5ppxylMWpsC5A1tZ/0eT6uYPxOKSzuvnYIz+Xbij/rKa1j8L3yL0wj BWuapDXb/gvtP5KvXbTeqmDXfcJdJhfnyqD+sgHUH/tTQ3N1fdkCalbZtfuRTXFl9SQy pbLw== X-Received: by 10.180.13.10 with SMTP id d10mr5234119wic.57.1435154492623; Wed, 24 Jun 2015 07:01:32 -0700 (PDT) Received: from localhost (iskon5893.duo.carnet.hr. [31.147.119.5]) by mx.google.com with ESMTPSA id df1sm2748629wib.12.2015.06.24.07.01.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jun 2015 07:01:31 -0700 (PDT) Message-ID: <558AB839.8010504@gmail.com> Date: Wed, 24 Jun 2015 16:01:29 +0200 From: poma User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Thomas Haller , Network Manager Subject: Re: Auto Ethernet References: <55883980.1020502@gmail.com> <1435148967.7090.3.camel@redhat.com> In-Reply-To: <1435148967.7090.3.camel@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2015 14:01:47 -0000 On 24.06.2015 14:29, Thomas Haller wrote: > On Mon, 2015-06-22 at 18:36 +0200, poma wrote: >> NetworkManager-1.0.4-0.1.git20150618.8cffaf3bf5 >> This does not work: >> "By default, NetworkManager creates a temporary wired connection for >> any Ethernet device >> that is managed and doesn't have a connection configured." >> > > > There is a configuration option: > > [main] > no-auto-default=* > > (see `man NetworkManger.conf`) > > Do you have that? > $ ls -R /etc/NetworkManager/ /etc/NetworkManager/: conf.d dispatcher.d dnsmasq.d NetworkManager.conf system-connections VPN /etc/NetworkManager/conf.d: 10-ibft-plugin.conf /etc/NetworkManager/dispatcher.d: 00-netreport 04-iscsi 10-ifcfg-rh-routes.sh 11-dhclient 20-chrony pre-down.d pre-up.d /etc/NetworkManager/dispatcher.d/pre-down.d: /etc/NetworkManager/dispatcher.d/pre-up.d: 10-ifcfg-rh-routes.sh /etc/NetworkManager/dnsmasq.d: /etc/NetworkManager/system-connections: /etc/NetworkManager/VPN: $ > > Note that the package "NetworkManager-config-server" installs this > configuration option. > > $ rpm -qa NetworkManager* NetworkManager-team-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64 NetworkManager-libnm-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64 NetworkManager-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64 NetworkManager-wwan-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64 NetworkManager-tui-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64 NetworkManager-wifi-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64 NetworkManager-glib-1.0.4-0.1.git20150618.8cffaf3bf5.fc23.x86_64 > > Otherwise, do you have the MAC address blacklisted in > /var/lib/NetworkManager/no-auto-default.state > ? > $ file /var/lib/NetworkManager/no-auto-default.state /var/lib/NetworkManager/no-auto-default.state: cannot open `/var/lib/NetworkManager/no-auto-default.state' (No such file or directory) > > Thomas > As you can see yourself, this is NetworkManager from Rawhide stock. Moreover it is part of LiveCD test compilation, so what you see in DEBUG log comes from pristine boot. The only thing that I added via kickstart config is: $ cat /etc/systemd/system/NetworkManager.service.d/debug.conf [Service] ExecStart= ExecStart=/usr/sbin/NetworkManager --no-daemon --debug --log-level=DEBUG BTW NetworkManager-1.0.2-1 works OK in this respect. From pomidorabelisima@gmail.com Wed Jun 24 18:08:55 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 6B0C6769CB for ; Wed, 24 Jun 2015 18:08:55 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id el_XU2M41gXH for ; Wed, 24 Jun 2015 18:08:54 +0000 (UTC) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by restaurant.gnome.org (Postfix) with ESMTP id 5F7B87699B for ; Wed, 24 Jun 2015 18:08:43 +0000 (UTC) Received: by wgbhy7 with SMTP id hy7so42978493wgb.2 for ; Wed, 24 Jun 2015 11:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=BF0WmVTHjjAx+Y/U3IICItIbx3r2WtX/kd/TFdyl4a4=; b=W5pFt46yCGFqjBGSnAKKu3X2+AJe3k+jzrRp7Y5tw+Li//5ValBCTrvtSvVm1bdZKs nANjAZT9+6j1m/2YzXiBdoJieCp4DNtt22Qie3vVUAZaBe9/vzfxoph5DFfUHmVdqLyV EsMtmj+SPCTh/XqOg4FDM1KJbR8MMreGO1mXNKUYN0Zzx6vDLSs9svykUhnpZ6g6KPpT T3OhxL1OvF3kFmsdHzWBvUo4AIPCXTT51beq4jsHbUw5EQ1F4G9MkbQmTmQKdgbvc4eu Q8vMFWLwO4HJQU3MfVLxELv5BCjFbg0kio68UW7mR7pvBuBf81sqPMI61HfOMV0LO+1W o+7g== X-Received: by 10.180.101.138 with SMTP id fg10mr7161948wib.46.1435169322250; Wed, 24 Jun 2015 11:08:42 -0700 (PDT) Received: from localhost (iskon5893.duo.carnet.hr. [31.147.119.5]) by mx.google.com with ESMTPSA id fx7sm41777924wjb.10.2015.06.24.11.08.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jun 2015 11:08:41 -0700 (PDT) Message-ID: <558AF227.2070909@gmail.com> Date: Wed, 24 Jun 2015 20:08:39 +0200 From: poma User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Thomas Haller , Network Manager Subject: Re: Auto Ethernet References: <55883980.1020502@gmail.com> <1435148967.7090.3.camel@redhat.com> <558AB839.8010504@gmail.com> In-Reply-To: <558AB839.8010504@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2015 18:08:55 -0000 NetworkManager-1.0.4-0.1.git20160624.f245b49a PASSED From thaller@redhat.com Wed Jun 24 19:54:29 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 6A04A7699B for ; Wed, 24 Jun 2015 19:54:29 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -8.329 X-Spam-Level: X-Spam-Status: No, score=-8.329 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.428, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tii999K8xdJ6 for ; Wed, 24 Jun 2015 19:54:29 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id ED944768B9 for ; Wed, 24 Jun 2015 19:54:13 +0000 (UTC) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 6B19DCA638; Wed, 24 Jun 2015 19:54:12 +0000 (UTC) Received: from x250 (ovpn-204-45.brq.redhat.com [10.40.204.45]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5OJs7NC011522 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Wed, 24 Jun 2015 15:54:11 -0400 Message-ID: <1435175634.3244.0.camel@redhat.com> Subject: Re: Auto Ethernet From: Thomas Haller To: poma , Network Manager Date: Wed, 24 Jun 2015 21:53:54 +0200 In-Reply-To: <558AF227.2070909@gmail.com> References: <55883980.1020502@gmail.com> <1435148967.7090.3.camel@redhat.com> <558AB839.8010504@gmail.com> <558AF227.2070909@gmail.com> Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-nos/sYAvlrdqDzHt8ggM" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2015 19:54:29 -0000 --=-nos/sYAvlrdqDzHt8ggM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2015-06-24 at 20:08 +0200, poma wrote: > NetworkManager-1.0.4-0.1.git20160624.f245b49a > PASSED Good to know. Thank you for testing... But locking at the history (git diff 8cffaf3bf5 f245b49a), it's not clear to me why it was broken, or which commit fixed it. Thomas --=-nos/sYAvlrdqDzHt8ggM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJViwrSAAoJECnCNm5N/FcoqvsP/3mkX6swrUGhZEqq/Ada6sYc HtZvFB20yAbx/MeqFOmkNIZpeg6hl/i9qpaEpbLF0XJLG+d/u/yuD+GgTPgDR8cr PwH8S/G2IACKofH6eAZDTiDLxpbXuaaII8j5WAN26RVjiBr/5rGZ4JjavpOM+tC6 YMPOicLd9fEtTt278/un9B3QaG9DE3BoUrUvaV3s4IMUz2GV+DaFZHuXlOscQbur uAXwmke96FkAWjeki3tZkv+eIoX6gGAWsGMXZbAxSlXPzPttWCjTbEfX+UCo0sZ3 ekq5aAsZ3k3StTxmnuYYkMMi8QU/11Slr3YyU2AM+fqHHxpjPmEgtEOZPBEbvk7d mfzRIBdjzEB4dEYE9ETcr3sw2YYWF9KJzanezcLqIOVPwEZunoEYX0XXg94GcIgv kNP/IKEU+8BBBZ8tN/b+hkUNRioQ+qkYAXL+IbG5mu45McSFKz8cSwcaUAFU/so5 FDnGgFfVHeik/a70kv/Dn2z0jH5qm/F9iSPS4WbOuGL79cKKaPFzpERrAEgTlV1I ZVW9fn/0t37KbNUfnoTiSz5bPo5YKks0IVXPL9AuXUdMqGB2M8C4UlVbNmzvhbhw kZ921rs4vtCdAbK3GQ5CTP9KeIDwDaSzI8vVW6S1pRqIdyEULJtlFHohVPf+aApV RhC2dDLHexXXRNM/wVfJ =qAif -----END PGP SIGNATURE----- --=-nos/sYAvlrdqDzHt8ggM-- From lkundrak@v3.sk Thu Jun 25 09:02:35 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 2BC88769B8 for ; Thu, 25 Jun 2015 09:02:35 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.33 X-Spam-Level: X-Spam-Status: No, score=-3.33 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.429, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GtKlNLAqRVYj for ; Thu, 25 Jun 2015 09:02:33 +0000 (UTC) X-Greylist: delayed 572 seconds by postgrey-1.34 at restaurant.gnome.org; Thu, 25 Jun 2015 09:02:32 UTC Received: from shell.v3.sk (shell.v3.sk [92.60.52.57]) by restaurant.gnome.org (Postfix) with ESMTP id CEA14765BB for ; Thu, 25 Jun 2015 09:02:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 34E7F70719 for ; Thu, 25 Jun 2015 10:52:45 +0200 (CEST) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id D5plLvCrQgdI for ; Thu, 25 Jun 2015 10:52:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 3CD0870D57 for ; Thu, 25 Jun 2015 10:52:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EVjOTMg5Qtn5 for ; Thu, 25 Jun 2015 10:52:40 +0200 (CEST) Received: from dhcp-0-213.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id B12FD70719 for ; Thu, 25 Jun 2015 10:52:40 +0200 (CEST) Message-ID: <1435222360.25172.21.camel@v3.sk> Subject: Docker images with NetworkManager From: Lubomir Rintel To: Network Manager Date: Thu, 25 Jun 2015 10:52:40 +0200 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.3 (3.16.3-2.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 09:02:35 -0000 Hi, I've switched my NetworkManager image (with Fedora and systemd) to the nm-1-0 stable branch and added an image for CentOS 7: https://registry.hub.docker.com/u/lkundrak/network-manager/ https://registry.hub.docker.com/u/lkundrak/centos-network-manager/ They mostly serve as a proof-of-concept that we work just fine in containers, but maybe someone would find a more useful use for it. Regards, Lubo From lkundrak@v3.sk Thu Jun 25 09:07:28 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 861C3768BC for ; Thu, 25 Jun 2015 09:07:28 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.33 X-Spam-Level: X-Spam-Status: No, score=-3.33 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.429, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BtXuW38A9Vdj for ; Thu, 25 Jun 2015 09:07:26 +0000 (UTC) Received: from shell.v3.sk (shell.v3.sk [92.60.52.57]) by restaurant.gnome.org (Postfix) with ESMTP id 85854765BB for ; Thu, 25 Jun 2015 09:07:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 1E60C5EAFE; Thu, 25 Jun 2015 10:57:24 +0200 (CEST) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id KNeryiWeWNqP; Thu, 25 Jun 2015 10:57:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 2437671E95; Thu, 25 Jun 2015 10:57:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id srAQblgbO6sB; Thu, 25 Jun 2015 10:57:19 +0200 (CEST) Received: from dhcp-0-213.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id 88B8A5EAFE; Thu, 25 Jun 2015 10:57:19 +0200 (CEST) Message-ID: <1435222639.25172.24.camel@v3.sk> Subject: Re: [PATCH v2 1/2] Allow building without gtk-doc installed From: Lubomir Rintel To: Petr Vorel , networkmanager-list@gnome.org Date: Thu, 25 Jun 2015 10:57:19 +0200 In-Reply-To: <1434669927-9019-1-git-send-email-petr.vorel@gmail.com> References: <1434669927-9019-1-git-send-email-petr.vorel@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.3 (3.16.3-2.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 09:07:28 -0000 This doesn't look good to me. autogen.sh is a maintainer tool and we pretty much always want to create tarballs with GTK-doc. Why don't you just use autoreconf (with -f and -i) instead of autogen.sh when doing builds off Git? On Fri, 2015-06-19 at 01:25 +0200, Petr Vorel wrote: > This requires creating minimal gtk-doc.make and check for > GTK_DOC_CHECK > availability in configure.ac. > > Signed-off-by: Petr Vorel > --- > autogen.sh | 14 +++++++++++++- > configure.ac | 7 ++++++- > 2 files changed, 19 insertions(+), 2 deletions(-) > > diff --git a/autogen.sh b/autogen.sh > index 5ec9a5a..a7e1c17 100755 > --- a/autogen.sh > +++ b/autogen.sh > @@ -22,7 +22,19 @@ PKG_NAME=NetworkManager > > cd $srcdir > > -gtkdocize > +GTKDOCIZE=`which gtkdocize` || true > +if test -z $GTKDOCIZE; then > + echo "**Warning**: No GTK-Doc found, documentation won't be > generated" >&2 > + echo " and 'make dist' and 'make distcheck' will not work." >&2 > + > + # create minimal gtk-doc.make if missing as we depend on it > + if test -f gtk-doc.make; then :; else > + printf "EXTRA_DIST = \nCLEANFILES = \n" > gtk-doc.make > + fi > +else > + gtkdocize || exit $? > +fi > + > autopoint --force > AUTOPOINT='intltoolize --automake --copy' autoreconf --force - > -install --verbose > > diff --git a/configure.ac b/configure.ac > index e1a1917..c776d3d 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -898,7 +898,12 @@ AS_IF([test "$with_valgrind" != "no"], > AC_SUBST(VALGRIND_RULES, [])) > AM_CONDITIONAL(WITH_VALGRIND, test "${with_valgrind}" != "no") > > -GTK_DOC_CHECK(1.0) > +# Check for GTK_DOC_CHECK availability. The GTK_DOC_CHECK invocation > +# must be on its own line, gtkdocize relies on it > +m4_ifdef([GTK_DOC_CHECK], [ > +GTK_DOC_CHECK([1.0]) > +]) > +AM_CONDITIONAL(ENABLE_GTK_DOC, test "$enable_gtk_doc" = "yes") > > # check for pregenerated manpages to be installed > install_pregen_manpages=no From pomidorabelisima@gmail.com Thu Jun 25 14:26:39 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 55ECD769B8 for ; Thu, 25 Jun 2015 14:26:39 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2DZyS0LTrNgs for ; Thu, 25 Jun 2015 14:26:38 +0000 (UTC) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by restaurant.gnome.org (Postfix) with ESMTP id 3E31B768BC for ; Thu, 25 Jun 2015 14:26:27 +0000 (UTC) Received: by wiwl6 with SMTP id l6so19755612wiw.0 for ; Thu, 25 Jun 2015 07:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=uHYfQNLDZEk6OUIeWypCtjVzCfHVcjuakmLVY+UtkoQ=; b=v1ZlbPItcFSthnhlWaIqzPsAXjNIJyRKpkwqiB/BhLXKK1qr9ZRexTMC3ofe/Qh5x0 AmVEkxt4Z4k/wrM9tsPG9F/mBDFHSfA7EuaHYxaoaGQv0b2s/2V+Fuv5i8RiDlDqSbkB MQWrO2loYaDBu6FExlKA3WVwNvRHvKk3VdEy/k+EjpwJiRXOgOlHF3UdKBWEwdHKsFFf Z4mPZeYa5NzaqJZhmTtR19Q0/txt+bnGsWDGQZeT8tmzTtcSEKeCnHJ1pvVE54xPlXyj qD1SHwQ0sQ9vCwPKrux3nGNE/b8/KbLbtU5uPiF+Hf7ckL/TNGnEEjaGfhx12DREV7QJ AF9A== X-Received: by 10.180.198.10 with SMTP id iy10mr6266371wic.46.1435242385923; Thu, 25 Jun 2015 07:26:25 -0700 (PDT) Received: from localhost (iskon7982.duo.carnet.hr. [31.147.127.46]) by mx.google.com with ESMTPSA id y19sm7877752wia.15.2015.06.25.07.26.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jun 2015 07:26:24 -0700 (PDT) Message-ID: <558C0F8F.7010802@gmail.com> Date: Thu, 25 Jun 2015 16:26:23 +0200 From: poma User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Thomas Haller , Network Manager Subject: Re: Auto Ethernet References: <55883980.1020502@gmail.com> <1435148967.7090.3.camel@redhat.com> <558AB839.8010504@gmail.com> <558AF227.2070909@gmail.com> <1435175634.3244.0.camel@redhat.com> In-Reply-To: <1435175634.3244.0.camel@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 14:26:39 -0000 On 24.06.2015 21:53, Thomas Haller wrote: > On Wed, 2015-06-24 at 20:08 +0200, poma wrote: >> NetworkManager-1.0.4-0.1.git20160624.f245b49a >> PASSED > > Good to know. Thank you for testing... > > > But locking at the history (git diff 8cffaf3bf5 f245b49a), it's not > clear to me why it was broken, or which commit fixed it. > > > Thomas > Maybe something happened with the flux capacitor between git20160624.f245b49a and git20150624.f245b49a. You should ask Doc. ;) From lkundrak@v3.sk Fri Jun 26 11:03:48 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 442F076AE3 for ; Fri, 26 Jun 2015 11:03:48 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.329 X-Spam-Level: X-Spam-Status: No, score=-3.329 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.428, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tH9Y5pmXQm6F for ; Fri, 26 Jun 2015 11:03:46 +0000 (UTC) Received: from shell.v3.sk (shell.v3.sk [92.60.52.57]) by restaurant.gnome.org (Postfix) with ESMTP id 7630C762B3 for ; Fri, 26 Jun 2015 11:03:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id D973168678 for ; Fri, 26 Jun 2015 13:03:32 +0200 (CEST) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id gi0X7hdIPcaZ for ; Fri, 26 Jun 2015 13:03:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id F253768691 for ; Fri, 26 Jun 2015 13:03:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ckxHovljBH_Q for ; Fri, 26 Jun 2015 13:03:30 +0200 (CEST) Received: from dhcp-0-213.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id 7044768678 for ; Fri, 26 Jun 2015 13:03:30 +0200 (CEST) Message-ID: <1435316609.25172.57.camel@v3.sk> Subject: 1.0.4 release next week? From: Lubomir Rintel To: Network Manager Date: Fri, 26 Jun 2015 13:03:29 +0200 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.3 (3.16.3-2.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 11:03:48 -0000 Hello, it's some time since the 1.0.2 release already and the nm-1-0 branch now has plenty bug fixes and enhancements. Moreover, significant effort has been done at Red Hat to test and stabilize the branch for the next update of the Enterprise Linux distribution. It sounds like it's a good idea to conduct some manual smoke testing and do a release during the next week. Would anyone mind? The NEWS file has already been updated to reflect the newsworthy changes that are already in: http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/NEWS?h=nm-1-0 If anyone needs anything cherry-picked from the master branch, now is the good time to do it (or ask us to do the backport). Comments, ideas, opinions? Thank you, Lubo From tore@fud.no Fri Jun 26 16:06:19 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 4B84776A4C for ; Fri, 26 Jun 2015 16:06:19 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XLT2EJRfxKNH for ; Fri, 26 Jun 2015 16:06:18 +0000 (UTC) Received: from greed.fud.no (nat64-247-osl2.n.bitbit.net [87.238.61.247]) by restaurant.gnome.org (Postfix) with ESMTP id 20EC6762B3 for ; Fri, 26 Jun 2015 16:06:02 +0000 (UTC) Received: from [2a02:fe0:c412:1fe0::1] (port=46580 helo=envy.fud.no) by greed.fud.no with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1Z8W8d-0003sL-0X; Fri, 26 Jun 2015 18:05:59 +0200 Date: Fri, 26 Jun 2015 18:05:58 +0200 From: Tore Anderson To: Lubomir Rintel Subject: Re: 1.0.4 release next week? Message-ID: <20150626180558.2f8dd5a8@envy.fud.no> In-Reply-To: <1435316609.25172.57.camel@v3.sk> References: <1435316609.25172.57.camel@v3.sk> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Network Manager X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 16:06:19 -0000 * Lubomir Rintel > It sounds like it's a good idea to conduct some manual smoke testing > and do a release during the next week. Would anyone mind? > > [...] > > Comments, ideas, opinions? Hi, Is there any hope that the bug below could be fixed in the 1.0 branch before the release, so that IPv6 can consistently work on mobile broadband out of the box? I'm guessing it's not a terribly complicated bug to fix. "IPv6 disabled by default when nm-applet creates a new WWAN connection" https://bugzilla.redhat.com/show_bug.cgi?id=1221391 Tore From pieter.cardoen@hotmail.com Mon Jun 29 10:57:13 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id D95A8769CE for ; Mon, 29 Jun 2015 10:57:13 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.07 X-Spam-Level: X-Spam-Status: No, score=-1.07 tagged_above=-999 required=2 tests=[BAYES_05=-0.5, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.571, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zpbGHN_NsfL3 for ; Mon, 29 Jun 2015 10:57:12 +0000 (UTC) Received: from DUB004-OMC4S31.hotmail.com (dub004-omc4s31.hotmail.com [157.55.2.106]) by restaurant.gnome.org (Postfix) with ESMTP id 7FBAD7694D for ; Mon, 29 Jun 2015 10:57:01 +0000 (UTC) Received: from DUB120-W15 ([157.55.2.71]) by DUB004-OMC4S31.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 29 Jun 2015 03:57:00 -0700 X-TMN: [Z9KBRv8uo20xQr9knEtwoRgoK4F51pGJ] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_dcad06a0-902b-444a-a7aa-59bc474dbbfb_" From: Pieter Cardoen To: "networkmanager-list@gnome.org" Subject: WiFi roaming & Modem handover Date: Mon, 29 Jun 2015 12:56:59 +0200 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 29 Jun 2015 10:57:00.0388 (UTC) FILETIME=[530C9A40:01D0B25A] X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 10:57:13 -0000 --_dcad06a0-902b-444a-a7aa-59bc474dbbfb_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I would like to have some information on how NetworkManager takes care of h= andover between Access Points and between Networks:How does NetworkManager = handle WiFi handover between different APs of one network?How does NetworkM= anager handle handover between different networks: i.e. a mobile network an= d a WiFi network. Thanks! = --_dcad06a0-902b-444a-a7aa-59bc474dbbfb_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I would like to have some inform= ation on how NetworkManager takes care of handover between Access Points an= d between Networks:
How does NetworkManager handle WiFi handover betwee= n different APs of one network?
How does NetworkManager handle ha= ndover between different networks: i.e. a mobile network and a WiFi network= .

Thanks!
= --_dcad06a0-902b-444a-a7aa-59bc474dbbfb_-- From thaller@redhat.com Mon Jun 29 13:43:22 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id C54397699A for ; Mon, 29 Jun 2015 13:43:22 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.473 X-Spam-Level: X-Spam-Status: No, score=-7.473 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.571, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qBWQVvjQo-JD for ; Mon, 29 Jun 2015 13:43:22 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 4F02D7624D for ; Mon, 29 Jun 2015 13:43:11 +0000 (UTC) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id CDB419248F; Mon, 29 Jun 2015 13:43:10 +0000 (UTC) Received: from x250 (dhcp-24-135.brq.redhat.com [10.34.24.135]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5TDh8s7009260 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Mon, 29 Jun 2015 09:43:10 -0400 Message-ID: <1435585375.18222.3.camel@redhat.com> Subject: Re: WiFi roaming & Modem handover From: Thomas Haller To: Pieter Cardoen , "networkmanager-list@gnome.org" Date: Mon, 29 Jun 2015 15:42:55 +0200 In-Reply-To: References: Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-oR5kQwL2+k1b9h/eHt1V" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 13:43:22 -0000 --=-oR5kQwL2+k1b9h/eHt1V Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2015-06-29 at 12:56 +0200, Pieter Cardoen wrote: > I would like to have some information on how NetworkManager takes=20 > care of handover between Access Points and between Networks: > How does NetworkManager handle WiFi handover between different APs of=20 > one network? Do you mean roaming? That is entirely done by wpa_supplicant. > How does NetworkManager handle handover between different networks:=20 > i.e. a mobile network and a WiFi network. What do you mean with "handover" here? You can have different networks ("connections" in NetworkManager speak) active at the same time. In that case, priorities are determined based on routing and route metrics. The same is true for the default-route. Not sure if that answers your questions :) Thomas --=-oR5kQwL2+k1b9h/eHt1V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVkUtfAAoJECnCNm5N/Fco+/IP/R0M9kDdHovfaxCFm8m71RxN T+OPPST+kNKJO1qCqCxV6Y1GCfFFSkCe4CG9BHWzfxdgU427IBwyY4O4klKhU9OG Icc2xSF8NhgxUn3y5PYLvmpyULhntlq1QiNP/uvxf7xzkrUoi1ZEwrZ3qPUEvGcD rmLwB1gDIH34IJvvrQJ97PRCk3xJi4I5SIZPz2yWeM4xfi+FJxRLBcKotaK0pVgn TSeKBE/dk/dn0hpmQ/SGIjbxVOMqUZjWCtU0Qi2in63nc2ZIahWojC3x7OEEnl5L gnXkuQRvZHPBGeRTJghuGyzFN7lcAwcChPhmlIFxzrLWNHplakm+c3EFUgNiWV2k PkxRY78FcMkGcsHBBMHSS28TbcrfCCYKIKxPno72/q+5AyYVr3jWx3uJQbN5Aeu6 oHHxtL641t9x2vpDoJmG+wyejqgR/r3gLFMd2DSGe1V9wqYKhPtTV1sBIZfxZQOG leueiPx/RYHV1erLB8sC5lhl3k4TbpfVUsyUheC1vqG9pozJpbNVQjNr2idcJfUf sEg6KLHbCLFVAjF9i8+nufXjmlct7ndhJMmobbI0or4nya2Vc62xCOkd1/opoFdQ +/AehTU4i9LcoRRgJ/nKJ2LOWWjuaTzWnkWfwUzbLU89RS1pd3bAigp6mS/leeSX cCr8chk1n6z1hiI8oBfz =uAVw -----END PGP SIGNATURE----- --=-oR5kQwL2+k1b9h/eHt1V-- From pieter.cardoen@hotmail.com Mon Jun 29 14:59:38 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id DB969769F6 for ; Mon, 29 Jun 2015 14:59:38 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.47 X-Spam-Level: X-Spam-Status: No, score=-2.47 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.571, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F-Ip4pcqkc-w for ; Mon, 29 Jun 2015 14:59:37 +0000 (UTC) Received: from DUB004-OMC3S14.hotmail.com (dub004-omc3s14.hotmail.com [157.55.2.23]) by restaurant.gnome.org (Postfix) with ESMTP id 1803276952 for ; Mon, 29 Jun 2015 14:59:26 +0000 (UTC) Received: from DUB120-W47 ([157.55.2.8]) by DUB004-OMC3S14.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 29 Jun 2015 07:59:24 -0700 X-TMN: [hYWfAmbHpTjkHbyPrpdbqGgdmODzccw/] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_a44f0aec-4d19-4412-ad3f-d224d2b1e939_" From: Pieter Cardoen To: Thomas Haller , "networkmanager-list@gnome.org" Subject: RE: WiFi roaming & Modem handover Date: Mon, 29 Jun 2015 16:59:24 +0200 Importance: Normal In-Reply-To: <1435585375.18222.3.camel@redhat.com> References: , <1435585375.18222.3.camel@redhat.com> MIME-Version: 1.0 X-OriginalArrivalTime: 29 Jun 2015 14:59:24.0705 (UTC) FILETIME=[30234110:01D0B27C] X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 14:59:38 -0000 --_a44f0aec-4d19-4412-ad3f-d224d2b1e939_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > Subject: Re: WiFi roaming & Modem handover > From: thaller@redhat.com > To: pieter.cardoen@hotmail.com=3B networkmanager-list@gnome.org > Date: Mon=2C 29 Jun 2015 15:42:55 +0200 >=20 > On Mon=2C 2015-06-29 at 12:56 +0200=2C Pieter Cardoen wrote: > > I would like to have some information on how NetworkManager takes=20 > > care of handover between Access Points and between Networks: > > How does NetworkManager handle WiFi handover between different APs of=20 > > one network? >=20 > Do you mean roaming? That is entirely done by wpa_supplicant.Yes I do but= I also want to know how the roaming is managed by the wpa_supplicant. What= metric do they use to decide to change to another Access Point?>=20 > > How does NetworkManager handle handover between different networks:=20 > > i.e. a mobile network and a WiFi network. >=20 > What do you mean with "handover" here? You can have different networks > ("connections" in NetworkManager speak) active at the same time. > In that case=2C priorities are determined based on routing and route > metrics. The same is true for the default-route.This is indeed what I wan= t to know but I wonder when it is decided that a connection is down? It cou= ld be that the wifi can just be detected but almost no data goes over the n= etwork while a good 3G connection is available. Which metric is used to det= rmine that the connection is down? >=20 > Not sure if that answers your questions :) >=20 > Thomas = --_a44f0aec-4d19-4412-ad3f-d224d2b1e939_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable


>=3B Subject: Re:= WiFi roaming &=3B Modem handover
>=3B From: thaller@redhat.com
= >=3B To: pieter.cardoen@hotmail.com=3B networkmanager-list@gnome.org
&= gt=3B Date: Mon=2C 29 Jun 2015 15:42:55 +0200
>=3B
>=3B On Mon= =2C 2015-06-29 at 12:56 +0200=2C Pieter Cardoen wrote:
>=3B >=3B I w= ould like to have some information on how NetworkManager takes
>=3B &= gt=3B care of handover between Access Points and between Networks:
>= =3B >=3B How does NetworkManager handle WiFi handover between different A= Ps of
>=3B >=3B one network?
>=3B
>=3B Do you mean roami= ng? That is entirely done by wpa_supplicant.
Yes I do but I also = want to know how the roaming is managed by the wpa_supplicant. What metric = do they use to decide to change to another Access Point?
>=3B <= br>>=3B >=3B How does NetworkManager handle handover between different = networks:
>=3B >=3B i.e. a mobile network and a WiFi network.
&g= t=3B
>=3B What do you mean with "handover" here? You can have differe= nt networks
>=3B ("connections" in NetworkManager speak) active at the= same time.
>=3B In that case=2C priorities are determined based on ro= uting and route
>=3B metrics. The same is true for the default-route.<= /div>
This is indeed what I want to know but I wonder when it is decide= d that a connection is down? It could be that the wifi can just be detected= but almost no data goes over the network while a good 3G connection is ava= ilable. Which metric is used to detrmine that the connection is down?
&g= t=3B
>=3B Not sure if that answers your questions :)
>=3B
&g= t=3B Thomas
= --_a44f0aec-4d19-4412-ad3f-d224d2b1e939_-- From walters@verbum.org Mon Jun 29 15:11:24 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 90CB9769D7 for ; Mon, 29 Jun 2015 15:11:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5LG89S_ysqSi for ; Mon, 29 Jun 2015 15:11:23 +0000 (UTC) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by restaurant.gnome.org (Postfix) with ESMTP id 1B4CD76952 for ; Mon, 29 Jun 2015 15:11:06 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id AE6A020715 for ; Mon, 29 Jun 2015 11:11:05 -0400 (EDT) Received: from web4 ([10.202.2.214]) by compute3.internal (MEProxy); Mon, 29 Jun 2015 11:11:05 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=ybohb86/xWSbKQe Ty66r2SvBMKU=; b=djW+Hn3GBwQaRbBLzsd+iSvsPpJPcNUb2GsmTGsmPmBwnPl PDZSZ7m6R5/yJRoWj29Wqbx95hB7kGCpoYwdVLq6RRrnmGcU6hCSId6qNI2X+Gv+ lax1B+XQYC7TZ3ouuylAUiKgAgnbkDEs4VCkCjf069CDJ7wsQ/EurD8S3KgI= Received: by web4.nyi.internal (Postfix, from userid 99) id 81CA0111556; Mon, 29 Jun 2015 11:11:05 -0400 (EDT) Message-Id: <1435590665.2370979.310591761.30283B6C@webmail.messagingengine.com> X-Sasl-Enc: YnJRpRc7Bms+LR2HU/zOQLIJn8Lf4Xwo+hLazM/5eynL 1435590665 From: Colin Walters To: networkmanager-list@gnome.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-eecef38c In-Reply-To: <1435222639.25172.24.camel@v3.sk> References: <1434669927-9019-1-git-send-email-petr.vorel@gmail.com> <1435222639.25172.24.camel@v3.sk> Subject: Re: [PATCH v2 1/2] Allow building without gtk-doc installed Date: Mon, 29 Jun 2015 11:11:05 -0400 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 15:11:24 -0000 On Thu, Jun 25, 2015, at 04:57 AM, Lubomir Rintel wrote: > This doesn't look good to me. > > autogen.sh is a maintainer tool and we pretty much always want to > create tarballs with GTK-doc. FWIW glib supports this: https://git.gnome.org/browse/glib/tree/autogen.sh From dcbw@redhat.com Mon Jun 29 15:36:05 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 4D59E769D7 for ; Mon, 29 Jun 2015 15:36:05 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.472 X-Spam-Level: X-Spam-Status: No, score=-7.472 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.571, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gf3nK8t1dA50 for ; Mon, 29 Jun 2015 15:36:04 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id A3EBD76952 for ; Mon, 29 Jun 2015 15:35:54 +0000 (UTC) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id EE81EB595D; Mon, 29 Jun 2015 15:35:52 +0000 (UTC) Received: from vpn-232-120.phx2.redhat.com (vpn-232-120.phx2.redhat.com [10.3.232.120]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5TFZp3e010204; Mon, 29 Jun 2015 11:35:52 -0400 Message-ID: <1435592151.2862.9.camel@redhat.com> Subject: Re: WiFi roaming & Modem handover From: Dan Williams To: Pieter Cardoen Date: Mon, 29 Jun 2015 10:35:51 -0500 In-Reply-To: References: , <1435585375.18222.3.camel@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Cc: "networkmanager-list@gnome.org" X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 15:36:05 -0000 On Mon, 2015-06-29 at 16:59 +0200, Pieter Cardoen wrote: > > > Subject: Re: WiFi roaming & Modem handover > > From: thaller@redhat.com > > To: pieter.cardoen@hotmail.com; networkmanager-list@gnome.org > > Date: Mon, 29 Jun 2015 15:42:55 +0200 > > > > On Mon, 2015-06-29 at 12:56 +0200, Pieter Cardoen wrote: > > > I would like to have some information on how NetworkManager takes > > > care of handover between Access Points and between Networks: > > > How does NetworkManager handle WiFi handover between different APs of > > > one network? > > > > Do you mean roaming? That is entirely done by wpa_supplicant.Yes I do but I also want to know how the roaming is managed by the wpa_supplicant. What metric do they use to decide to change to another Access Point?> > > > How does NetworkManager handle handover between different networks: > > > i.e. a mobile network and a WiFi network. > > > > What do you mean with "handover" here? You can have different networks > > ("connections" in NetworkManager speak) active at the same time. > > In that case, priorities are determined based on routing and route > > metrics. The same is true for the default-route.This is indeed what I want to know but I wonder when it is decided that a connection is down? It could be that the wifi can just be detected but almost no data goes over the network while a good 3G connection is available. Which metric is used to detrmine that the connection is down? > > > > Not sure if that answers your questions :) > > > > Thomas Attempting to reply to Pieter's HTML-only message... > Yes I do but I also want to know how the roaming is managed by the wpa_supplicant. What metric do they use to decide to change to another Access Point? wpa_supplicant roams to another AP of the same SSID+security when the current AP's signal strength drops below a threshold, and the other AP's signal strength is better. The supplicant attempts to balance stability with throughput, to ensure that it doesn't jump between APs too often (since doing so causes latency and increases the chance for disconnections) but still uses the best possible AP for max throughput. > This is indeed what I want to know but I wonder when it is decided that a connection is down? It could be that the wifi can just be detected but almost no data goes over the network while a good 3G connection is available. Which metric is used to detrmine that the connection is down? NetworkManager decides that the WiFi connection is down when either the driver or the AP disconnect the connection. Throughput or bitrate is not currently taken into accound. Dan From dcbw@redhat.com Mon Jun 29 15:52:26 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id C7B53769D7 for ; Mon, 29 Jun 2015 15:52:26 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.472 X-Spam-Level: X-Spam-Status: No, score=-7.472 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.571, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ngGXA1-z8_aJ for ; Mon, 29 Jun 2015 15:52:25 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 9B39F76952 for ; Mon, 29 Jun 2015 15:52:15 +0000 (UTC) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 88E97359A5B; Mon, 29 Jun 2015 15:52:13 +0000 (UTC) Received: from vpn-232-120.phx2.redhat.com (vpn-232-120.phx2.redhat.com [10.3.232.120]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5TFqAmP014221; Mon, 29 Jun 2015 11:52:11 -0400 Message-ID: <1435593130.2862.10.camel@redhat.com> Subject: Re: 1.0.4 release next week? From: Dan Williams To: Tore Anderson Date: Mon, 29 Jun 2015 10:52:10 -0500 In-Reply-To: <20150626180558.2f8dd5a8@envy.fud.no> References: <1435316609.25172.57.camel@v3.sk> <20150626180558.2f8dd5a8@envy.fud.no> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Cc: Network Manager X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 15:52:26 -0000 On Fri, 2015-06-26 at 18:05 +0200, Tore Anderson wrote: > * Lubomir Rintel > > > It sounds like it's a good idea to conduct some manual smoke testing > > and do a release during the next week. Would anyone mind? > > > > [...] > > > > Comments, ideas, opinions? > > Hi, > > Is there any hope that the bug below could be fixed in the 1.0 branch > before the release, so that IPv6 can consistently work on mobile > broadband out of the box? I'm guessing it's not a terribly complicated > bug to fix. > > "IPv6 disabled by default when nm-applet creates a new WWAN connection" > > https://bugzilla.redhat.com/show_bug.cgi?id=1221391 I posted some quick patches for that, can you check that they work for you? Thanks! Dan From thaller@redhat.com Mon Jun 29 16:26:10 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 301B476A04 for ; Mon, 29 Jun 2015 16:26:10 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.472 X-Spam-Level: X-Spam-Status: No, score=-7.472 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.571, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9-vOlv6FbFtH for ; Mon, 29 Jun 2015 16:26:09 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 586DB769D7 for ; Mon, 29 Jun 2015 16:25:58 +0000 (UTC) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id AF5D18E71A; Mon, 29 Jun 2015 16:25:56 +0000 (UTC) Received: from x250 (dhcp-24-135.brq.redhat.com [10.34.24.135]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5TGPsAF032534 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Mon, 29 Jun 2015 12:25:56 -0400 Message-ID: <1435595153.18222.32.camel@redhat.com> Subject: Re: 1.0.4 release next week? From: Thomas Haller To: Lubomir Rintel , Network Manager Date: Mon, 29 Jun 2015 18:25:53 +0200 In-Reply-To: <1435316609.25172.57.camel@v3.sk> References: <1435316609.25172.57.camel@v3.sk> Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-SZQVE1TCqIeSG4gA2Vci" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 16:26:10 -0000 --=-SZQVE1TCqIeSG4gA2Vci Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2015-06-26 at 13:03 +0200, Lubomir Rintel wrote: > Hello, >=20 > it's some time since the 1.0.2 release already and the nm-1-0 branch > now has plenty bug fixes and enhancements. Moreover, significant=20 > effort > has been done at Red Hat to test and stabilize the branch for the=20 > next > update of the Enterprise Linux distribution. >=20 > It sounds like it's a good idea to conduct some manual smoke testing > and do a release during the next week. Would anyone mind? >=20 > The NEWS file has already been updated to reflect the newsworthy > changes that are already in: > http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/NEWS?h > =3Dnm-1-0 >=20 > If anyone needs anything cherry-picked from the master branch, now is > the good time to do it (or ask us to do the backport). >=20 > Comments, ideas, opinions? >=20 I think we should also include the following branches that are not yet merged to master: - lr/applied-connection-bgo724041: at least the early part that=20 splits the connection to applied-connection and settings- connection. It fixes a real (old) bug. - th/device-route-bgo751264: bugfix, fixes device-route handling - th/nm-config-intern-bgo750558: also several bugfixes. Including them would probably delay the release to next week. Thomas --=-SZQVE1TCqIeSG4gA2Vci Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVkXGRAAoJECnCNm5N/FcoKo8QAIskdANvGKQK0BajOWFJnklX WYW+Z4FBfynCN8Ss8teUmZ4Ct98GmuYEk0Ixf7GzKw7ZJj72N5RQSOYod3XXRmkj bY2BcRhA8gde1HSzrpNtawm8CEtraMGq6OFskji/CP4PnKwqlbkbv/kZW3AvNLM0 ozFdBUQYPw3bwJFLmwctp7Iqqj+AiraVtBxY7RCZwnMfkvudG9AsSY3jKSUdT/Pa PZn8hIl4ZZgSf6d5iG3GCYWTsprbwwYh8ViqTzT72nzbUADZYiRHJHi7mhsv7vzi pHSToY3aawDo2qwroknX51HdoOdRW74e/V8ry4vtnS7OOixVguk6Ey/3Q8F/3Z/c ySptIlg5t5HpYktm6ixwB+1ydpneg4k4gWr7Inbww7oEXaQjixLQUVPzY4iO0ukO Cl1KIZYUXdDwZGty8w96PHsih/fgzgqutxgeAQWqWGW42TqXE+9gs1gKX5PMltXG KTEBmQfu2am8/taUXS+NdrvCXD0CN4t/q4SI44l2YHZG0hZY91Qx3zguxiC+sUq1 GsF1UR5+rn8nOjabSC57G+h83umSWdj2Ibnm/I/C+h1ywPs+a2uBnwDMZCpB8qWe xdvg0uWJrQ0AKnAYRB/ygAEOVT8ob75vxDrL7hfyHGEo+Gnl547NXvqqMOBwVNb7 YsEUCUQawHBEzJZPo/r7 =Yr+W -----END PGP SIGNATURE----- --=-SZQVE1TCqIeSG4gA2Vci-- From tore@fud.no Mon Jun 29 17:24:54 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id B261E769D7 for ; Mon, 29 Jun 2015 17:24:54 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YsThw4JenL4x for ; Mon, 29 Jun 2015 17:24:53 +0000 (UTC) Received: from greed.fud.no (nat64-247-osl2.n.bitbit.net [87.238.61.247]) by restaurant.gnome.org (Postfix) with ESMTP id 0196E76952 for ; Mon, 29 Jun 2015 17:24:32 +0000 (UTC) Received: from [2a02:fe0:c412:1fe0::1] (port=33688 helo=envy.fud.no) by greed.fud.no with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1Z9cnF-0003HJ-Q2; Mon, 29 Jun 2015 19:24:29 +0200 Date: Mon, 29 Jun 2015 19:24:29 +0200 From: Tore Anderson To: Dan Williams Subject: Re: 1.0.4 release next week? Message-ID: <20150629192429.0e1b62cf@envy.fud.no> In-Reply-To: <1435593130.2862.10.camel@redhat.com> References: <1435316609.25172.57.camel@v3.sk> <20150626180558.2f8dd5a8@envy.fud.no> <1435593130.2862.10.camel@redhat.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Network Manager X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 17:24:54 -0000 * Dan Williams > On Fri, 2015-06-26 at 18:05 +0200, Tore Anderson wrote: > > https://bugzilla.redhat.com/show_bug.cgi?id=1221391 > > I posted some quick patches for that, can you check that they work for > you? I applied them on top of nma-1.0.2 (the .src.rpm from F22) and it didn't quite work. After completing the wizard, an GUI error message box popped up saying something like this (translated from Norwegian). Error with connection Could not add/activate connection (32) ipv6.method: property is missing Close (button) Tore From dcbw@redhat.com Tue Jun 30 14:29:09 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id EA3DC76A71 for ; Tue, 30 Jun 2015 14:29:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.472 X-Spam-Level: X-Spam-Status: No, score=-7.472 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.571, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xo5U4-_9KsAa for ; Tue, 30 Jun 2015 14:29:09 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 4B788765BB for ; Tue, 30 Jun 2015 14:28:53 +0000 (UTC) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id A6334358A16; Tue, 30 Jun 2015 14:28:52 +0000 (UTC) Received: from vpn-232-194.phx2.redhat.com (vpn-232-194.phx2.redhat.com [10.3.232.194]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5UESp3w003701; Tue, 30 Jun 2015 10:28:52 -0400 Message-ID: <1435674531.9390.8.camel@redhat.com> Subject: Re: 1.0.4 release next week? From: Dan Williams To: Tore Anderson Date: Tue, 30 Jun 2015 09:28:51 -0500 In-Reply-To: <20150629192429.0e1b62cf@envy.fud.no> References: <1435316609.25172.57.camel@v3.sk> <20150626180558.2f8dd5a8@envy.fud.no> <1435593130.2862.10.camel@redhat.com> <20150629192429.0e1b62cf@envy.fud.no> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Cc: Network Manager X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 14:29:10 -0000 On Mon, 2015-06-29 at 19:24 +0200, Tore Anderson wrote: > * Dan Williams > > > On Fri, 2015-06-26 at 18:05 +0200, Tore Anderson wrote: > > > https://bugzilla.redhat.com/show_bug.cgi?id=1221391 > > > > I posted some quick patches for that, can you check that they work for > > you? > > I applied them on top of nma-1.0.2 (the .src.rpm from F22) and it > didn't quite work. After completing the wizard, an GUI error message > box popped up saying something like this (translated from Norwegian). > > Error with connection > Could not add/activate connection > (32) ipv6.method: property is missing > Close (button) My fault; how about now? Dan From tore@fud.no Tue Jun 30 15:07:15 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 5244E76A4C for ; Tue, 30 Jun 2015 15:07:15 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vS36P3jgVM9k for ; Tue, 30 Jun 2015 15:07:14 +0000 (UTC) Received: from greed.fud.no (nat64-247-osl2.n.bitbit.net [87.238.61.247]) by restaurant.gnome.org (Postfix) with ESMTP id 4E0E7765BB for ; Tue, 30 Jun 2015 15:07:03 +0000 (UTC) Received: from [2a02:fe0:c412:1fe0::1] (port=44119 helo=envy.fud.no) by greed.fud.no with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1Z9x7l-0002il-Ar; Tue, 30 Jun 2015 17:07:01 +0200 Date: Tue, 30 Jun 2015 17:07:00 +0200 From: Tore Anderson To: Dan Williams Subject: Re: 1.0.4 release next week? Message-ID: <20150630170700.2cf33b16@envy.fud.no> In-Reply-To: <1435674531.9390.8.camel@redhat.com> References: <1435316609.25172.57.camel@v3.sk> <20150626180558.2f8dd5a8@envy.fud.no> <1435593130.2862.10.camel@redhat.com> <20150629192429.0e1b62cf@envy.fud.no> <1435674531.9390.8.camel@redhat.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Network Manager X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 15:07:15 -0000 * Dan Williams > My fault; how about now? Much worse, actually. :-) The build fails (nma-1.0.2.src.rpm + 8a4ed5a + 1c7c091): mobile-helpers.c: In function 'mobile_wizard_done': mobile-helpers.c:199:26: error: 'NM_SETTING_IP_CONFIG_METHOD' undeclared (first use in this function) g_object_set (setting, NM_SETTING_IP_CONFIG_METHOD, NM_SETTING_IP4_CONFIG_METHOD_AUTO, NULL); ^ mobile-helpers.c:199:26: note: each undeclared identifier is reported only once for each function it appears in Makefile:927: recipe for target 'nm_applet-mobile-helpers.o' failed make[4]: *** [nm_applet-mobile-helpers.o] Error 1 Tore From dcbw@redhat.com Tue Jun 30 15:40:43 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id B3A0D76A71 for ; Tue, 30 Jun 2015 15:40:43 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.472 X-Spam-Level: X-Spam-Status: No, score=-7.472 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.571, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vj5NW8-0wzRe for ; Tue, 30 Jun 2015 15:40:42 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id F2029765BB for ; Tue, 30 Jun 2015 15:40:26 +0000 (UTC) Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 34BCAA0B4A; Tue, 30 Jun 2015 15:40:25 +0000 (UTC) Received: from vpn-232-194.phx2.redhat.com (vpn-232-194.phx2.redhat.com [10.3.232.194]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5UFeOS0020337; Tue, 30 Jun 2015 11:40:24 -0400 Message-ID: <1435678824.11251.1.camel@redhat.com> Subject: Re: 1.0.4 release next week? From: Dan Williams To: Tore Anderson Date: Tue, 30 Jun 2015 10:40:24 -0500 In-Reply-To: <20150630170700.2cf33b16@envy.fud.no> References: <1435316609.25172.57.camel@v3.sk> <20150626180558.2f8dd5a8@envy.fud.no> <1435593130.2862.10.camel@redhat.com> <20150629192429.0e1b62cf@envy.fud.no> <1435674531.9390.8.camel@redhat.com> <20150630170700.2cf33b16@envy.fud.no> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Cc: Network Manager X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 15:40:43 -0000 On Tue, 2015-06-30 at 17:07 +0200, Tore Anderson wrote: > * Dan Williams > > > My fault; how about now? > > Much worse, actually. :-) > > The build fails (nma-1.0.2.src.rpm + 8a4ed5a + 1c7c091): > > mobile-helpers.c: In function 'mobile_wizard_done': > mobile-helpers.c:199:26: error: 'NM_SETTING_IP_CONFIG_METHOD' undeclared (first use in this function) > g_object_set (setting, NM_SETTING_IP_CONFIG_METHOD, NM_SETTING_IP4_CONFIG_METHOD_AUTO, NULL); > ^ > mobile-helpers.c:199:26: note: each undeclared identifier is reported only once for each function it appears in > Makefile:927: recipe for target 'nm_applet-mobile-helpers.o' failed > make[4]: *** [nm_applet-mobile-helpers.o] Error 1 Oh hmm, yeah, this change would be 1.1+ only so couldn't be backported directly. The backport would basically be changing both instances of NM_SETTING_IP_CONFIG_METHOD to NM_SETTING_IP4_CONFIG_METHOD and NM_SETTING_IP6_CONFIG_METHOD, respectively. Dan From tore@fud.no Tue Jun 30 16:12:32 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id EB6E476A7F for ; Tue, 30 Jun 2015 16:12:32 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xE6s6dH6v0Zl for ; Tue, 30 Jun 2015 16:12:32 +0000 (UTC) Received: from greed.fud.no (nat64-247-osl2.n.bitbit.net [87.238.61.247]) by restaurant.gnome.org (Postfix) with ESMTP id E12E876A4C for ; Tue, 30 Jun 2015 16:12:21 +0000 (UTC) Received: from [2a02:2121:1:5a7e:0:d:2e5a:4f01] (port=40495 helo=envy.fud.no) by greed.fud.no with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1Z9y8w-0004NO-OO; Tue, 30 Jun 2015 18:12:18 +0200 Date: Tue, 30 Jun 2015 18:12:17 +0200 From: Tore Anderson To: Dan Williams Subject: Re: 1.0.4 release next week? Message-ID: <20150630181217.056cb997@envy.fud.no> In-Reply-To: <1435678824.11251.1.camel@redhat.com> References: <1435316609.25172.57.camel@v3.sk> <20150626180558.2f8dd5a8@envy.fud.no> <1435593130.2862.10.camel@redhat.com> <20150629192429.0e1b62cf@envy.fud.no> <1435674531.9390.8.camel@redhat.com> <20150630170700.2cf33b16@envy.fud.no> <1435678824.11251.1.camel@redhat.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Network Manager X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 16:12:33 -0000 * Dan Williams > Oh hmm, yeah, this change would be 1.1+ only so couldn't be backported > directly. The backport would basically be changing both instances of > NM_SETTING_IP_CONFIG_METHOD to NM_SETTING_IP4_CONFIG_METHOD and > NM_SETTING_IP6_CONFIG_METHOD, respectively. With that adaptation it works like a charm. This is what it ended up with: $ tail -7 /etc/NetworkManager/system-connections/Telenor-tilkobling [ipv4] dns-search= method=auto [ipv6] dns-search= method=auto ...and connectivity to an APN that only supports IPv6 works like a charm. Thanks! Tore From dcbw@redhat.com Tue Jun 30 18:23:16 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 7AAC476A41 for ; Tue, 30 Jun 2015 18:23:16 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.472 X-Spam-Level: X-Spam-Status: No, score=-7.472 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.571, SPF_HELO_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 34W0IwPiESRC for ; Tue, 30 Jun 2015 18:23:14 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 08FB5769B8 for ; Tue, 30 Jun 2015 18:23:02 +0000 (UTC) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 70EB191DBD; Tue, 30 Jun 2015 18:23:01 +0000 (UTC) Received: from vpn-232-194.phx2.redhat.com (vpn-232-194.phx2.redhat.com [10.3.232.194]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5UIN0uK019878; Tue, 30 Jun 2015 14:23:01 -0400 Message-ID: <1435688580.11251.3.camel@redhat.com> Subject: Re: 1.0.4 release next week? From: Dan Williams To: Tore Anderson Date: Tue, 30 Jun 2015 13:23:00 -0500 In-Reply-To: <20150630181217.056cb997@envy.fud.no> References: <1435316609.25172.57.camel@v3.sk> <20150626180558.2f8dd5a8@envy.fud.no> <1435593130.2862.10.camel@redhat.com> <20150629192429.0e1b62cf@envy.fud.no> <1435674531.9390.8.camel@redhat.com> <20150630170700.2cf33b16@envy.fud.no> <1435678824.11251.1.camel@redhat.com> <20150630181217.056cb997@envy.fud.no> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Cc: Network Manager X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 18:23:16 -0000 On Tue, 2015-06-30 at 18:12 +0200, Tore Anderson wrote: > * Dan Williams > > > Oh hmm, yeah, this change would be 1.1+ only so couldn't be backported > > directly. The backport would basically be changing both instances of > > NM_SETTING_IP_CONFIG_METHOD to NM_SETTING_IP4_CONFIG_METHOD and > > NM_SETTING_IP6_CONFIG_METHOD, respectively. > > With that adaptation it works like a charm. This is what it ended up > with: > > $ tail -7 /etc/NetworkManager/system-connections/Telenor-tilkobling > [ipv4] > dns-search= Ugh, this shouldn't be there... > method=auto > > [ipv6] > dns-search= > method=auto > > ...and connectivity to an APN that only supports IPv6 works like a > charm. Thanks! Ok, thanks for testing. Dan From dz00213@gmail.com Sun Jun 28 03:03:08 2015 Return-Path: X-Original-To: networkmanager-list@gnome.org Delivered-To: networkmanager-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id B97F876A06 for ; Sun, 28 Jun 2015 03:03:08 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.449 X-Spam-Level: X-Spam-Status: No, score=-2.449 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cHqlOhRQdXXl for ; Sun, 28 Jun 2015 03:03:07 +0000 (UTC) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by restaurant.gnome.org (Postfix) with ESMTP id DFDBC762C5 for ; Sun, 28 Jun 2015 03:02:51 +0000 (UTC) Received: by iebrt9 with SMTP id rt9so96835227ieb.2 for ; Sat, 27 Jun 2015 20:02:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=dsfFFCG+T7km5poBEvzycwxb/xpbuN3bb7YtG4DiTTE=; b=T+UP2EClAziBNN8Uar1NmeayFhDDxlxOk7uTbnGlkXi4lLqpXxWQ3FZDR8uzHaxbfv 7PcNr4+J7dDRV/UziMZZtD6MGIjz8VTXMnkfYpfJpe5fDCpD0XUfVQpDcb9lhskxEOGT kmAp+Ap9XLr5+ABd/8G2B0GFfOMR4DZh9OtN0utnkFWn7RxMep0Y2ZoZWCuVIGutiAi+ JGcwN3wRzczmOYPavPEk9+eszTZ5yVtr1QgjH35/tM6LMROK4klfMjN/yu59qbvnVV84 EQNnrcb6ruqY5Zjp3k8rxs7tHtQHmxuRvE8CxtUce6Js9hEhpOVsvZjYxU/Pt1+eSIiM PdzQ== X-Received: by 10.43.97.69 with SMTP id cj5mr10273670icc.75.1435460569476; Sat, 27 Jun 2015 20:02:49 -0700 (PDT) MIME-Version: 1.0 Sender: dz00213@gmail.com Received: by 10.50.249.172 with HTTP; Sat, 27 Jun 2015 20:02:10 -0700 (PDT) From: dzimagehost Date: Sun, 28 Jun 2015 04:02:10 +0100 X-Google-Sender-Auth: zF0Ye1EkGKu0GWS7V26OrUJq8Jw Message-ID: Subject: NetworkManager / signal level (digital) To: networkmanager-list@gnome.org Content-Type: multipart/alternative; boundary=bcaec517cada5536ee05198b3575 X-Mailman-Approved-At: Mon, 06 Jul 2015 15:36:52 +0000 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2015 03:03:08 -0000 --bcaec517cada5536ee05198b3575 Content-Type: text/plain; charset=UTF-8 Hello, Originally this NetworkManager window http://s26.postimg.org/uga92ia2x/Capture_d_cran_27122014_18_13_00.png it is possible to customized means to display the signal level (digital) next to the Wi-Fi icon as a WiFi Booster a Cydia tweak for iphone. http://3.t.imgbox.com/atTfVt63.jpg http://www.manjaro.fr/forum/viewtopic.php?f=23&t=5147 Thanks. --bcaec517cada5536ee05198b3575 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hell= o,
Originally this NetworkManager= window http://s26.postimg.org/uga92ia2x/Ca= pture_d_cran_27122014_18_13_00.png


it is possible to customized means<= /span> to display the signal level (digital= ) next to the Wi-Fi icon as a WiFi Booster=C2=A0= a Cydia tweak for iphone.

http://3.t.imgbox.com/atTfVt63.jpg

http://www.m= anjaro.fr/forum/viewtopic.php?f=3D23&t=3D5147



=
Thanks.
--bcaec517cada5536ee05198b3575--