From pieter.cardoen@hotmail.com Wed Jul 1 14:46: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 33CDA76AB6 for ; Wed, 1 Jul 2015 14:46:00 +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 uekncqHD6aKP for ; Wed, 1 Jul 2015 14:45:54 +0000 (UTC) Received: from DUB004-OMC4S22.hotmail.com (dub004-omc4s22.hotmail.com [157.55.2.97]) by restaurant.gnome.org (Postfix) with ESMTP id 0537176A71 for ; Wed, 1 Jul 2015 14:45:43 +0000 (UTC) Received: from DUB120-W44 ([157.55.2.71]) by DUB004-OMC4S22.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 1 Jul 2015 07:45:41 -0700 X-TMN: [8KOr04EKy7CT2dyiqMT7IUfu8IyH6TwQ] X-Originating-Email: [pieter.cardoen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_aab846f7-2021-49a1-835c-07e1af8445d2_" From: Pieter Cardoen To: "networkmanager-list@gnome.org" Subject: Issue: Active connection Date: Wed, 1 Jul 2015 16:45:40 +0200 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 01 Jul 2015 14:45:41.0482 (UTC) FILETIME=[9A48E4A0:01D0B40C] 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, 01 Jul 2015 14:46:00 -0000 --_aab846f7-2021-49a1-835c-07e1af8445d2_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'am trying to get WiFi logging via dbus but had the following issue: I want to monitor the active connection=3B I use the dbus-interface with ob= ject path "/org/freedesktop/NetworkManager/ActiveConnection/x" (x is 1 in m= y case). This should allow me to read info of the active connection. If I r= equest the SpecificObject property=2C I get a proper return value: "/org/fr= eedesktop/NetworkManager/AccessPoint/291" but this access point is not in t= he list of Access Points. If I verify the access point to which the wlan ca= rd is associated=2C it is another one! It seems that this variable doesn't = contain the correct info. Has anyone experienced this issue? NM version: 0.9.10.0 = --_aab846f7-2021-49a1-835c-07e1af8445d2_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'am trying to get WiFi logging = via dbus but had the following issue:

I want to monitor the ac= tive connection=3B I use the dbus-interface with object path "/org/freedesk= top/NetworkManager/ActiveConnection/x" (x is 1 in my case). This should all= ow me to read info of the active connection. If I request the SpecificObjec= t property=2C I get a proper return value: "/org/freedesktop/NetworkManager= /AccessPoint/291" but this access point is not in the list of Access Points= . If I verify the access point to which the wlan card is associated=2C it i= s another one! It seems that this variable doesn't contain the correct info= .

Has anyone experienced this issue?
NM version: 0.9.10.0
= --_aab846f7-2021-49a1-835c-07e1af8445d2_-- From dcbw@redhat.com Wed Jul 1 21:05: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 1EECD7684D for ; Wed, 1 Jul 2015 21:05:54 +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 ckkMqHEgRb0k for ; Wed, 1 Jul 2015 21:05:52 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id AA3DF7693F for ; Wed, 1 Jul 2015 21:05:42 +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 C06693679D9; Wed, 1 Jul 2015 21:05:40 +0000 (UTC) Received: from vpn-231-217.phx2.redhat.com (vpn-231-217.phx2.redhat.com [10.3.231.217]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t61L5eBD029280; Wed, 1 Jul 2015 17:05:40 -0400 Message-ID: <1435784740.23653.9.camel@redhat.com> Subject: Re: [PATCH v2 2/2] autogen.sh: print errors to stderr, printf instead echo -n From: Dan Williams To: Petr Vorel Date: Wed, 01 Jul 2015 16:05:40 -0500 In-Reply-To: <1434669927-9019-2-git-send-email-petr.vorel@gmail.com> References: <1434669927-9019-1-git-send-email-petr.vorel@gmail.com> <1434669927-9019-2-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.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, 01 Jul 2015 21:05:54 -0000 On Fri, 2015-06-19 at 01:25 +0200, Petr Vorel wrote: > 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 > } > This patch at least seems OK to me... Dan From dcbw@redhat.com Wed Jul 1 21:06: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 5E3417693F for ; Wed, 1 Jul 2015 21:06:54 +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 xumnnNnr8oxE for ; Wed, 1 Jul 2015 21:06:53 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id D16C47684D for ; Wed, 1 Jul 2015 21:06: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 C8F48A0CA5 for ; Wed, 1 Jul 2015 21:06:52 +0000 (UTC) Received: from vpn-231-217.phx2.redhat.com (vpn-231-217.phx2.redhat.com [10.3.231.217]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t61L6qbp008864 for ; Wed, 1 Jul 2015 17:06:52 -0400 Message-ID: <1435784812.23653.11.camel@redhat.com> Subject: [PATCH 1/2] applet/editor: no longer add 'serial' setting From: Dan Williams To: networkmanager-list@gnome.org Date: Wed, 01 Jul 2015 16:06:52 -0500 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 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, 01 Jul 2015 21:06:54 -0000 It's not used by NM/MM at all right now (and only relevant to things that actually use plain old serial ports, like RS232 and some embedded modems) so don't bother adding it. --- src/connection-editor/page-mobile.c | 17 ----------------- src/mobile-helpers.c | 10 ---------- 2 files changed, 27 deletions(-) diff --git a/src/connection-editor/page-mobile.c b/src/connection-editor/page-mobile.c index b15cc1d..56bfd21 100644 --- a/src/connection-editor/page-mobile.c +++ b/src/connection-editor/page-mobile.c @@ -427,22 +427,6 @@ ce_page_mobile_class_init (CEPageMobileClass *mobile_class) object_class->dispose = dispose; } -static void -add_default_serial_setting (NMConnection *connection) -{ - NMSettingSerial *s_serial; - - s_serial = NM_SETTING_SERIAL (nm_setting_serial_new ()); - g_object_set (s_serial, - NM_SETTING_SERIAL_BAUD, 115200, - NM_SETTING_SERIAL_BITS, 8, - NM_SETTING_SERIAL_PARITY, 'n', - NM_SETTING_SERIAL_STOPBITS, 1, - NULL); - - nm_connection_add_setting (connection, NM_SETTING (s_serial)); -} - typedef struct { NMClient *client; PageNewConnectionResultFunc result_func; @@ -498,7 +482,6 @@ new_connection_mobile_wizard_done (NMAMobileWizard *wizard, g_free (detail); nm_connection_add_setting (connection, type_setting); - add_default_serial_setting (connection); nm_connection_add_setting (connection, nm_setting_ppp_new ()); } diff --git a/src/mobile-helpers.c b/src/mobile-helpers.c index d867b35..fc725b9 100644 --- a/src/mobile-helpers.c +++ b/src/mobile-helpers.c @@ -193,16 +193,6 @@ mobile_wizard_done (NMAMobileWizard *wizard, } else g_assert_not_reached (); - /* Serial setting */ - setting = nm_setting_serial_new (); - g_object_set (setting, - NM_SETTING_SERIAL_BAUD, 115200, - NM_SETTING_SERIAL_BITS, 8, - NM_SETTING_SERIAL_PARITY, 'n', - NM_SETTING_SERIAL_STOPBITS, 1, - NULL); - nm_connection_add_setting (connection, setting); - nm_connection_add_setting (connection, nm_setting_ppp_new ()); setting = nm_setting_connection_new (); -- 2.1.0 From dcbw@redhat.com Wed Jul 1 21:07: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 844FF7693F for ; Wed, 1 Jul 2015 21:07:42 +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 7_Z1pATUQS1f for ; Wed, 1 Jul 2015 21:07:42 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 071BF7684D for ; Wed, 1 Jul 2015 21:07: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 829B8B1F86 for ; Wed, 1 Jul 2015 21:07:30 +0000 (UTC) Received: from vpn-231-217.phx2.redhat.com (vpn-231-217.phx2.redhat.com [10.3.231.217]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t61L7TTI009089 for ; Wed, 1 Jul 2015 17:07:30 -0400 Message-ID: <1435784849.23653.12.camel@redhat.com> Subject: [PATCH 2/2] applet: default to ipv6.method=auto for WWAN connections From: Dan Williams To: networkmanager-list@gnome.org Date: Wed, 01 Jul 2015 16:07:29 -0500 In-Reply-To: <1435784812.23653.11.camel@redhat.com> References: <1435784812.23653.11.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.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, 01 Jul 2015 21:07:42 -0000 NM has fallback logic to ensure that even if IPv6 gets tried and fails, that IPv4 gets used instead. So it should be safe to default to automatic IPv6 support for new WWAN connections now, and bugs should get fixed instead of papered over. --- src/mobile-helpers.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mobile-helpers.c b/src/mobile-helpers.c index fc725b9..6166e81 100644 --- a/src/mobile-helpers.c +++ b/src/mobile-helpers.c @@ -193,6 +193,15 @@ mobile_wizard_done (NMAMobileWizard *wizard, } else g_assert_not_reached (); + /* Default to IPv4 & IPv6 'automatic' addressing */ + setting = nm_setting_ip4_config_new (); + g_object_set (setting, NM_SETTING_IP_CONFIG_METHOD, NM_SETTING_IP4_CONFIG_METHOD_AUTO, NULL); + nm_connection_add_setting (connection, setting); + + setting = nm_setting_ip6_config_new (); + g_object_set (setting, NM_SETTING_IP_CONFIG_METHOD, NM_SETTING_IP6_CONFIG_METHOD_AUTO, NULL); + nm_connection_add_setting (connection, setting); + nm_connection_add_setting (connection, nm_setting_ppp_new ()); setting = nm_setting_connection_new (); -- 2.1.0 From lrintel@redhat.com Thu Jul 2 07:57: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 C6EE376A85 for ; Thu, 2 Jul 2015 07:57:29 +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 KWOP7L6F-hjf for ; Thu, 2 Jul 2015 07:57:29 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 5030976A4C for ; Thu, 2 Jul 2015 07:57:18 +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 C07EB388832 for ; Thu, 2 Jul 2015 07:57:17 +0000 (UTC) Received: from dhcp-0-213.brq.redhat.com (dhcp-0-213.brq.redhat.com [10.34.0.213]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t627vFZG022479 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 2 Jul 2015 03:57:17 -0400 Message-ID: <1435823835.13502.0.camel@redhat.com> Subject: Re: [PATCH 2/2] applet: default to ipv6.method=auto for WWAN connections From: Lubomir Rintel To: Dan Williams , networkmanager-list@gnome.org Date: Thu, 02 Jul 2015 09:57:15 +0200 In-Reply-To: <1435784849.23653.12.camel@redhat.com> References: <1435784812.23653.11.camel@redhat.com> <1435784849.23653.12.camel@redhat.com> 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.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: Thu, 02 Jul 2015 07:57:29 -0000 On Wed, 2015-07-01 at 16:07 -0500, Dan Williams wrote: > NM has fallback logic to ensure that even if IPv6 gets tried and > fails, > that IPv4 gets used instead. So it should be safe to default to > automatic IPv6 support for new WWAN connections now, and bugs should > get fixed instead of papered over. > --- > src/mobile-helpers.c | 9 +++++++++ > 1 file changed, 9 insertions(+) Both patches look good to me. Applied (and will cherry-pick to 1.0 branch shortly). From lkundrak@v3.sk Thu Jul 2 07:57: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 CD6EE76A85 for ; Thu, 2 Jul 2015 07:57:55 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.472 X-Spam-Level: X-Spam-Status: No, score=-2.472 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, 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 b7d1v_gcVqRw for ; Thu, 2 Jul 2015 07:57:52 +0000 (UTC) Received: from shell.v3.sk (shell.v3.sk [92.60.52.57]) by restaurant.gnome.org (Postfix) with ESMTP id 866A076A4C for ; Thu, 2 Jul 2015 07:57:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 0CBC071185; Thu, 2 Jul 2015 09:57:39 +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 LypLfcd-CCTC; Thu, 2 Jul 2015 09:57:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 11D6A710C5; Thu, 2 Jul 2015 09:57:34 +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 wqeve3voiNEX; Thu, 2 Jul 2015 09:57:33 +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 8377970F4E; Thu, 2 Jul 2015 09:57:33 +0200 (CEST) Message-ID: <1435823852.13502.1.camel@v3.sk> Subject: Re: [PATCH v2 2/2] autogen.sh: print errors to stderr, printf instead echo -n From: Lubomir Rintel To: Dan Williams , Petr Vorel Date: Thu, 02 Jul 2015 09:57:32 +0200 In-Reply-To: <1435784740.23653.9.camel@redhat.com> References: <1434669927-9019-1-git-send-email-petr.vorel@gmail.com> <1434669927-9019-2-git-send-email-petr.vorel@gmail.com> <1435784740.23653.9.camel@redhat.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 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, 02 Jul 2015 07:57:55 -0000 On Wed, 2015-07-01 at 16:05 -0500, Dan Williams wrote: > On Fri, 2015-06-19 at 01:25 +0200, Petr Vorel wrote: > > 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 > > } > > > > This patch at least seems OK to me... > > Dan > Yes, applied. From petr.vorel@gmail.com Fri Jul 3 16:13: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 3F9CC7657A for ; Fri, 3 Jul 2015 16:13: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 kS0PXT-GZ1DE for ; Fri, 3 Jul 2015 16:13:38 +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 AA00176A00 for ; Fri, 3 Jul 2015 16:13:27 +0000 (UTC) Received: by wibdq8 with SMTP id dq8so104150926wib.1 for ; Fri, 03 Jul 2015 09:13:25 -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=dDwJiBghpMr0McAvN3oqhDt88PbTUVOQ3/ojNwK/nDg=; b=Tfq2NbaIocyWcTlKNzpiBcUvEPh9z5HdfZxS9+d9tweRhmDEFFFbssCU6SqsbwuYbE kbyqagxcTOqXBXkzr1hzlh0T6a7fxTU6pefyVfBuTfTPaKMsG9rEPVrOgsUCQAMUe33/ Gw0wlpw1IeKn7nu4ZljUIhjzVvfJY+Wo1I01hu5Bzhg8RWVvxLKw6jiUbdJE2Tfvrnfn tC5fivFtYbCIY6LPAWP8HQw5MEWOFi1PeVCD2mpdCDZqhPYG1aUMIJGXvAj/mnK1vnzr QsV44boHxImPLm8Xs4NnPnl56/jW0+VO8LD541pONu92yy+9mXix0QlUJeMeOJhfj69o +GBw== X-Received: by 10.194.47.196 with SMTP id f4mr68204583wjn.46.1435940005456; Fri, 03 Jul 2015 09:13:25 -0700 (PDT) Received: from t61 ([85.119.94.121]) by mx.google.com with ESMTPSA id lk5sm14497501wic.24.2015.07.03.09.13.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Jul 2015 09:13:24 -0700 (PDT) Date: Fri, 3 Jul 2015 18:13:23 +0200 From: Petr Vorel To: Lubomir Rintel Subject: Re: [PATCH v2 1/2] Allow building without gtk-doc installed Message-ID: <20150703161322.GA13785@t61> References: <1434669927-9019-1-git-send-email-petr.vorel@gmail.com> <1435222639.25172.24.camel@v3.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1435222639.25172.24.camel@v3.sk> 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: Fri, 03 Jul 2015 16:13:39 -0000 Hi Lubomir, > 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? Thanks for the tip, but it actually does not work as there is a dependency (as I reported it before): $ autoreconf -f -i 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 I know this is minor / unimportant issue as not many people will build without GTK-doc. But still I'd prefer either to require it (to explain user what's wrong - first version of my patch) or better allow build without it and just warn user (second version of the patch; there might be better way of doing it than my quirks). Kind regards, Petr From michael@cacn.de Mon Jul 6 10:33: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 1352376A43 for ; Mon, 6 Jul 2015 10:33:06 +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 I-7sdPoxn1aS for ; Mon, 6 Jul 2015 10:33:04 +0000 (UTC) X-Greylist: delayed 482 seconds by postgrey-1.34 at restaurant.gnome.org; Mon, 06 Jul 2015 10:33:04 UTC Received: from a.mx.oopen.de (a.mx.oopen.de [83.223.85.164]) by restaurant.gnome.org (Postfix) with ESMTP id 4D0A9768BF for ; Mon, 6 Jul 2015 10:32:48 +0000 (UTC) Received: from amavis.a.mx.oopen.de (localhost [127.0.0.1]) by a.mx.oopen.de (Postfix) with ESMTP id EA26C3001A5 for ; Mon, 6 Jul 2015 12:24:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at a.mx.oopen.de Received: from a.mx.oopen.de ([127.0.0.1]) by amavis.a.mx.oopen.de (a.mx.oopen.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pDbIUB73rgF2 for ; Mon, 6 Jul 2015 12:24:47 +0200 (CEST) Received: from desktop.lan (unknown [IPv6:2001:67c:1407:b0::1]) (Authenticated sender: team@cacn.de) by a.mx.oopen.de (Postfix) with ESMTPSA id D76CA3001A1 for ; Mon, 6 Jul 2015 12:24:47 +0200 (CEST) From: michael Subject: X220 after new Install no more WWAN To: networkmanager-list@gnome.org X-Enigmail-Draft-Status: N1110 Message-ID: <559A5757.4010604@cacn.de> Date: Mon, 6 Jul 2015 12:24:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DrmI9CCExd9CBXbdXFwDsV9O0IWuSBtMW" X-Mailman-Approved-At: Mon, 06 Jul 2015 15:36:58 +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: Mon, 06 Jul 2015 10:33:06 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --DrmI9CCExd9CBXbdXFwDsV9O0IWuSBtMW Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello i use NM under Fedora22 (and XFCE) My "Modem" =3D> lspci -vmmnn Slot: 00:16.0 Class: Communication controller [0780] Vendor: Intel Corporation [8086] Device: 6 Series/C200 Series Chipset Family MEI Controller #1 [1c3a] SVendor: Lenovo [17aa] SDevice: Device [21da] Rev: 04 lspci -nnk 00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04) Subsystem: Lenovo Device [17aa:21da] Kernel driver in use: mei_me Kernel modules: mei_me <=3D My "NM-Files"=3D> networkmanager 1.0.2-1.fc22 networkmanager wwan 1.0.2-1.fc22 iwl and ipw (some packets) are installed <=3D But, i can't setup my WWAN in Network-Manager NM, and NM-editor found no Device. What should I do with Network-Manager thereby my "modem" finds? Thanks in Advanced Michael --DrmI9CCExd9CBXbdXFwDsV9O0IWuSBtMW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVmldvAAoJENpjfaNyuuZoDgEH/RlkRh5SZ/ygPLRNxubMX838 iBUhUVUZ07uj7mDKpzMXgg97eJlAcfAEQCg7YuWMnoIe0vxQ4P46DuiC3AxeZeyd WTW3Uw2w5PiCzmzYafpzg7+3xmPGTFvthc8aMEvRqNqj3Qlzu32GATGV+d2Ei8th GeoxRA3UWkWuUwlkTi/3QtrKql5d/F+bEWUqf3l+sv8aY/PRA1PfCDSL3HlXEKKX oiUB3pHtG+Evsvw2S6uKSJHckgHNEunYDps7aGw5kS2qA7lr5/J4JRJfT7+iXXw2 lza+oP8WkXyTn4FJQ/M6FgU14Ji8XgdimB3ihqsEppB9qWAo/GBN7sPhBKEu5x8= =hfjx -----END PGP SIGNATURE----- --DrmI9CCExd9CBXbdXFwDsV9O0IWuSBtMW-- From dcbw@redhat.com Mon Jul 6 16: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 1440A76A43 for ; Mon, 6 Jul 2015 16:14:34 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.564 X-Spam-Level: X-Spam-Status: No, score=-7.564 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.663, 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 NePcYHbkYaX9 for ; Mon, 6 Jul 2015 16:14:30 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 6B33A769BA for ; Mon, 6 Jul 2015 16:14:19 +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 90B2636AA1D; Mon, 6 Jul 2015 16:14:18 +0000 (UTC) Received: from vpn-232-70.phx2.redhat.com (vpn-232-70.phx2.redhat.com [10.3.232.70]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t66GEHMh003583; Mon, 6 Jul 2015 12:14:18 -0400 Message-ID: <1436199249.6284.1.camel@redhat.com> Subject: Re: X220 after new Install no more WWAN From: Dan Williams To: michael Date: Mon, 06 Jul 2015 11:14:09 -0500 In-Reply-To: <559A5757.4010604@cacn.de> References: <559A5757.4010604@cacn.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: Mon, 06 Jul 2015 16:14:34 -0000 On Mon, 2015-07-06 at 12:24 +0200, michael wrote: > Hello > > i use NM under Fedora22 (and XFCE) > > > My "Modem" => > > lspci -vmmnn > Slot: 00:16.0 > Class: Communication controller [0780] > Vendor: Intel Corporation [8086] > Device: 6 Series/C200 Series Chipset Family MEI Controller #1 [1c3a] > SVendor: Lenovo [17aa] > SDevice: Device [21da] > Rev: 04 > > lspci -nnk > 00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 > Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04) > Subsystem: Lenovo Device [17aa:21da] > Kernel driver in use: mei_me > Kernel modules: mei_me > <= > > My "NM-Files"=> > > networkmanager 1.0.2-1.fc22 > networkmanager wwan 1.0.2-1.fc22 > > iwl and ipw (some packets) are installed > <= > > But, i can't setup my WWAN in Network-Manager NM, and NM-editor found no > Device. What should I do with Network-Manager thereby my "modem" finds? What is the output of: lsusb rfkill list nmcli radio nmcli dev journalctl -b -u ModemManager Dan From dcbw@redhat.com Tue Jul 7 15:59: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 4DC4576A61 for ; Tue, 7 Jul 2015 15:59:54 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.713 X-Spam-Level: X-Spam-Status: No, score=-7.713 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.812, 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 kyoSWPBOMSeA for ; Tue, 7 Jul 2015 15:59:53 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 5DCAA76999 for ; Tue, 7 Jul 2015 15:59:42 +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 7C4B7BACC8; Tue, 7 Jul 2015 15:59:41 +0000 (UTC) Received: from vpn-232-155.phx2.redhat.com (vpn-232-155.phx2.redhat.com [10.3.232.155]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t67FxepT021648; Tue, 7 Jul 2015 11:59:41 -0400 Message-ID: <1436284780.25773.14.camel@redhat.com> Subject: Re: NetworkManager / signal level (digital) From: Dan Williams To: dzimagehost Date: Tue, 07 Jul 2015 10:59:40 -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: Tue, 07 Jul 2015 15:59:54 -0000 On Sun, 2015-06-28 at 04:02 +0100, dzimagehost wrote: > 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 It would be possible to show a number next to the level, but since the applet is targeted at a wider audience it shouldn't be done by default. IMHO the difference between 50% and 55% actually doesn't mean anything in WiFi since signal conditions change so often and driver reporting granularity isn't near as fine as 0 - 100%. But anyway, an option to toggle that via GSettings would be OK in my opinion, if anyone wanted to do that patch. Dan From michael@cacn.de Wed Jul 8 09:21: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 6400A76A8D for ; Wed, 8 Jul 2015 09:21: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 Q950iAxAE1oQ for ; Wed, 8 Jul 2015 09:21:18 +0000 (UTC) Received: from a.mx.oopen.de (a.mx.oopen.de [83.223.85.164]) by restaurant.gnome.org (Postfix) with ESMTP id BA96A76A74 for ; Wed, 8 Jul 2015 09:21:06 +0000 (UTC) Received: from amavis.a.mx.oopen.de (localhost [127.0.0.1]) by a.mx.oopen.de (Postfix) with ESMTP id 7E3DB3001C0; Wed, 8 Jul 2015 11:21:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at a.mx.oopen.de Received: from a.mx.oopen.de ([127.0.0.1]) by amavis.a.mx.oopen.de (a.mx.oopen.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4L_-ofj0SUKX; Wed, 8 Jul 2015 11:21:01 +0200 (CEST) Received: from desktop.lan (f055075033.adsl.alicedsl.de [78.55.75.33]) (Authenticated sender: team@cacn.de) by a.mx.oopen.de (Postfix) with ESMTPSA id 41E543001A1; Wed, 8 Jul 2015 11:21:01 +0200 (CEST) Subject: Re: X220 after new Install no more WWAN To: Dan Williams References: <559A5757.4010604@cacn.de> <1436199249.6284.1.camel@redhat.com> From: michael X-Enigmail-Draft-Status: N1110 Message-ID: <559CEB79.7070407@cacn.de> Date: Wed, 8 Jul 2015 11:20:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <1436199249.6284.1.camel@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="si8JdljHbQTs81f0nUj2wuSkHm5Tr6GOI" 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, 08 Jul 2015 09:21:19 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --si8JdljHbQTs81f0nUj2wuSkHm5Tr6GOI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello list readers Hello Dan, Am 06.07.2015 um 18:14 schrieb Dan Williams: > What is the output of: >=20 > lsusb > rfkill list > nmcli radio > nmcli dev > journalctl -b -u ModemManager I put it here: http://pastebin.com/qSy1NSzC Ahoj Michael --si8JdljHbQTs81f0nUj2wuSkHm5Tr6GOI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVnOt9AAoJENpjfaNyuuZoBNUIAKYo1AQQgCOljMzoqypzAxkg 2bGzxrYv46AvmI+u1dJ2vcAIMJ9Murpkka26fa6KAMrlkImgWNtQWy/kttLBUe04 SE7Wp+9uK/9Lv5pacFLBnYtQ/evoZtK/0mDekjJvOBPuIvfO1wyNoEnMG9pYb+Z/ JOwy2LXsgoGeybiX5kb9+HbdAwmjph6qyIybtKW4mIzoZ3OEAH70yAs2ZSLrpulh a278O60JCd7M9Hyz6jlmrevw7hfoqdjS1IYWax649eyRNB0U3wdiDURq2HS2f8Ff WZpveMKYbDMVqMx7YDkVNCFRleEzQbU93lfEpVS84xQdxkL/nFmd1zg+TR5F5DM= =Hw9Q -----END PGP SIGNATURE----- --si8JdljHbQTs81f0nUj2wuSkHm5Tr6GOI-- From dcbw@redhat.com Wed Jul 8 14:17: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 788F076AB3 for ; Wed, 8 Jul 2015 14:17:14 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.567 X-Spam-Level: X-Spam-Status: No, score=-7.567 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.666, 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 ZRqpcaHNTuXL for ; Wed, 8 Jul 2015 14:17:13 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 5972D76AA2 for ; Wed, 8 Jul 2015 14:16:57 +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 9473AAEF35; Wed, 8 Jul 2015 14:16:56 +0000 (UTC) Received: from vpn-232-250.phx2.redhat.com (vpn-232-250.phx2.redhat.com [10.3.232.250]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t68EGtVi004007; Wed, 8 Jul 2015 10:16:56 -0400 Message-ID: <1436365015.3051.2.camel@redhat.com> Subject: Re: X220 after new Install no more WWAN From: Dan Williams To: michael Date: Wed, 08 Jul 2015 09:16:55 -0500 In-Reply-To: <559CEB79.7070407@cacn.de> References: <559A5757.4010604@cacn.de> <1436199249.6284.1.camel@redhat.com> <559CEB79.7070407@cacn.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: Wed, 08 Jul 2015 14:17:14 -0000 On Wed, 2015-07-08 at 11:20 +0200, michael wrote: > Hello list readers > Hello Dan, > > Am 06.07.2015 um 18:14 schrieb Dan Williams: > > What is the output of: > > > > lsusb > > rfkill list > > nmcli radio > > nmcli dev > > journalctl -b -u ModemManager > > I put it here: > http://pastebin.com/qSy1NSzC We actually do want 'lsusb' here though, not lspci, since almost all laptop WWAN cards are actually connected via USB these days. Any chance you could get that and post it? Also, could you grab the output of: mmcli -L (yes, "mmcli" not "nmcli") Thanks! Dan From dcbw@redhat.com Wed Jul 8 14:32: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 ABA8A76AA2 for ; Wed, 8 Jul 2015 14:32:30 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.567 X-Spam-Level: X-Spam-Status: No, score=-7.567 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.666, 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 VEpcY22n6wpk for ; Wed, 8 Jul 2015 14:32:28 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 941C076AB9 for ; Wed, 8 Jul 2015 14:32:18 +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 DBDA119F3B1; Wed, 8 Jul 2015 14:32:16 +0000 (UTC) Received: from vpn-232-250.phx2.redhat.com (vpn-232-250.phx2.redhat.com [10.3.232.250]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t68EWGIJ011355; Wed, 8 Jul 2015 10:32:16 -0400 Message-ID: <1436365936.3051.6.camel@redhat.com> Subject: Re: Issue: Active connection From: Dan Williams To: Pieter Cardoen Date: Wed, 08 Jul 2015 09:32:16 -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.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, 08 Jul 2015 14:32:30 -0000 On Wed, 2015-07-01 at 16:45 +0200, Pieter Cardoen wrote: > I'am trying to get WiFi logging via dbus but had the following issue: > I want to monitor the active connection; I use the dbus-interface with object path "/org/freedesktop/NetworkManager/ActiveConnection/x" (x is 1 in my case). This should allow me to read info of the active connection. If I request the SpecificObject property, I get a proper return value: "/org/freedesktop/NetworkManager/AccessPoint/291" but this access point is not in the list of Access Points. If I verify the access point to which the wlan card is associated, it is another one! It seems that this variable doesn't contain the correct info. > Has anyone experienced this issue? > NM version: 0.9.10.0 I believe the SpecificObject actually just tracks the AP object that the connection was started with, and doesn't follow when that changes (since it could change to nothing when the connection periodically drops, for example). But instead of monitoring that, you'd want to watch the WiFi device object itself, and look at the org.freedesktop.NetworkManager.Device.Wireless interface's "ActiveAccessPoint" property. I just added an example to NM git to retrieve the active AP and some of it's details, perhaps it'll help? http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/python/dbus/wifi-active-ap.py Dan From michael@cacn.de Thu Jul 9 11:23: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 4717376AA2 for ; Thu, 9 Jul 2015 11:23:55 +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 gUosd6T2Fiq2 for ; Thu, 9 Jul 2015 11:23:53 +0000 (UTC) Received: from a.mx.oopen.de (a.mx.oopen.de [83.223.85.164]) by restaurant.gnome.org (Postfix) with ESMTP id D03DB76A5A for ; Thu, 9 Jul 2015 11:23:41 +0000 (UTC) Received: from amavis.a.mx.oopen.de (localhost [127.0.0.1]) by a.mx.oopen.de (Postfix) with ESMTP id C69A13001C0; Thu, 9 Jul 2015 13:23:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at a.mx.oopen.de Received: from a.mx.oopen.de ([127.0.0.1]) by amavis.a.mx.oopen.de (a.mx.oopen.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cIzRaHH8XalY; Thu, 9 Jul 2015 13:23:37 +0200 (CEST) Received: from desktop.lan (x55b56cb5.dyn.telefonica.de [85.181.108.181]) (Authenticated sender: team@cacn.de) by a.mx.oopen.de (Postfix) with ESMTPSA id AFB1A3001BB; Thu, 9 Jul 2015 13:23:37 +0200 (CEST) Subject: Re: X220 after new Install no more WWAN To: Dan Williams References: <559A5757.4010604@cacn.de> <1436199249.6284.1.camel@redhat.com> <559CEB79.7070407@cacn.de> <1436365015.3051.2.camel@redhat.com> From: michael Message-ID: <559E59B4.5030906@cacn.de> Date: Thu, 9 Jul 2015 13:23:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <1436365015.3051.2.camel@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FH1kE2xvjdJC6nmgiO2bfMCL5cFvtRffg" 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, 09 Jul 2015 11:23:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FH1kE2xvjdJC6nmgiO2bfMCL5cFvtRffg Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable mhm... Am 08.07.2015 um 16:16 schrieb Dan Williams: > Also, could you grab the output of: >=20 > mmcli -L msg: "error: couldn't find the ModemManager in the bus" Ahoj Michael --FH1kE2xvjdJC6nmgiO2bfMCL5cFvtRffg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVnlm5AAoJENpjfaNyuuZo6IQH/jiEvCqix7D1edm39ylcR4CG YvFG6tZrYD6Oi/H1bvYxXZHdzaejQu1RHY1DiRpOlmUQF0vJbhk1TW1E6Rxdc5d9 1+orvFH61hkKHBP/YBZcl4EVZ6v3fq4OySuFrD/VSYDUQW3aOLr6T+i0uACqras4 57h4jvNNaSJLL2X7Ywtg1rJ4BNgg8dVnmKQDll2WXprePA6Rch1yfbHjAAGgMrGd VxT2YMP8p4JT4pmRmSqELygX6CFC8SQuSbK7T59ocJlULntl2UluKmMsHfkPHbGh o9lSiUpszu07QFbdR+b7edhWUE3tCrBkGhQwH8SnBL3khB9tV+SYW6gDYVRuYK4= =76sw -----END PGP SIGNATURE----- --FH1kE2xvjdJC6nmgiO2bfMCL5cFvtRffg-- From nacrotek@gmail.com Wed Jul 8 22:17: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 DBF2176A00 for ; Wed, 8 Jul 2015 22:17:32 +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 LdmRGoeMOE6d for ; Wed, 8 Jul 2015 22:17:31 +0000 (UTC) Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com [209.85.213.175]) by restaurant.gnome.org (Postfix) with ESMTP id 16E027656E for ; Wed, 8 Jul 2015 22:17:20 +0000 (UTC) Received: by igrv9 with SMTP id v9so179119319igr.1 for ; Wed, 08 Jul 2015 15:17:18 -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=RHutY/FSwjDbn2oC+bKjFvXdN8xihgz8BmkUmexU+RY=; b=Kj57Y816QfsyGyfzAWQX0ms9+t0xD+xLdQTKF19H3os/4RiBwOgxhyIYhfGzt0ME45 pEQ9l8ElzWkYgiHl3P+Z0PhXNrALahTXx4TfPIc8+EswzsTxfiM0ZQ26++VK1ZrCI6m/ MTQ18MBz4icUfGt2xdkWwOf4jwBPu8QuRPr8ZFQHMZ2cQqN9MQAwwKe1NBqdpEl/EiEF d+sik/TR6RfGdr801Ye3QmsKx3HZ6HWwhqIcjLA/nInlU9jV+F3+G6CGyG4np2L0iqy7 A+5B+7QW8QlMuKfu6r/9FYJQ+xd26UNtoSzA/vOMHAEeZ/sKWlU0ZPWvsE4lTg9iJruj wVww== MIME-Version: 1.0 X-Received: by 10.50.13.34 with SMTP id e2mr63937336igc.23.1436393838844; Wed, 08 Jul 2015 15:17:18 -0700 (PDT) Received: by 10.107.4.194 with HTTP; Wed, 8 Jul 2015 15:17:18 -0700 (PDT) Date: Wed, 8 Jul 2015 16:17:18 -0600 Message-ID: Subject: nmcli can not join hidden networks? From: Preston Price To: networkmanager-list@gnome.org Content-Type: multipart/alternative; boundary=089e01182d0485a2de051a6480d5 X-Mailman-Approved-At: Thu, 09 Jul 2015 14:07:05 +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, 08 Jul 2015 22:17:32 -0000 --089e01182d0485a2de051a6480d5 Content-Type: text/plain; charset=UTF-8 System details: Ubuntu 14.04 nmcli v. 0.9.8.8 I've spent the afternoon Googling and I'm out of ideas. It appears that there is no way to connect to a hidden SSID from nmcli. If I, for example try: *$ sudo nmcli dev wifi con '' password '' name 'hidden AP'* I get an error response: *$ Error: No network with SSID '' found.* I can use the network manager applet to create/connect to this hidden AP, but I need a non-GUI/command-line-only solution. I don't see any other appropriate options/flags to set in the nmcli command. Is there some secret sauce I'm missing? Thanks! -Preston --089e01182d0485a2de051a6480d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
System details:
Ubuntu 14.04
nmcl= i v. 0.9.8.8

I've spent the afternoon Googling and = I'm out of ideas.
It appears that there is no way to connect to a h= idden SSID from nmcli.

If I, for example try:
<= i>$ sudo nmcli dev wifi con '<SSID>' password '<Passwo= rd>' name 'hidden AP'

I get an = error response:
$ Error: No network with SSID '<SSID>= ;' found.

I can use the network manage= r applet to create/connect to this hidden AP, but I need a non-GUI/command-= line-only solution. I don't see any other appropriate options/flags to = set in the nmcli command.

Is there some secret sau= ce I'm missing?=C2=A0

Thanks!

-Preston
--089e01182d0485a2de051a6480d5-- From dcbw@redhat.com Thu Jul 9 14:07: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 7668C76AD7 for ; Thu, 9 Jul 2015 14:07:57 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.23 X-Spam-Level: X-Spam-Status: No, score=-7.23 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.329, 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 x9gUbu36hCgs for ; Thu, 9 Jul 2015 14:07:56 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id B0CB6768B3 for ; Thu, 9 Jul 2015 14:07:45 +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 3DF922CD830; Thu, 9 Jul 2015 14:07:44 +0000 (UTC) Received: from vpn-231-165.phx2.redhat.com (vpn-231-165.phx2.redhat.com [10.3.231.165]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t69E7hx2022388; Thu, 9 Jul 2015 10:07:43 -0400 Message-ID: <1436450863.8151.1.camel@redhat.com> Subject: Re: X220 after new Install no more WWAN From: Dan Williams To: michael Date: Thu, 09 Jul 2015 09:07:43 -0500 In-Reply-To: <559E59B4.5030906@cacn.de> References: <559A5757.4010604@cacn.de> <1436199249.6284.1.camel@redhat.com> <559CEB79.7070407@cacn.de> <1436365015.3051.2.camel@redhat.com> <559E59B4.5030906@cacn.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.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, 09 Jul 2015 14:07:57 -0000 On Thu, 2015-07-09 at 13:23 +0200, michael wrote: > mhm... > > Am 08.07.2015 um 16:16 schrieb Dan Williams: > > Also, could you grab the output of: > > > > mmcli -L > msg: "error: couldn't find the ModemManager in the bus" Yeah, this would be a problem... Is the ModemManager process running? If not, what do you get for: sudo journalctl -b -u ModemManager Dan From michael@cacn.de Thu Jul 9 14:12: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 86F6876AE2 for ; Thu, 9 Jul 2015 14:12:10 +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 QElhYUpA-iYX for ; Thu, 9 Jul 2015 14:12:09 +0000 (UTC) Received: from a.mx.oopen.de (a.mx.oopen.de [83.223.85.164]) by restaurant.gnome.org (Postfix) with ESMTP id B354876AD7 for ; Thu, 9 Jul 2015 14:11:57 +0000 (UTC) Received: from amavis.a.mx.oopen.de (localhost [127.0.0.1]) by a.mx.oopen.de (Postfix) with ESMTP id ADBE73001C0; Thu, 9 Jul 2015 16:11:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at a.mx.oopen.de Received: from a.mx.oopen.de ([127.0.0.1]) by amavis.a.mx.oopen.de (a.mx.oopen.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ys76_-hr_WKl; Thu, 9 Jul 2015 16:11:39 +0200 (CEST) Received: from tuxtop.lan (x55b56cb5.dyn.telefonica.de [85.181.108.181]) (Authenticated sender: team@cacn.de) by a.mx.oopen.de (Postfix) with ESMTPSA id 659A33001BB; Thu, 9 Jul 2015 16:11:39 +0200 (CEST) Subject: Re: X220 after new Install no more WWAN To: Dan Williams References: <559A5757.4010604@cacn.de> <1436199249.6284.1.camel@redhat.com> <559CEB79.7070407@cacn.de> <1436365015.3051.2.camel@redhat.com> <559E59B4.5030906@cacn.de> <1436450863.8151.1.camel@redhat.com> From: Michael Message-ID: <559E8116.80705@cacn.de> Date: Thu, 9 Jul 2015 16:11:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <1436450863.8151.1.camel@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="flE9OUNQ0G1scU4vVBRqJSFLrd8GegFT4" 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, 09 Jul 2015 14:12:10 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --flE9OUNQ0G1scU4vVBRqJSFLrd8GegFT4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am 09.07.2015 um 16:07 schrieb Dan Williams: >=20 > Yeah, this would be a problem... Is the ModemManager process running? no! > If not, what do you get for: >=20 > sudo journalctl -b -u ModemManager [root@laptop michael]# journalctl -b -u ModemManager -- Logs begin at Fr 2015-05-29 14:52:41 CEST, end at Do 2015-07-09 16:09:21 CEST lines 1-1/1 (END) mhm... hint: you have read my investigations on bugzilla? ahoj michael --flE9OUNQ0G1scU4vVBRqJSFLrd8GegFT4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVnoEbAAoJENpjfaNyuuZoOsMH/1QeoH4WeaOWfQO/GRWeS2Mg hnflLwN4ofIfqTufZMBdoxKn5h193Og/ya28TTHOi5F1Ca1aJBkEWM2BHokcB430 V11kzgbidHXOrwVF+ZIAhP7yQ+AhlFwUajU2fK6LStp3HNgnf9xs1yhNI6hQ7M07 VGX6iUm9yMf/ZmyOL/NuoVUB+hjfoh+XVoJnbBFtPm0M0KLRkfYZ87qXv2lWmdvv fB44nIr5XuEw/W11BE9AR6IIGZ0zAQ2bDfJONNhWmuY8KBzYNpHvXuA8o/u11vL5 IZr2+j6Z7pmghta5QesyPqKhMwGBXCUf+W/DZWMHlVgDMWZa2o2WSWbEINMOz9o= =lhHO -----END PGP SIGNATURE----- --flE9OUNQ0G1scU4vVBRqJSFLrd8GegFT4-- From dcbw@redhat.com Thu Jul 9 14:15: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 B5FCC76AEA for ; Thu, 9 Jul 2015 14:15:38 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.23 X-Spam-Level: X-Spam-Status: No, score=-7.23 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.329, 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 juLxAsjXVuxA for ; Thu, 9 Jul 2015 14:15:37 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 4C60276AD7 for ; Thu, 9 Jul 2015 14:15:26 +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 A58212CD818; Thu, 9 Jul 2015 14:15:25 +0000 (UTC) Received: from vpn-231-165.phx2.redhat.com (vpn-231-165.phx2.redhat.com [10.3.231.165]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t69EFPqV029370; Thu, 9 Jul 2015 10:15:25 -0400 Message-ID: <1436451324.8151.5.camel@redhat.com> Subject: Re: nmcli can not join hidden networks? From: Dan Williams To: Preston Price Date: Thu, 09 Jul 2015 09:15:24 -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.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: Thu, 09 Jul 2015 14:15:38 -0000 On Wed, 2015-07-08 at 16:17 -0600, Preston Price wrote: > System details: > Ubuntu 14.04 > nmcli v. 0.9.8.8 > > I've spent the afternoon Googling and I'm out of ideas. > It appears that there is no way to connect to a hidden SSID from nmcli. > > If I, for example try: > *$ sudo nmcli dev wifi con '' password '' name 'hidden AP'* > > I get an error response: > *$ Error: No network with SSID '' found.* > > I can use the network manager applet to create/connect to this hidden AP, > but I need a non-GUI/command-line-only solution. I don't see any other > appropriate options/flags to set in the nmcli command. > > Is there some secret sauce I'm missing? I don't think you're missing anything; this just seems like a deficiency in nmcli. One thing you could try instead (while the bug gets fixed) is to create the connection once, set the "wireless.hidden" property to true, and then 'nmcli con up ". Also note that 'nmcli dev wifi connect' will create a new connection each time (I think), so after the first time you connect successfully, you can just use "nmcli con up " instead. I filed https://bugzilla.gnome.org/show_bug.cgi?id=752173 for this issue. Thanks! Dan From dcbw@redhat.com Thu Jul 9 14:16: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 AA52676AE2 for ; Thu, 9 Jul 2015 14:16:26 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.23 X-Spam-Level: X-Spam-Status: No, score=-7.23 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.329, 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 a9lGX9d_OaaO for ; Thu, 9 Jul 2015 14:16:26 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id EE7E276AD7 for ; Thu, 9 Jul 2015 14:16:10 +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 677B4B7CCB; Thu, 9 Jul 2015 14:16:09 +0000 (UTC) Received: from vpn-231-165.phx2.redhat.com (vpn-231-165.phx2.redhat.com [10.3.231.165]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t69EG82b025848; Thu, 9 Jul 2015 10:16:09 -0400 Message-ID: <1436451368.8151.6.camel@redhat.com> Subject: Re: X220 after new Install no more WWAN From: Dan Williams To: Michael Date: Thu, 09 Jul 2015 09:16:08 -0500 In-Reply-To: <559E8116.80705@cacn.de> References: <559A5757.4010604@cacn.de> <1436199249.6284.1.camel@redhat.com> <559CEB79.7070407@cacn.de> <1436365015.3051.2.camel@redhat.com> <559E59B4.5030906@cacn.de> <1436450863.8151.1.camel@redhat.com> <559E8116.80705@cacn.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: Thu, 09 Jul 2015 14:16:26 -0000 On Thu, 2015-07-09 at 16:11 +0200, Michael wrote: > Am 09.07.2015 um 16:07 schrieb Dan Williams: > > > > Yeah, this would be a problem... Is the ModemManager process running? > no! > > > If not, what do you get for: > > > > sudo journalctl -b -u ModemManager > > > [root@laptop michael]# journalctl -b -u ModemManager > -- Logs begin at Fr 2015-05-29 14:52:41 CEST, end at Do 2015-07-09 > 16:09:21 CEST > lines 1-1/1 (END) > > mhm... > hint: you have read my investigations on bugzilla? Could you send the bug link too, just to make sure I know which one you're talking about? Thanks! Dan From michael@cacn.de Thu Jul 9 14:24: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 B173576AF5 for ; Thu, 9 Jul 2015 14:24:35 +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 JUsSMvrSvQIk for ; Thu, 9 Jul 2015 14:24:33 +0000 (UTC) Received: from a.mx.oopen.de (a.mx.oopen.de [83.223.85.164]) by restaurant.gnome.org (Postfix) with ESMTP id B8EF576AEA for ; Thu, 9 Jul 2015 14:24:23 +0000 (UTC) Received: from amavis.a.mx.oopen.de (localhost [127.0.0.1]) by a.mx.oopen.de (Postfix) with ESMTP id 55C1D3001C0; Thu, 9 Jul 2015 16:24:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at a.mx.oopen.de Received: from a.mx.oopen.de ([127.0.0.1]) by amavis.a.mx.oopen.de (a.mx.oopen.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NnTRc74S_yV4; Thu, 9 Jul 2015 16:24:19 +0200 (CEST) Received: from tuxtop.lan (x55b56cb5.dyn.telefonica.de [85.181.108.181]) (Authenticated sender: team@cacn.de) by a.mx.oopen.de (Postfix) with ESMTPSA id EE0233001BB; Thu, 9 Jul 2015 16:24:18 +0200 (CEST) Subject: Re: X220 after new Install no more WWAN To: Dan Williams References: <559A5757.4010604@cacn.de> <1436199249.6284.1.camel@redhat.com> <559CEB79.7070407@cacn.de> <1436365015.3051.2.camel@redhat.com> <559E59B4.5030906@cacn.de> <1436450863.8151.1.camel@redhat.com> <559E8116.80705@cacn.de> <1436451368.8151.6.camel@redhat.com> From: Michael Message-ID: <559E840F.6050109@cacn.de> Date: Thu, 9 Jul 2015 16:24:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <1436451368.8151.6.camel@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ap9WwoD3IQAeH90EtXqOnXlEWxsC98KbN" 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, 09 Jul 2015 14:24:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ap9WwoD3IQAeH90EtXqOnXlEWxsC98KbN Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable sorry Am 09.07.2015 um 16:16 schrieb Dan Williams: >=20 > Could you send the bug link too, Red Hat Bugzilla =E2=80=93 Bug 1238810 https://bugzilla.redhat.com/show_bug.cgi?id=3D1238810 --ap9WwoD3IQAeH90EtXqOnXlEWxsC98KbN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVnoQPAAoJENpjfaNyuuZomPMH/j06RJNL76562UCYFJ8nBClP 5z9vVWIW7K7nzYSgmQAfLzJ+LlE78yByrxsg+s/tRZTP/vm6BfiZNb9G+VMZWnW2 SEgDv+nUMMqHfS5tgecu4X4ZyOPb6qPOHf3iG2EByh7P73ZEEV/EOQLA/qLTbOja L8d8wmVJc/xZZtQ/4dWXIRZ6iDq/q7kNlcd6W5E9C+zDLnABz5B+xJxozbnqAPt1 IEmWD6wjyZr0UpaOrNzU2fJyAIGZl4GZOhM+Yehe42sqYvcgLznhfjXncEPRKwwJ ovPgyNVXZDzoE8ndWUOsctLf/uCZUV+kn24On2oQ6pjl9zD/Lmu8YCnMLpclYkY= =+Kwu -----END PGP SIGNATURE----- --ap9WwoD3IQAeH90EtXqOnXlEWxsC98KbN-- From nacrotek@gmail.com Thu Jul 9 14:30: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 858DF76AE2 for ; Thu, 9 Jul 2015 14:30:58 +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 1BoShnCKVi22 for ; Thu, 9 Jul 2015 14:30:57 +0000 (UTC) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) by restaurant.gnome.org (Postfix) with ESMTP id 18E2F76AD7 for ; Thu, 9 Jul 2015 14:30:46 +0000 (UTC) Received: by iecuq6 with SMTP id uq6so177765212iec.2 for ; Thu, 09 Jul 2015 07:30: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:date:message-id:subject:from:to :cc:content-type; bh=Ev3RetzoYbj4dGcbr8ofP7iAw2xmtj6OJSEzDr+d6hU=; b=VfJ5eWaSwAResKnU114LkiYaF52lexGLcbHBrA59G9w2c0W95njSmo+FmssWVHOwEA 2gT1SMOzGbE3XygAxC2l+ndP8/ZcSFaGPuqQ+CHCVqgYTl0pyfnkn4HnIAoye6j4YK5p qy5ASGP5tM0ME4FWB+/TmGARDFh6BhBVlRsydkR2akz/ukEQK7jnaDtr4SWavQyrPFe1 GwmhR1zgZRmwlSuFp6Mey5+wPzsRJZVluHlk7Xi9NkUvie9kTkTc0fI3IBy1Rjn2yw9T 0Fhz3m3OUUcGPvk61NGORPSE8CAKxiFZbiwIHkL51STzI41ANrqmEE/tOXRPIKEFwcVL RKvg== MIME-Version: 1.0 X-Received: by 10.50.132.70 with SMTP id os6mr72895719igb.27.1436452245044; Thu, 09 Jul 2015 07:30:45 -0700 (PDT) Received: by 10.107.4.194 with HTTP; Thu, 9 Jul 2015 07:30:44 -0700 (PDT) In-Reply-To: <1436451324.8151.5.camel@redhat.com> References: <1436451324.8151.5.camel@redhat.com> Date: Thu, 9 Jul 2015 08:30:44 -0600 Message-ID: Subject: Re: nmcli can not join hidden networks? From: Preston Price To: Dan Williams Content-Type: multipart/alternative; boundary=047d7b2e42f2cd8427051a721939 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, 09 Jul 2015 14:30:58 -0000 --047d7b2e42f2cd8427051a721939 Content-Type: text/plain; charset=UTF-8 Would it be possible to write a small script/app that would interface directly with the dbus and send the correct information/settings to network-manager? On Thu, Jul 9, 2015 at 8:15 AM, Dan Williams wrote: > On Wed, 2015-07-08 at 16:17 -0600, Preston Price wrote: > > System details: > > Ubuntu 14.04 > > nmcli v. 0.9.8.8 > > > > I've spent the afternoon Googling and I'm out of ideas. > > It appears that there is no way to connect to a hidden SSID from nmcli. > > > > If I, for example try: > > *$ sudo nmcli dev wifi con '' password '' name 'hidden > AP'* > > > > I get an error response: > > *$ Error: No network with SSID '' found.* > > > > I can use the network manager applet to create/connect to this hidden AP, > > but I need a non-GUI/command-line-only solution. I don't see any other > > appropriate options/flags to set in the nmcli command. > > > > Is there some secret sauce I'm missing? > > I don't think you're missing anything; this just seems like a deficiency > in nmcli. One thing you could try instead (while the bug gets fixed) is > to create the connection once, set the "wireless.hidden" property to > true, and then 'nmcli con up ". > > Also note that 'nmcli dev wifi connect' will create a new connection > each time (I think), so after the first time you connect successfully, > you can just use "nmcli con up " instead. > > I filed https://bugzilla.gnome.org/show_bug.cgi?id=752173 for this > issue. > > Thanks! > Dan > > --047d7b2e42f2cd8427051a721939 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Would it be possible to write a small script/app that woul= d interface directly with the dbus and send the correct information/setting= s to network-manager?


On Thu, Jul 9, 2015 at 8:15 AM, Dan Williams <dcbw@= redhat.com> wrote:
On Wed, 2015-07-08 at 16:17 -0600, Preston Price wrote:
> System details:
> Ubuntu 14.04
> nmcli v. 0.9.8.8
>
> I've spent the afternoon Googling and I'm out of ideas.
> It appears that there is no way to connect to a hidden SSID from nmcli= .
>
> If I, for example try:
> *$ sudo nmcli dev wifi con '<SSID>' password '= ;<Password>' name 'hidden AP'*
>
> I get an error response:
> *$ Error: No network with SSID '<SSID>' found.* >
> I can use the network manager applet to create/connect to this hidden = AP,
> but I need a non-GUI/command-line-only solution. I don't see any o= ther
> appropriate options/flags to set in the nmcli command.
>
> Is there some secret sauce I'm missing?

I don't think you're missing anything; this just seems like = a deficiency
in nmcli.=C2=A0 One thing you could try instead (while the bug gets fixed) = is
to create the connection once, set the "wireless.hidden" property= to
true, and then 'nmcli con up <connection name>".

Also note that 'nmcli dev wifi connect' will create a new connectio= n
each time (I think), so after the first time you connect successfully,
you can just use "nmcli con up <name>" instead.

I filed https://bugzilla.gnome.org/show_bug.cgi?i= d=3D752173 for this
issue.

Thanks!
Dan


--047d7b2e42f2cd8427051a721939-- From dcbw@redhat.com Thu Jul 9 16:31: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 E522D76AF5 for ; Thu, 9 Jul 2015 16:31:39 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.23 X-Spam-Level: X-Spam-Status: No, score=-7.23 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.329, 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 uUbvT0dgEhTQ for ; Thu, 9 Jul 2015 16:31:38 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id DF52076AE2 for ; Thu, 9 Jul 2015 16:31:28 +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 4EC9DA2C12; Thu, 9 Jul 2015 16:31:27 +0000 (UTC) Received: from vpn-231-165.phx2.redhat.com (vpn-231-165.phx2.redhat.com [10.3.231.165]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t69GVQDG021072; Thu, 9 Jul 2015 12:31:26 -0400 Message-ID: <1436459486.8151.8.camel@redhat.com> Subject: Re: nmcli can not join hidden networks? From: Dan Williams To: Preston Price Date: Thu, 09 Jul 2015 11:31:26 -0500 In-Reply-To: References: <1436451324.8151.5.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.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, 09 Jul 2015 16:31:40 -0000 On Thu, 2015-07-09 at 08:30 -0600, Preston Price wrote: > Would it be possible to write a small script/app that would interface > directly with the dbus and send the correct information/settings to > network-manager? Yes, it certainly would. There are a bunch of examples here: http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples so after picking your favorite language, something to do what you want should be fairly straightforward. Happy to help point you in the right direction once you've done that; there isn't a single script here that'll do what you want, but pieces of a couple will work. Dan > On Thu, Jul 9, 2015 at 8:15 AM, Dan Williams wrote: > > > On Wed, 2015-07-08 at 16:17 -0600, Preston Price wrote: > > > System details: > > > Ubuntu 14.04 > > > nmcli v. 0.9.8.8 > > > > > > I've spent the afternoon Googling and I'm out of ideas. > > > It appears that there is no way to connect to a hidden SSID from nmcli. > > > > > > If I, for example try: > > > *$ sudo nmcli dev wifi con '' password '' name 'hidden > > AP'* > > > > > > I get an error response: > > > *$ Error: No network with SSID '' found.* > > > > > > I can use the network manager applet to create/connect to this hidden AP, > > > but I need a non-GUI/command-line-only solution. I don't see any other > > > appropriate options/flags to set in the nmcli command. > > > > > > Is there some secret sauce I'm missing? > > > > I don't think you're missing anything; this just seems like a deficiency > > in nmcli. One thing you could try instead (while the bug gets fixed) is > > to create the connection once, set the "wireless.hidden" property to > > true, and then 'nmcli con up ". > > > > Also note that 'nmcli dev wifi connect' will create a new connection > > each time (I think), so after the first time you connect successfully, > > you can just use "nmcli con up " instead. > > > > I filed https://bugzilla.gnome.org/show_bug.cgi?id=752173 for this > > issue. > > > > Thanks! > > Dan > > > > From lkundrak@v3.sk Tue Jul 14 16:58: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 3F78076A25 for ; Tue, 14 Jul 2015 16:58:57 +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 0wz9h07buLhB for ; Tue, 14 Jul 2015 16:58:55 +0000 (UTC) Received: from shell.v3.sk (shell.v3.sk [92.60.52.57]) by restaurant.gnome.org (Postfix) with ESMTP id 2940376952 for ; Tue, 14 Jul 2015 16:58:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id E3428716F6 for ; Tue, 14 Jul 2015 18:58:41 +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 rv-h6DLbdoD6 for ; Tue, 14 Jul 2015 18:58:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 57D5871711 for ; Tue, 14 Jul 2015 18:58:39 +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 EdUuA2LUPcOa for ; Tue, 14 Jul 2015 18:58:38 +0200 (CEST) Received: from dhcp-0-123.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id BA178716F6 for ; Tue, 14 Jul 2015 18:58:38 +0200 (CEST) Message-ID: <1436893118.25805.5.camel@v3.sk> Subject: ANN: NetworkManager 1.0.4 released From: Lubomir Rintel To: NetworkManager Discussions Date: Tue, 14 Jul 2015 18:58:38 +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: quoted-printable 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, 14 Jul 2015 16:58:57 -0000 Hi, I'm pleased to announce the release of NetworkManager 1.0.4, the latest stable release in the 1.0.x series. We recommend that users of 1.0.x series as well as users of older 0.9.10.x series upgrade to this release which is D-Bus and C API backwards compatible. The 1.0.4 release is mostly a bugfix release, but it adds a fair amount of new features and resolves a number of issues. An overview of the changes in 1.0.4 is here http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/NEWS?h=3Dn= m-1-0 Grab NetworkManager and the applet/editor: https://download.gnome.org/sources/NetworkManager/1.0/NetworkManager-1.0.= 4.tar.xz https://download.gnome.org/sources/network-manager-applet/1.0/network-man= ager-applet-1.0.4.tar.xz We did not release new versions of the VPN plugins. Please use version 1.0.2 of the plugins with NetworkManager 1.0.4. Thanks to everybody who contributed patches and translations: Andika Triwidada, Bal=C3=A1zs =C3=9Ar, Beniamino Galvani, C=C3=A9dric Val= mary, Dan Williams, Dan Winship, G=C3=A1bor Kelemen, Jan Alexander Steffens, Ji=C5=99=C3=AD Klime=C5=A1, Lubomir Rintel, Marek =C4=8Cernock=C3=BD, Pav= el =C5=A0imerda, Piotr Dr=C4=85g, Thomas Haller, Yuri Chornoivan and Zden=C4=9Bk Hata=C5=A1= . Special thanks to everybody that reported bugs and tested this release! Lubo From biebl@debian.org Tue Jul 14 18:23: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 B629C76A32 for ; Tue, 14 Jul 2015 18:23:56 +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 GMqof_kvGC9q for ; Tue, 14 Jul 2015 18:23:55 +0000 (UTC) X-Greylist: delayed 375 seconds by postgrey-1.34 at restaurant.gnome.org; Tue, 14 Jul 2015 18:23:55 UTC Received: from dd2210.kasserver.com (dd2210.kasserver.com [85.13.128.249]) by restaurant.gnome.org (Postfix) with ESMTP id 8DB6376952 for ; Tue, 14 Jul 2015 18:23:39 +0000 (UTC) Received: from [192.168.179.45] (f053218012.adsl.alicedsl.de [78.53.218.12]) by dd2210.kasserver.com (Postfix) with ESMTPSA id DA41216007D3 for ; Tue, 14 Jul 2015 20:17:27 +0200 (CEST) To: networkmanager-list@gnome.org From: Michael Biebl Subject: C&P error in --enable-more-logging commit Message-ID: <55A55234.6000203@debian.org> Date: Tue, 14 Jul 2015 20:17:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vR5jMdEPc8r3vvVFAN0NELiUik7KK2Xb1" 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, 14 Jul 2015 18:23:56 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vR5jMdEPc8r3vvVFAN0NELiUik7KK2Xb1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, commit 63593a19d8e7d7fb5e844f0e3c8ac847e68699cb added a --enable-more-logging configure switch which seems to be a C&P of the asserts configure switch, resulting in AC_DEFINE(NM_MORE_LOGGING, [1], [Define if more asserts are enabled]) --=20 Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? --vR5jMdEPc8r3vvVFAN0NELiUik7KK2Xb1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVpVI3AAoJEGrh3w1gjyLcUxIP/RuyP5GsS+oZJcPoyCVVqL5G x9SJU2iluIdVm1ho0pm6pY3ANfX0m6lWQ5fbuUD0m+Az4S7Fq1gRENib/cXtJ9+N eNqI/c5Gu/vaINN6bgfO6EhWou32wniMkIAwMUXjoalgEQpGl3+W7ClHUubpSSoU UCWowHo9r8lhnbHoV7DvRmUNst+8Iv//N4qMLCUGHOz9RPBunfwwqnFvltYcdQsm s3rHQQyY+ePwbY/qOcbCcTpGBLhRKWSWgXl8O6aveqaSAR8NSivg/4MNK/aA/xsf O6WGBacagdVuK62255Hbjtdv4Yvxo4XdIn8OXgwDFbcCBr0SMme+GMFtnRz5qcH4 xMdX+dq2w9ong6+22YMTnxz9KSAdUQDAJECFzu0waeZkCu6VWwKv+kymau7hx/oc ZR+WY7kQYTtH1n1Dnlf01FehBJtVqOQhvLBoSZ49yjfLbvTktRsOsL57i3GD6Jch 4T15i0ICmInrasRLbh7PZ46+Y/TESv0pijBU1nj4zL5GcPW6hd94he+kaLeEv4ey cGCfmsrm1cwxofvdne3o11+RN7PoFBKXmFVhMIi81GFIPHyGFRab8Oc9ThtPV1wV bZA/hr6IAdq+YUcettjPmeTiRb8VAyWk4WB0KTXHMz7lRXeC4nYgLfpMrZhlMyTd MivX+eG+40K9q7L8iRBv =/HnX -----END PGP SIGNATURE----- --vR5jMdEPc8r3vvVFAN0NELiUik7KK2Xb1-- From lkundrak@v3.sk Wed Jul 15 09:06: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 DD0DA76A5A for ; Wed, 15 Jul 2015 09:06:03 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.327 X-Spam-Level: X-Spam-Status: No, score=-3.327 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.426, 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 HRPeuNtYQwU6 for ; Wed, 15 Jul 2015 09:06:01 +0000 (UTC) Received: from shell.v3.sk (shell.v3.sk [92.60.52.57]) by restaurant.gnome.org (Postfix) with ESMTP id 5C7AD76492 for ; Wed, 15 Jul 2015 09:05:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 3D38C7176D; Wed, 15 Jul 2015 11:05:47 +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 3D40Gmpnp4G3; Wed, 15 Jul 2015 11:05:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id E85A47176E; Wed, 15 Jul 2015 11:05:42 +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 tuvIOxAW5M7W; Wed, 15 Jul 2015 11:05:42 +0200 (CEST) Received: from dhcp-0-123.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id 33A8A7176D; Wed, 15 Jul 2015 11:05:42 +0200 (CEST) Message-ID: <1436951141.25805.6.camel@v3.sk> Subject: Re: C&P error in --enable-more-logging commit From: Lubomir Rintel To: Michael Biebl , networkmanager-list@gnome.org Date: Wed, 15 Jul 2015 11:05:41 +0200 In-Reply-To: <55A55234.6000203@debian.org> References: <55A55234.6000203@debian.org> 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: Wed, 15 Jul 2015 09:06:03 -0000 On Tue, 2015-07-14 at 20:17 +0200, Michael Biebl wrote: > Hi, > > commit 63593a19d8e7d7fb5e844f0e3c8ac847e68699cb added a > --enable-more-logging configure switch which seems to be a C&P of the > asserts configure switch, resulting in > > AC_DEFINE(NM_MORE_LOGGING, [1], [Define if more asserts are enabled]) Thank you! Fixed: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=924117c14422d5c40d00a3c03053c7fc20bfc5b6 Lubo From jc@eclis.ch Wed Jul 15 10:55: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 F356576A61 for ; Wed, 15 Jul 2015 10:55:15 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.327 X-Spam-Level: X-Spam-Status: No, score=-3.327 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.426, 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 EApKXqDM5wl0 for ; Wed, 15 Jul 2015 10:55:13 +0000 (UTC) X-Greylist: delayed 1905 seconds by postgrey-1.34 at restaurant.gnome.org; Wed, 15 Jul 2015 10:55:13 UTC Received: from mail.eclis.ch (www.eclis.ch [217.162.2.166]) by restaurant.gnome.org (Postfix) with ESMTP id 47F2476A51 for ; Wed, 15 Jul 2015 10:55:02 +0000 (UTC) Received: from [10.0.33.10] (unknown [213.221.150.139]) by mail.eclis.ch (Postfix) with ESMTP id 52744644092; Wed, 15 Jul 2015 12:23:15 +0200 (CEST) Message-ID: <55A63492.3040707@eclis.ch> Date: Wed, 15 Jul 2015 12:23:14 +0200 From: Jean-Christian de Rivaz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 MIME-Version: 1.0 To: networkmanager-list@gnome.org Subject: NM stop trying to get a DHCP lease 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: Wed, 15 Jul 2015 10:55:16 -0000 Hi, On a armhf Debian Jessie embedded device with a ethernet and a mobile modem connectivity I get this strange situation where NetworkManager stop trying to get a DHCP lease. 'nmcli d' return this: DEVICE TYPE STATE CONNECTION ttyACM4 gsm connected gsm1 ppp0 unknown connected ppp0 eth0 ethernet connecting (getting IP configuration) Wired connection 1 wlan0 wifi disconnected -- lo loopback unmanaged -- sit0 sit unmanaged -- But the /var/log/daemon.log show no dhcpclient activation since a least 24 hours. The last related dhcpclient log are this, after there are only mobile modem related messages: 3854128:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: (eth0): link connected 3854129:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: (eth0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40] 3854130:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: Auto-activating connection 'Wired connection 1'. 3854131:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: Activation (eth0) starting connection 'Wired connection 1' 3854132:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled... 3854133:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: Activation (eth0) Stage 1 of 5 (Device Prepare) started... 3854134:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0] 3854135:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: Activation (eth0) Stage 2 of 5 (Device Configure) scheduled... 3854136:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: Activation (eth0) Stage 1 of 5 (Device Prepare) complete. 3854137:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: Activation (eth0) Stage 2 of 5 (Device Configure) starting... 3854138:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: (eth0): device state change: prepare -> config (reason 'none') [40 50 0] 3854139:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: Activation (eth0) Stage 2 of 5 (Device Configure) successful. 3854140:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled. 3854141:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: Activation (eth0) Stage 2 of 5 (Device Configure) complete. 3854142:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: Activation (eth0) Stage 3 of 5 (IP Configure Start) started... 3854143:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: (eth0): device state change: config -> ip-config (reason 'none') [50 70 0] 3854144:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds) 3854145:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: dhclient started with pid 4044 3854146:Jul 14 10:07:41 menhir-15220006 NetworkManager[1106]: Activation (eth0) Stage 3 of 5 (IP Configure Start) complete. 3854147:Jul 14 10:07:42 menhir-15220006 NetworkManager[1106]: (eth0): DHCPv4 state changed nbi -> preinit 3854151:Jul 14 10:07:42 menhir-15220006 dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 3854164:Jul 14 10:07:48 menhir-15220006 dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 3854166:Jul 14 10:07:55 menhir-15220006 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 3854167:Jul 14 10:08:03 menhir-15220006 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15 3854168:Jul 14 10:08:18 menhir-15220006 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 3854169:Jul 14 10:08:19 menhir-15220006 NetworkManager[1106]: (eth0): link disconnected (deferring action for 4 seconds) 3854170:Jul 14 10:08:22 menhir-15220006 NetworkManager[1106]: (eth0): link connected 3854171:Jul 14 10:08:26 menhir-15220006 NetworkManager[1106]: (eth0): DHCPv4 request timed out. 3854172:Jul 14 10:08:27 menhir-15220006 NetworkManager[1106]: (eth0): canceled DHCP transaction, DHCP client pid 4044 3854173:Jul 14 10:08:27 menhir-15220006 NetworkManager[1106]: Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled... 3854174:Jul 14 10:08:27 menhir-15220006 NetworkManager[1106]: Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) started... 3854175:Jul 14 10:08:27 menhir-15220006 NetworkManager[1106]: Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) complete. While it way probably true that there was no DHCP server on that link at this time because this was part of a test procedure, the ethernet link get a working DHCP server some minutes later. But NetworkManager don't seem to try anymore to find a DHCP server since a full day now, so the device continue to use the mobile modem despite having a fully working ethernet connection available. I that the expected behavior or did I miss something ? Best Regards, Jean-Christian de Rivaz From petr.vorel@gmail.com Sun Jul 19 23:55:20 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 95AED76847 for ; Sun, 19 Jul 2015 23:55:20 +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 RpEDuHuWgD0g for ; Sun, 19 Jul 2015 23:55:19 +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 5B84476230 for ; Sun, 19 Jul 2015 23:55:08 +0000 (UTC) Received: by wibxm9 with SMTP id xm9so12528407wib.1 for ; Sun, 19 Jul 2015 16:55:07 -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=Audo3Wa42kwdZpK4wLsTiJLr+UWFTfRldQEZcArEWkQ=; b=fXF+7lrQ1OlT+h23jb5wYDh/POF6j/4xKJln6fIQLibe0Su4wPUTRe0u9qOgltwpo1 +AWMDtM+t1gjaDz/vvN5t730BMHfyhp1fhGeAkXvYwp1dp2pI8tVY7pF4iIokKZVUr/n 1lgVTypifLr1NMn1pc0qE9m6MPQnYW5py7APvRX4yRvsZQ6MTSZr8QUle45u9Mx+aBnp 8kM3bm3IOjZjYFjHdm0fT4JjyqfNHvyP2RvkXpzRFvX0vS83XhBNmx3a+PsP8ct5R6Wy qYuulvcC3klQSBuMnCgba/uFyCsv4dPc6depIpQn+dybEhKyuTAUWtajBrrl9J4Mcf9H Mxyg== X-Received: by 10.180.90.228 with SMTP id bz4mr16436827wib.69.1437350107179; Sun, 19 Jul 2015 16:55:07 -0700 (PDT) Received: from t61.jablocom.intra ([85.119.94.121]) by smtp.gmail.com with ESMTPSA id x10sm29260497wjr.25.2015.07.19.16.55.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 19 Jul 2015 16:55:06 -0700 (PDT) From: Petr Vorel To: networkmanager-list@gnome.org Subject: [PATCH] Fix build error for kernels headers < 3.17 Date: Mon, 20 Jul 2015 01:54:59 +0200 Message-Id: <1437350099-2056-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: Sun, 19 Jul 2015 23:55:20 -0000 platform/nm-platform.c:974:71: error: 'IN6_ADDR_GEN_MODE_NONE' undeclared (first use in this function) return _nm_platform_uint8_inv (pllink->inet6_addr_gen_mode_inv) == IN6_ADDR_GEN_MODE_NONE; Based on logic from 37f11fbd Signed-off-by: Petr Vorel --- src/platform/nm-platform.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c index 8803377..14e5726 100644 --- a/src/platform/nm-platform.c +++ b/src/platform/nm-platform.c @@ -39,6 +39,12 @@ #include "nm-enum-types.h" #include "nm-core-internal.h" +#if HAVE_LIBNL_INET6_ADDR_GEN_MODE && HAVE_KERNEL_INET6_ADDR_GEN_MODE +#include +#else +#define IN6_ADDR_GEN_MODE_NONE 1 +#endif + #define ADDRESS_LIFETIME_PADDING 5 G_STATIC_ASSERT (sizeof ( ((NMPlatformLink *) NULL)->addr.data ) == NM_UTILS_HWADDR_LEN_MAX); -- 1.8.0 From petr.vorel@gmail.com Sun Jul 19 23:58: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 9055376847 for ; Sun, 19 Jul 2015 23:58:43 +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 ARdSHr2i7Efo for ; Sun, 19 Jul 2015 23:58:42 +0000 (UTC) Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by restaurant.gnome.org (Postfix) with ESMTP id C9EB076230 for ; Sun, 19 Jul 2015 23:58:32 +0000 (UTC) Received: by wibxm9 with SMTP id xm9so12559415wib.1 for ; Sun, 19 Jul 2015 16:58:30 -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=+UYsaSF1GwqRzDiXYhTpLXP+xGxeKKoceiu4f7KdUzI=; b=gJsUdNsawgLsZM+8cWafVMESDToBV83XIhz4xwSafMtNPRT78QbGI2P7OE3zZ0Hss5 ZuvKHb3eXQkrr3kD9zwFeEE86fBGt5ufubp2ss4Juut7XSIYjM2yOmQEox/noVZUxm+s r3HPRbk0DjiFe8oxNCdLpr0BnGgYMDn13tO43r+sctCmtscm1qwbWv5kLG90vtybhCBH 4YwqTmg2SFluYjOh4B074fn6vlarR9iAYHhJEJgWJM0aLoU23/2F5AuFVpmk3g/ySvvW zCGXiPis+SooAE80aEHyr5bgAU6VA8nP8TVeUIlm+7OYedbHAHKjEXBZcq+jAYTErlFu orJg== X-Received: by 10.180.211.10 with SMTP id my10mr16050305wic.41.1437350310638; Sun, 19 Jul 2015 16:58:30 -0700 (PDT) Received: from t61 ([85.119.94.121]) by smtp.gmail.com with ESMTPSA id s5sm9105136wik.2.2015.07.19.16.58.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jul 2015 16:58:29 -0700 (PDT) Date: Mon, 20 Jul 2015 01:58:28 +0200 From: Petr Vorel To: networkmanager-list@gnome.org Subject: Re: [PATCH] Fix build error for kernels headers < 3.17 Message-ID: <20150719235827.GO5271@t61> References: <1437350099-2056-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: <1437350099-2056-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: Sun, 19 Jul 2015 23:58:43 -0000 Hi there, > platform/nm-platform.c:974:71: error: 'IN6_ADDR_GEN_MODE_NONE' undeclared (first use in this function) > return _nm_platform_uint8_inv (pllink->inet6_addr_gen_mode_inv) == IN6_ADDR_GEN_MODE_NONE; > Based on logic from 37f11fbd > Signed-off-by: Petr Vorel > --- > src/platform/nm-platform.c | 6 ++++++ > 1 file changed, 6 insertions(+) > diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c > index 8803377..14e5726 100644 > --- a/src/platform/nm-platform.c > +++ b/src/platform/nm-platform.c > @@ -39,6 +39,12 @@ > #include "nm-enum-types.h" > #include "nm-core-internal.h" > +#if HAVE_LIBNL_INET6_ADDR_GEN_MODE && HAVE_KERNEL_INET6_ADDR_GEN_MODE > +#include > +#else > +#define IN6_ADDR_GEN_MODE_NONE 1 > +#endif > + > #define ADDRESS_LIFETIME_PADDING 5 > G_STATIC_ASSERT (sizeof ( ((NMPlatformLink *) NULL)->addr.data ) == NM_UTILS_HWADDR_LEN_MAX); There might be better place to add this to avoid duplicity. Isn't there any compatibility like header? Kind regards, Petr From lkundrak@v3.sk Mon Jul 20 09:01: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 CA13B768B3 for ; Mon, 20 Jul 2015 09:01:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.9 X-Spam-Level: X-Spam-Status: No, score=-6.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_FAIL=0.001, 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 NCbUqXdBocvd for ; Mon, 20 Jul 2015 09:01:23 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 834EE7648F for ; Mon, 20 Jul 2015 09:01: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 2C040C7961; Mon, 20 Jul 2015 09:01:10 +0000 (UTC) Received: from belphegor.brq.redhat.com. (dhcp-0-123.brq.redhat.com [10.34.0.123]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6K917hG016517 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Mon, 20 Jul 2015 05:01:10 -0400 From: Lubomir Rintel To: networkmanager-list@gnome.org Subject: [PATCH] platform: move link_get_user_ipv6ll_enabled() to nm-platform-linux Date: Mon, 20 Jul 2015 11:01:04 +0200 Message-Id: <1437382864-10473-1-git-send-email-lkundrak@v3.sk> In-Reply-To: <20150719235827.GO5271@t61> References: <20150719235827.GO5271@t61> 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: Mon, 20 Jul 2015 09:01:24 -0000 It uses Linux specific functionality. Furthermore, the IN6_ADDR_GEN_MODE_NONE macro might not be available in nm-platform which breaks the build. Reported-by: Petr Vorel --- Petr, does this look good to you? Thanks, Lubo src/platform/nm-linux-platform.c | 16 ++++++++++++++++ src/platform/nm-platform.c | 11 ++--------- src/platform/nm-platform.h | 1 + 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index f3a9254..b6b8e33 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -2987,6 +2987,21 @@ link_set_user_ipv6ll_enabled (NMPlatform *platform, int ifindex, gboolean enable } static gboolean +link_get_user_ipv6ll_enabled (NMPlatform *platform, int ifindex) +{ +#if HAVE_LIBNL_INET6_ADDR_GEN_MODE + { + const NMPlatformLink *pllink; + + pllink = nm_platform_link_get (platform, ifindex); + if (pllink && pllink->inet6_addr_gen_mode_inv) + return _nm_platform_uint8_inv (pllink->inet6_addr_gen_mode_inv) == IN6_ADDR_GEN_MODE_NONE; + } +#endif + return FALSE; +} + +static gboolean link_supports_carrier_detect (NMPlatform *platform, int ifindex) { const char *name = nm_platform_link_get_name (platform, ifindex); @@ -4952,6 +4967,7 @@ nm_linux_platform_class_init (NMLinuxPlatformClass *klass) platform_class->link_get_udev_device = link_get_udev_device; platform_class->link_set_user_ipv6ll_enabled = link_set_user_ipv6ll_enabled; + platform_class->link_get_user_ipv6ll_enabled = link_get_user_ipv6ll_enabled; platform_class->link_set_address = link_set_address; platform_class->link_get_permanent_address = link_get_permanent_address; diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c index 8803377..ee4b1a1 100644 --- a/src/platform/nm-platform.c +++ b/src/platform/nm-platform.c @@ -965,15 +965,8 @@ nm_platform_link_get_user_ipv6ll_enabled (NMPlatform *self, int ifindex) g_return_val_if_fail (ifindex >= 0, FALSE); -#if HAVE_LIBNL_INET6_ADDR_GEN_MODE - { - const NMPlatformLink *pllink; - - pllink = nm_platform_link_get (self, ifindex); - if (pllink && pllink->inet6_addr_gen_mode_inv) - return _nm_platform_uint8_inv (pllink->inet6_addr_gen_mode_inv) == IN6_ADDR_GEN_MODE_NONE; - } -#endif + if (klass->link_get_user_ipv6ll_enabled) + return klass->link_get_user_ipv6ll_enabled (self, ifindex); return FALSE; } diff --git a/src/platform/nm-platform.h b/src/platform/nm-platform.h index 16eb351..9ef4080 100644 --- a/src/platform/nm-platform.h +++ b/src/platform/nm-platform.h @@ -446,6 +446,7 @@ typedef struct { GObject *(*link_get_udev_device) (NMPlatform *self, int ifindex); gboolean (*link_set_user_ipv6ll_enabled) (NMPlatform *, int ifindex, gboolean enabled); + gboolean (*link_get_user_ipv6ll_enabled) (NMPlatform *, int ifindex); gboolean (*link_get_permanent_address) (NMPlatform *, int ifindex, -- 2.4.3 From lkundrak@v3.sk Mon Jul 20 12:54: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 4C296769BC for ; Mon, 20 Jul 2015 12:54:40 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.9 X-Spam-Level: X-Spam-Status: No, score=-6.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_FAIL=0.001, 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 cm5TLCsC7FYC for ; Mon, 20 Jul 2015 12:54:38 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 7578F76932 for ; Mon, 20 Jul 2015 12:54:22 +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 7A852B0FAA; Mon, 20 Jul 2015 12:54:21 +0000 (UTC) Received: from belphegor.brq.redhat.com. (dhcp-0-123.brq.redhat.com [10.34.0.123]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6KCO9nW005150 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Mon, 20 Jul 2015 08:24:11 -0400 From: Lubomir Rintel To: networkmanager-list@gnome.org Subject: [PATCH] device: restart the DHCP transaction when the carrier goes up during the defer period Date: Mon, 20 Jul 2015 14:24:00 +0200 Message-Id: <1437395040-21394-1-git-send-email-lkundrak@v3.sk> In-Reply-To: <55A63492.3040707@eclis.ch> References: <55A63492.3040707@eclis.ch> 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: Mon, 20 Jul 2015 12:54:40 -0000 This makes NetworkManager recover on brief carrier toggle following a DHCP outage. NetworkManager[1106]: (eth0): link connected NetworkManager[1106]: (eth0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40] NetworkManager[1106]: Auto-activating connection 'Wired connection 1'. NetworkManager[1106]: Activation (eth0) starting connection 'Wired connection 1' NetworkManager[1106]: Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled... NetworkManager[1106]: Activation (eth0) Stage 1 of 5 (Device Prepare) started... NetworkManager[1106]: (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0] NetworkManager[1106]: Activation (eth0) Stage 2 of 5 (Device Configure) scheduled... NetworkManager[1106]: Activation (eth0) Stage 1 of 5 (Device Prepare) complete. NetworkManager[1106]: Activation (eth0) Stage 2 of 5 (Device Configure) starting... NetworkManager[1106]: (eth0): device state change: prepare -> config (reason 'none') [40 50 0] NetworkManager[1106]: Activation (eth0) Stage 2 of 5 (Device Configure) successful. NetworkManager[1106]: Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled. NetworkManager[1106]: Activation (eth0) Stage 2 of 5 (Device Configure) complete. NetworkManager[1106]: Activation (eth0) Stage 3 of 5 (IP Configure Start) started... NetworkManager[1106]: (eth0): device state change: config -> ip-config (reason 'none') [50 70 0] NetworkManager[1106]: Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds) NetworkManager[1106]: dhclient started with pid 4044 NetworkManager[1106]: Activation (eth0) Stage 3 of 5 (IP Configure Start) complete. NetworkManager[1106]: (eth0): DHCPv4 state changed nbi -> preinit dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 NetworkManager[1106]: (eth0): link disconnected (deferring action for 4 seconds) NetworkManager[1106]: (eth0): link connected NetworkManager[1106]: (eth0): DHCPv4 request timed out. NetworkManager[1106]: (eth0): canceled DHCP transaction, DHCP client pid 4044 NetworkManager[1106]: Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled... NetworkManager[1106]: Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) started... NetworkManager[1106]: Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) complete. Reported-by: Jean-Christian de Rivaz --- Hi Jean-Christian, I think something like this could help. Lubo src/devices/nm-device.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 913c488..53ddb66 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -1295,6 +1295,10 @@ link_disconnect_action_cancel (NMDevice *self) g_source_remove (priv->carrier_defer_id); _LOGD (LOGD_DEVICE, "link disconnected (canceling deferred action) (id=%u)", priv->carrier_defer_id); priv->carrier_defer_id = 0; + + /* Don't let the DHCP requests that were lost while the carrier was down + * contribute to the DHCP timeout -- restart the transaction. */ + update_dynamic_ip_setup (self); } } -- 2.4.3 From petr.vorel@gmail.com Mon Jul 20 13:28: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 3E82676999 for ; Mon, 20 Jul 2015 13:28:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.679 X-Spam-Level: X-Spam-Status: No, score=-1.679 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, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] 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 cKoX9qB6q9da for ; Mon, 20 Jul 2015 13:28:23 +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 CBA6A76932 for ; Mon, 20 Jul 2015 13:28:04 +0000 (UTC) Received: by wgkl9 with SMTP id l9so130480008wgk.1 for ; Mon, 20 Jul 2015 06:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=cN2JgChagC2emefvAb0Oun07qSintV+oT2GdlzTiR1E=; b=May2GUA62R0PT8/nzfnbUK4bq9dQlxiccDe9LfKRIV6kBIfaQPH34XfzdW718YO5fH PBmGnDuR4A/0Ireay3j/wB9jsdIjx1sn9ZUh1gjkpdsqNe7/ATRVQOPs5F83NB9QgPcd sFFlhXALRNvV2cCECl6zUkmJqXXI/Kraz9ajjfj2twyoyTEu5QfZRDLMYQX0+wIam8TK 0VgyWkgwbmluQiFmgjhvTZYVV+xHx8QQYY7lr5tzHQ+BhqPv8H3jyvXBtfc/eQy7MrMB 66SBsMMPsqt1Fw+E2aijSoUBfplu1fNmsPKdAxTYu3kDZwjAlRKrHSIS1yDIKZp8nNBG YKIA== X-Received: by 10.180.149.206 with SMTP id uc14mr22438264wib.12.1437398882125; Mon, 20 Jul 2015 06:28:02 -0700 (PDT) Received: from vorel-pc ([77.104.250.125]) by smtp.gmail.com with ESMTPSA id lk5sm11814700wic.24.2015.07.20.06.28.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jul 2015 06:28:02 -0700 (PDT) Date: Mon, 20 Jul 2015 15:28:00 +0200 From: Petr Vorel Cc: networkmanager-list@gnome.org Subject: Re: [PATCH] platform: move link_get_user_ipv6ll_enabled() to nm-platform-linux Message-ID: <20150720132800.GB12360@vorel-pc> References: <20150719235827.GO5271@t61> <1437382864-10473-1-git-send-email-lkundrak@v3.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1437382864-10473-1-git-send-email-lkundrak@v3.sk> 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: Mon, 20 Jul 2015 13:28:24 -0000 Hi Lubo, > It uses Linux specific functionality. > Furthermore, the IN6_ADDR_GEN_MODE_NONE macro might not be available in > nm-platform which breaks the build. Yes, I was a bit confused why it's in nm-platform.c. > does this look good to you? Tested on tarball 1.0.4 (as I cannot easily test it on git), works like a charm. Thanks a lot for a quick patch. Could you also push it into nm-1-0 branch? Thanks. Kind regards, Petr From tore@fud.no Tue Jul 21 09:38: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 3BBDB76A61 for ; Tue, 21 Jul 2015 09:38:01 +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 gttdfbuX2Ptx for ; Tue, 21 Jul 2015 09:37:59 +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 BB3C976A4C for ; Tue, 21 Jul 2015 09:37:49 +0000 (UTC) Received: from [31.130.238.95] (port=56006 helo=envy.org) by greed.fud.no with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1ZHTze-0003Xz-KF; Tue, 21 Jul 2015 11:37:46 +0200 From: Tore Anderson To: networkmanager-list@gnome.org Subject: [PATCH] device: prefer wifi over wwan by default Date: Tue, 21 Jul 2015 11:37:10 +0200 Message-Id: <1437471430-26982-1-git-send-email-tore@fud.no> X-Mailer: git-send-email 2.4.3 Cc: Tore Anderson 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, 21 Jul 2015 09:38:01 -0000 This makes wifi preferred to wwan (the modem and bluetooth device types to be specific) by default, so that users that care about being connected at all times can keep both enabled with auto-connect. As wifi is usually unmetered and often faster than wwan, it makes sense to prefer it. This is also how pretty much every smart-phone in the world behaves, so it aligns better with user expectations too. https://bugzilla.gnome.org/show_bug.cgi?id=744754 --- src/devices/nm-device.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index eba15a3..332182a 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -721,14 +721,14 @@ nm_device_get_priority (NMDevice *self) return 400; case NM_DEVICE_TYPE_BRIDGE: return 425; - case NM_DEVICE_TYPE_MODEM: - return 450; - case NM_DEVICE_TYPE_BT: - return 550; case NM_DEVICE_TYPE_WIFI: return 600; case NM_DEVICE_TYPE_OLPC_MESH: return 650; + case NM_DEVICE_TYPE_MODEM: + return 700; + case NM_DEVICE_TYPE_BT: + return 750; case NM_DEVICE_TYPE_GENERIC: return 950; case NM_DEVICE_TYPE_UNKNOWN: -- 2.4.3 From hadess@hadess.net Tue Jul 21 09:46: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 BB6B576A6C for ; Tue, 21 Jul 2015 09:46:30 +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 T5BpCcLCW77z for ; Tue, 21 Jul 2015 09:46:29 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by restaurant.gnome.org (Postfix) with ESMTP id A19D276A61 for ; Tue, 21 Jul 2015 09:46:18 +0000 (UTC) Received: from mfilter35-d.gandi.net (mfilter35-d.gandi.net [217.70.178.166]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 5E64441C07E; Tue, 21 Jul 2015 11:46:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter35-d.gandi.net Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter35-d.gandi.net (mfilter35-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id dTEmtP-j6pcC; Tue, 21 Jul 2015 11:46:16 +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 relay5-d.mail.gandi.net (Postfix) with ESMTPSA id BD58741C06B; Tue, 21 Jul 2015 11:46:15 +0200 (CEST) Message-ID: <1437471895.30706.25.camel@hadess.net> Subject: Re: [PATCH] device: prefer wifi over wwan by default From: Bastien Nocera To: Tore Anderson , networkmanager-list@gnome.org Date: Tue, 21 Jul 2015 11:44:55 +0200 In-Reply-To: <1437471430-26982-1-git-send-email-tore@fud.no> References: <1437471430-26982-1-git-send-email-tore@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: Tue, 21 Jul 2015 09:46:30 -0000 On Tue, 2015-07-21 at 11:37 +0200, Tore Anderson wrote: > This makes wifi preferred to wwan (the modem and bluetooth device > types > to be specific) by default, so that users that care about being > connected at all times can keep both enabled with auto-connect. As > wifi > is usually unmetered and often faster than wwan, it makes sense to > prefer it. This is also how pretty much every smart-phone in the > world > behaves, so it aligns better with user expectations too. Obviously, +1 ! From thaller@redhat.com Wed Jul 22 07:22: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 9C7E776A09 for ; Wed, 22 Jul 2015 07:22:21 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -8.128 X-Spam-Level: X-Spam-Status: No, score=-8.128 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.227, 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 KvZvrACdzmOI for ; Wed, 22 Jul 2015 07:22:20 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id BF226768D5 for ; Wed, 22 Jul 2015 07:22:10 +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 A91845A09A; Wed, 22 Jul 2015 07:22:07 +0000 (UTC) Received: from x250 (ovpn-204-54.brq.redhat.com [10.40.204.54]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6M7M4Zd026793 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Wed, 22 Jul 2015 03:22:06 -0400 Message-ID: <1437549717.652.1.camel@redhat.com> Subject: Re: [PATCH] platform: move link_get_user_ipv6ll_enabled() to nm-platform-linux From: Thomas Haller To: Lubomir Rintel , networkmanager-list@gnome.org Date: Wed, 22 Jul 2015 09:21:57 +0200 In-Reply-To: <1437382864-10473-1-git-send-email-lkundrak@v3.sk> References: <20150719235827.GO5271@t61> <1437382864-10473-1-git-send-email-lkundrak@v3.sk> Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-/ckaeZmdz6G6mNEoQenO" 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: Wed, 22 Jul 2015 07:22:21 -0000 --=-/ckaeZmdz6G6mNEoQenO Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2015-07-20 at 11:01 +0200, Lubomir Rintel wrote: > It uses Linux specific functionality. >=20 > Furthermore, the IN6_ADDR_GEN_MODE_NONE macro might not be available=20 > in > nm-platform which breaks the build. >=20 > Reported-by: Petr Vorel > --- LGTM --=-/ckaeZmdz6G6mNEoQenO 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 iQIcBAABAgAGBQJVr0SVAAoJECnCNm5N/FcottsQALw6xoyuVkV9Q9pzFYhjG1vU YX091ULHVxdYOOvDVp+5nQL6R6W+NSUAXakSUWs6buHSOGMBMpf8mu08v2JxDE2X YvO5tAOru/WGMLTs7Ejj1M7JYoDGNpnXO3f40r/pmlNlDjN7rn95lUrI+th+qKp+ FM8nEAc/VkD7omRkentWesy2OMFBjPmDotbeuFCEaVq7pRrwZNndfzJHkUdACqij I5ik+FT3aBlxI9zR3RlEGtiG1CSCf8h2hmYZ4GA6nxFzehotwzLCAgeq1R2gd+td E9/ZkmJ5hq6PqFE/bbsZZedEl+erjtiIh/AbVxJQ8icLqStwdu3B2Z71sQrF71xK hO1d8QJiSo0cqzt3fEv8XuFO9GokVWkLrOyKBpq4en/8LcVp+11Gj9XDtd7ieLlY qFMH+znEHASg+b1gxL154XSl/tGY6aJrJQq+ZyoHlLUF7BGpA+3/SBM6jmVhx3bI WDZFS3nVvhS6zukG/VBJ3vl6QAOc3fhso5l3MKZdky3oAUOGbPPCZkrM61jMXGvw dZM+sY27Z8h8OkfNoX2uv9bfY2JWVDpCR2ls2UeF8olr0zpgbmVypjwOTbNCTjeW /4sbZbSXH/YpDdlQxiN6pXTBGzKLM0KXX7JYih8+4USCCQdXg7sYE4hnqOU02+IE HXUUepTaXX2XnMwg2fln =z/vU -----END PGP SIGNATURE----- --=-/ckaeZmdz6G6mNEoQenO-- From thaller@redhat.com Wed Jul 22 07:45:31 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 69E5876A4C for ; Wed, 22 Jul 2015 07:45:31 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -8.128 X-Spam-Level: X-Spam-Status: No, score=-8.128 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.227, 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 hhZT04_vnGjg for ; Wed, 22 Jul 2015 07:45:30 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id D75FD764BC for ; Wed, 22 Jul 2015 07:45:20 +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 022ED8C1A3; Wed, 22 Jul 2015 07:45:18 +0000 (UTC) Received: from x250 (ovpn-204-54.brq.redhat.com [10.40.204.54]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6M7jGbe011950 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Wed, 22 Jul 2015 03:45:17 -0400 Message-ID: <1437551115.652.7.camel@redhat.com> Subject: Re: [PATCH] device: prefer wifi over wwan by default From: Thomas Haller To: Tore Anderson , networkmanager-list@gnome.org Date: Wed, 22 Jul 2015 09:45:15 +0200 In-Reply-To: <1437471430-26982-1-git-send-email-tore@fud.no> References: <1437471430-26982-1-git-send-email-tore@fud.no> Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-UQPd4XhcdHcXKWq1nH57" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 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, 22 Jul 2015 07:45:31 -0000 --=-UQPd4XhcdHcXKWq1nH57 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2015-07-21 at 11:37 +0200, Tore Anderson wrote: > This makes wifi preferred to wwan (the modem and bluetooth device=20 > types > to be specific) by default, so that users that care about being > connected at all times can keep both enabled with auto-connect. As=20 > wifi > is usually unmetered and often faster than wwan, it makes sense to > prefer it. This is also how pretty much every smart-phone in the=20 > world > behaves, so it aligns better with user expectations too. >=20 > https://bugzilla.gnome.org/show_bug.cgi?id=3D744754 >=20 I also agree with this change. On master and nm-1-0 branch (and 1.0.4), you can already configure this by putting the following to /etc/NetworkManager/NetworkManager.conf: [connection.priority-modem] match-device=3Dtype:gsm,type:cdma ipv4.route-metric=3D700 ipv6.route-metric=3D700 [connection.priority-bt] match-device=3Dtype:bt ipv4.route-metric=3D750 ipv6.route-metric=3D750 Thomas --=-UQPd4XhcdHcXKWq1nH57 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 iQIcBAABAgAGBQJVr0oLAAoJECnCNm5N/FconYoP/26odHB9YTKec93rD9QNi05Z eNIB1REZn62wg5Sh/IUAp3D67IGcaM9rIX8ZM4V1snqCCde+gpE9pSDOBThgXiGT bKIkh+8hR5H402qTx8eyLCaPJeI7pGnomtVgzneM1dc99N75CN2BHyGCXkJEkfH/ niJOZU+cIIWFN8wLsi4RZieCJRbTg11n7xu+gdm3XTaY4DsXxrMXHeROvpI+vBqk /JPArXs8bKKdEzdzpAlkEmY5oFmeA28yxAG4tEYRSe4P4iUi4VhlSRSKVkerxD9Z 35Qz3hKzhVzPf+Fy6K2eAuUefDOzq1l1WHqtKoOwS2EXTaPJwRcF3yLSvpMFRetk oSPJcw3GRMCBigtJn0YqTIBT+QCW/fpogQ4abafqMd3Q9IcVSQGlhYPtuQLcR6LH 5BFRPfLyjU319yBDqdJTpeKDaUdyQu7SmyN6c4f8iqXPP1fcPMTvLK8itwaz1UVY VJLeM7LY8qt2Jm7PxqFfnZKuYqTWRdgKNEBDyBvgxWq4eaG/7WwgxLJ0/ROIBDmp mqQC/GwWWyCI8CnmwvN68BRo2yJdYL03eMsKkkW98DYcnkjUZJLeMholK9o7n9Yi oBv6cCatrp6oag4Qup/t/GyhPWOFaSLYp+NdwH2m95n02U7NR6Kvlvt3WOoZ3JfK bR387kHcaLn40lccjLMC =AreP -----END PGP SIGNATURE----- --=-UQPd4XhcdHcXKWq1nH57-- From thaller@redhat.com Wed Jul 22 08:05: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 8C00D76A4C for ; Wed, 22 Jul 2015 08:05:04 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -8.128 X-Spam-Level: X-Spam-Status: No, score=-8.128 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.227, 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 qJP6yiGMuwDY for ; Wed, 22 Jul 2015 08:05:03 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 89A78764BC for ; Wed, 22 Jul 2015 08:04:47 +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 74F1AADAC3; Wed, 22 Jul 2015 08:04:46 +0000 (UTC) Received: from x250 (ovpn-204-54.brq.redhat.com [10.40.204.54]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6M84hlf003285 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Wed, 22 Jul 2015 04:04:45 -0400 Message-ID: <1437552282.652.15.camel@redhat.com> Subject: Re: [PATCH] device: restart the DHCP transaction when the carrier goes up during the defer period From: Thomas Haller To: Lubomir Rintel , networkmanager-list@gnome.org Date: Wed, 22 Jul 2015 10:04:42 +0200 In-Reply-To: <1437395040-21394-1-git-send-email-lkundrak@v3.sk> References: <55A63492.3040707@eclis.ch> <1437395040-21394-1-git-send-email-lkundrak@v3.sk> Organization: Red Hat Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-zAYjez0C5wdaYPXAYbDA" 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, 22 Jul 2015 08:05:04 -0000 --=-zAYjez0C5wdaYPXAYbDA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2015-07-20 at 14:24 +0200, Lubomir Rintel wrote: > This makes NetworkManager recover on brief carrier toggle following a=20 > DHCP outage. > src/devices/nm-device.c | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c > index 913c488..53ddb66 100644 > --- a/src/devices/nm-device.c > +++ b/src/devices/nm-device.c > @@ -1295,6 +1295,10 @@ link_disconnect_action_cancel (NMDevice *self) > g_source_remove (priv->carrier_defer_id); > _LOGD (LOGD_DEVICE, "link disconnected (canceling=20 > deferred action) (id=3D%u)", priv->carrier_defer_id); > priv->carrier_defer_id =3D 0; > + > + /* Don't let the DHCP requests that were lost while=20 > the carrier was down > + * contribute to the DHCP timeout -- restart the=20 > transaction. */ > + update_dynamic_ip_setup (self); > } > } > =20 link_disconnect_action_cancel() doesn't seem the right place to do this, because then the name of the function is misleading, and it gets called from dispose() -- at which you don't want to renew the DHCP lease (well, technically, you wouldn't because the dhcp client is already cleared). Can you not move the call to nm_device_set_carrier()? Also, in commit 348452f1e06e9bde9f84b90db4f5620ee672389a, it seems wrong that update_dynamic_ip_setup() clears ip6_saved_properties. How about restoring update_for_ip_ifname_change() which does: update_for_ip_ifname_change() { g_hash_table_remove_all (priv->ip6_saved_properties); update_dynamic_ip_setup (self); } Thomas --=-zAYjez0C5wdaYPXAYbDA 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 iQIcBAABAgAGBQJVr06aAAoJECnCNm5N/FcoSNEQAK7PaiTJbmrlzeKF9bdwOs7s BQalEEitH4w1BfMJH33Cdw5yZbstRxnEDWEYfPQC6aTW1qz5nR3h7ouu32p5ZwXY G2c9qMqWTWhbfvYcHKNkF8MH56AOhPKA5yEoz0PiXGI91/9/ajBanMgnknhAL1t3 sQEyaTP1yG+wc9UepYq1eT3e9ReswSKd/uXuC6CfYBHuhHxkoZLaQxRjZtgGDDRr 7CGoz4G4Pqc1iY8H81fIKthWauW0cqc76iLzpyvDCKev39t7eSUMzHnbfbXQrSt/ QAhHaYVtW6op3RVWQ2K0kUw9S6xOfpm9HUU3uOzHILGtxKdUAqCP7lGEAXrKk7Va iGwHmr83KL2c1JvVfBMAMifRF0pb7PFqj+7CEh068lZW39aiKjQGANqbkI08HWNj PKMzOdJsswe+5icwfyNI5DY4ErmPIANXiUYeUtCK32UPenf1rMsv5d5aBoiQIMus +C+myJ4NnohDRAWxmR4b/q4jNlhmBgnhT7XzuCpXPLu988Vs3Ou7D0CBtc2H5OQC yArRYCra8ilOhL29a0y4jaUKRR8v3vwe/2n9MuTrsl/vn+KVDd6iWNHFEVK8ABgH wAqOSVgcVvbPkv6iueWpZTTeBMtlufB9j4/HbxeUQt5dTRkHtQtDMg1qOCIROObd FPrDQId/6WeE4NT86I+0 =dLzj -----END PGP SIGNATURE----- --=-zAYjez0C5wdaYPXAYbDA-- From lkundrak@v3.sk Wed Jul 22 08:53: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 5ADE576AAB for ; Wed, 22 Jul 2015 08:53:22 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.128 X-Spam-Level: X-Spam-Status: No, score=-3.128 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.227, 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 zWO7FymYnKEK for ; Wed, 22 Jul 2015 08:53:21 +0000 (UTC) Received: from shell.v3.sk (shell.v3.sk [92.60.52.57]) by restaurant.gnome.org (Postfix) with ESMTP id E110A76A8B for ; Wed, 22 Jul 2015 08:53:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id B9B2171BE7; Wed, 22 Jul 2015 10:53:07 +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 t-aOz4ab7ggC; Wed, 22 Jul 2015 10:53:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id E319371BEE; Wed, 22 Jul 2015 10:53:02 +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 7GshaNVO5B0W; Wed, 22 Jul 2015 10:53:02 +0200 (CEST) Received: from dhcp-0-123.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id 32F9871BE7; Wed, 22 Jul 2015 10:53:02 +0200 (CEST) Message-ID: <1437555181.25805.27.camel@v3.sk> Subject: Re: [PATCH] device: prefer wifi over wwan by default From: Lubomir Rintel To: Tore Anderson , networkmanager-list@gnome.org Date: Wed, 22 Jul 2015 10:53:01 +0200 In-Reply-To: <1437471430-26982-1-git-send-email-tore@fud.no> References: <1437471430-26982-1-git-send-email-tore@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: Wed, 22 Jul 2015 08:53:22 -0000 On Tue, 2015-07-21 at 11:37 +0200, Tore Anderson wrote: > This makes wifi preferred to wwan (the modem and bluetooth device > types > to be specific) by default, so that users that care about being > connected at all times can keep both enabled with auto-connect. As > wifi > is usually unmetered and often faster than wwan, it makes sense to > prefer it. This is also how pretty much every smart-phone in the > world > behaves, so it aligns better with user expectations too. > > https://bugzilla.gnome.org/show_bug.cgi?id=744754 > --- > src/devices/nm-device.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c > index eba15a3..332182a 100644 > --- a/src/devices/nm-device.c > +++ b/src/devices/nm-device.c > @@ -721,14 +721,14 @@ nm_device_get_priority (NMDevice *self) > return 400; > case NM_DEVICE_TYPE_BRIDGE: > return 425; > - case NM_DEVICE_TYPE_MODEM: > - return 450; > - case NM_DEVICE_TYPE_BT: > - return 550; > case NM_DEVICE_TYPE_WIFI: > return 600; > case NM_DEVICE_TYPE_OLPC_MESH: > return 650; > + case NM_DEVICE_TYPE_MODEM: > + return 700; > + case NM_DEVICE_TYPE_BT: > + return 750; > case NM_DEVICE_TYPE_GENERIC: > return 950; > case NM_DEVICE_TYPE_UNKNOWN: Thank you. Applied to master & 1.0 stable branch. Lubo From dcbw@redhat.com Wed Jul 22 15:57: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 F17FE76A53 for ; Wed, 22 Jul 2015 15:57:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -8.128 X-Spam-Level: X-Spam-Status: No, score=-8.128 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.227, 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 lwqxggPUhcNg for ; Wed, 22 Jul 2015 15:57:02 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 6D2647639F for ; Wed, 22 Jul 2015 15:56:51 +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 5D56A9239E; Wed, 22 Jul 2015 15:56:49 +0000 (UTC) Received: from vpn-234-199.phx2.redhat.com (vpn-234-199.phx2.redhat.com [10.3.234.199]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6MFulZM025353; Wed, 22 Jul 2015 11:56:48 -0400 Message-ID: <1437580607.24700.15.camel@redhat.com> Subject: Re: [PATCH] device: prefer wifi over wwan by default From: Dan Williams To: Lubomir Rintel Date: Wed, 22 Jul 2015 10:56:47 -0500 In-Reply-To: <1437555181.25805.27.camel@v3.sk> References: <1437471430-26982-1-git-send-email-tore@fud.no> <1437555181.25805.27.camel@v3.sk> 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: Tore Anderson , 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, 22 Jul 2015 15:57:03 -0000 On Wed, 2015-07-22 at 10:53 +0200, Lubomir Rintel wrote: > On Tue, 2015-07-21 at 11:37 +0200, Tore Anderson wrote: > > This makes wifi preferred to wwan (the modem and bluetooth device > > types > > to be specific) by default, so that users that care about being > > connected at all times can keep both enabled with auto-connect. As > > wifi > > is usually unmetered and often faster than wwan, it makes sense to > > prefer it. This is also how pretty much every smart-phone in the > > world > > behaves, so it aligns better with user expectations too. > > > > https://bugzilla.gnome.org/show_bug.cgi?id=744754 > > --- > > src/devices/nm-device.c | 8 ++++---- > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c > > index eba15a3..332182a 100644 > > --- a/src/devices/nm-device.c > > +++ b/src/devices/nm-device.c > > @@ -721,14 +721,14 @@ nm_device_get_priority (NMDevice *self) > > return 400; > > case NM_DEVICE_TYPE_BRIDGE: > > return 425; > > - case NM_DEVICE_TYPE_MODEM: > > - return 450; > > - case NM_DEVICE_TYPE_BT: > > - return 550; > > case NM_DEVICE_TYPE_WIFI: > > return 600; > > case NM_DEVICE_TYPE_OLPC_MESH: > > return 650; > > + case NM_DEVICE_TYPE_MODEM: > > + return 700; > > + case NM_DEVICE_TYPE_BT: > > + return 750; > > case NM_DEVICE_TYPE_GENERIC: > > return 950; > > case NM_DEVICE_TYPE_UNKNOWN: > > > Thank you. Applied to master & 1.0 stable branch. I'm OK with this too, though the original idea was that more "intentional" connections would be preferred. eg, WWAN is a lot less automatic than WiFi, and often costs you more money, thus if you activate a WWAN device you probably want to use it... The only thing that concerns me is backwards compat; for 1.0 this will change existing behavior. If people think that's OK (and now that we have user-selectable priorities for this) then we should certainly release-note it in big letters. Dan From jc@eclis.ch Wed Jul 22 16:29: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 C447976A53 for ; Wed, 22 Jul 2015 16:29:56 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.128 X-Spam-Level: X-Spam-Status: No, score=-3.128 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.227, 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 HOVnJUNKJNiM for ; Wed, 22 Jul 2015 16:29:55 +0000 (UTC) Received: from mail.eclis.ch (www.eclis.ch [217.162.2.166]) by restaurant.gnome.org (Postfix) with ESMTP id CAA7076A65 for ; Wed, 22 Jul 2015 16:29:44 +0000 (UTC) Received: from [10.0.33.10] (unknown [213.221.150.139]) by mail.eclis.ch (Postfix) with ESMTP id B5E696440C9; Wed, 22 Jul 2015 18:27:54 +0200 (CEST) Message-ID: <55AFC4F5.60203@eclis.ch> Date: Wed, 22 Jul 2015 18:29:41 +0200 From: Jean-Christian de Rivaz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 MIME-Version: 1.0 To: Dan Williams , Lubomir Rintel Subject: Re: [PATCH] device: prefer wifi over wwan by default References: <1437471430-26982-1-git-send-email-tore@fud.no> <1437555181.25805.27.camel@v3.sk> <1437580607.24700.15.camel@redhat.com> In-Reply-To: <1437580607.24700.15.camel@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Tore Anderson , 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, 22 Jul 2015 16:29:56 -0000 Le 22. 07. 15 17:56, Dan Williams a écrit : > On Wed, 2015-07-22 at 10:53 +0200, Lubomir Rintel wrote: >> On Tue, 2015-07-21 at 11:37 +0200, Tore Anderson wrote: >>> This makes wifi preferred to wwan (the modem and bluetooth device >>> types >>> to be specific) by default, so that users that care about being >>> connected at all times can keep both enabled with auto-connect. As >>> wifi >>> is usually unmetered and often faster than wwan, it makes sense to >>> prefer it. This is also how pretty much every smart-phone in the >>> world >>> behaves, so it aligns better with user expectations too. >>> >>> https://bugzilla.gnome.org/show_bug.cgi?id=744754 >>> --- >>> src/devices/nm-device.c | 8 ++++---- >>> 1 file changed, 4 insertions(+), 4 deletions(-) >>> >>> diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c >>> index eba15a3..332182a 100644 >>> --- a/src/devices/nm-device.c >>> +++ b/src/devices/nm-device.c >>> @@ -721,14 +721,14 @@ nm_device_get_priority (NMDevice *self) >>> return 400; >>> case NM_DEVICE_TYPE_BRIDGE: >>> return 425; >>> - case NM_DEVICE_TYPE_MODEM: >>> - return 450; >>> - case NM_DEVICE_TYPE_BT: >>> - return 550; >>> case NM_DEVICE_TYPE_WIFI: >>> return 600; >>> case NM_DEVICE_TYPE_OLPC_MESH: >>> return 650; >>> + case NM_DEVICE_TYPE_MODEM: >>> + return 700; >>> + case NM_DEVICE_TYPE_BT: >>> + return 750; >>> case NM_DEVICE_TYPE_GENERIC: >>> return 950; >>> case NM_DEVICE_TYPE_UNKNOWN: >> >> Thank you. Applied to master & 1.0 stable branch. > I'm OK with this too, though the original idea was that more > "intentional" connections would be preferred. eg, WWAN is a lot less > automatic than WiFi, and often costs you more money, thus if you > activate a WWAN device you probably want to use it... > Hi Dan, As a user I have to disagree with your doubt on this welcome change. While WiFi at least imply that the user select an SSID, there exists SIM cards that are delivered configured to not require a PIN code or a APN password from the user. This make the cellular modem connection even 'less intentional' than a WiFi connection from a user point of view. Still the cellular modem is far more costly than the WiFi, so it's logic to select the WiFi over the cellular modem by default. As a traveler, I alway want to select the WiFi over the cellular modem even if the cellular modem is fully configured, to obviously avoid a much as possible the cellular modem roaming cost when a nearby WiFI provides a good enough internet access. Can't understand why it was not the default from the beginning. Regards, Jean-Chriatian From hadess@hadess.net Wed Jul 22 16:57: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 392EB76A53 for ; Wed, 22 Jul 2015 16:57:38 +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 Mu7MPkszrxBh for ; Wed, 22 Jul 2015 16:57:37 +0000 (UTC) Received: from slow1-d.mail.gandi.net (slow1-d.mail.gandi.net [217.70.178.86]) by restaurant.gnome.org (Postfix) with ESMTP id DF5697639F for ; Wed, 22 Jul 2015 16:57:26 +0000 (UTC) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by slow1-d.mail.gandi.net (Postfix) with ESMTP id 142FD47A660 for ; Wed, 22 Jul 2015 18:54:21 +0200 (CEST) Received: from mfilter23-d.gandi.net (mfilter23-d.gandi.net [217.70.178.151]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 32FAFFB8A3; Wed, 22 Jul 2015 18:54:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter23-d.gandi.net Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter23-d.gandi.net (mfilter23-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id Sh69wwT7dpWo; Wed, 22 Jul 2015 18:54:06 +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 relay6-d.mail.gandi.net (Postfix) with ESMTPSA id DD995FB89F; Wed, 22 Jul 2015 18:54:04 +0200 (CEST) Message-ID: <1437583961.30706.83.camel@hadess.net> Subject: Re: [PATCH] device: prefer wifi over wwan by default From: Bastien Nocera To: Jean-Christian de Rivaz , Dan Williams , Lubomir Rintel Date: Wed, 22 Jul 2015 18:52:41 +0200 In-Reply-To: <55AFC4F5.60203@eclis.ch> References: <1437471430-26982-1-git-send-email-tore@fud.no> <1437555181.25805.27.camel@v3.sk> <1437580607.24700.15.camel@redhat.com> <55AFC4F5.60203@eclis.ch> 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: quoted-printable Cc: Tore Anderson , 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, 22 Jul 2015 16:57:38 -0000 On Wed, 2015-07-22 at 18:29 +0200, Jean-Christian de Rivaz wrote: > Le 22. 07. 15 17:56, Dan Williams a =C3=A9crit : > > On Wed, 2015-07-22 at 10:53 +0200, Lubomir Rintel wrote: > > > On Tue, 2015-07-21 at 11:37 +0200, Tore Anderson wrote: > > > > This makes wifi preferred to wwan (the modem and bluetooth=20 > > > > device > > > > types > > > > to be specific) by default, so that users that care about being > > > > connected at all times can keep both enabled with auto-connect.=20 > > > > As > > > > wifi > > > > is usually unmetered and often faster than wwan, it makes sense=20 > > > > to > > > > prefer it. This is also how pretty much every smart-phone in=20 > > > > the > > > > world > > > > behaves, so it aligns better with user expectations too. > > > >=20 > > > > https://bugzilla.gnome.org/show_bug.cgi?id=3D744754 > > > > --- > > > > src/devices/nm-device.c | 8 ++++---- > > > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > >=20 > > > > diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c > > > > index eba15a3..332182a 100644 > > > > --- a/src/devices/nm-device.c > > > > +++ b/src/devices/nm-device.c > > > > @@ -721,14 +721,14 @@ nm_device_get_priority (NMDevice *self) > > > > return 400; > > > > case NM_DEVICE_TYPE_BRIDGE: > > > > return 425; > > > > - case NM_DEVICE_TYPE_MODEM: > > > > - return 450; > > > > - case NM_DEVICE_TYPE_BT: > > > > - return 550; > > > > case NM_DEVICE_TYPE_WIFI: > > > > return 600; > > > > case NM_DEVICE_TYPE_OLPC_MESH: > > > > return 650; > > > > + case NM_DEVICE_TYPE_MODEM: > > > > + return 700; > > > > + case NM_DEVICE_TYPE_BT: > > > > + return 750; > > > > case NM_DEVICE_TYPE_GENERIC: > > > > return 950; > > > > case NM_DEVICE_TYPE_UNKNOWN: > > >=20 > > > Thank you. Applied to master & 1.0 stable branch. > > I'm OK with this too, though the original idea was that more > > "intentional" connections would be preferred. eg, WWAN is a lot=20 > > less > > automatic than WiFi, and often costs you more money, thus if you > > activate a WWAN device you probably want to use it... > >=20 >=20 > Hi Dan, >=20 > As a user I have to disagree with your doubt on this welcome change. >=20 > While WiFi at least imply that the user select an SSID, there exists=20 > SIM=20 > cards that are delivered configured to not require a PIN code or a=20 > APN=20 > password from the user. This make the cellular modem connection even=20 > 'less intentional' than a WiFi connection from a user point of view.=20 > Still the cellular modem is far more costly than the WiFi, so it's=20 > logic=20 > to select the WiFi over the cellular modem by default. >=20 > As a traveler, I alway want to select the WiFi over the cellular=20 > modem=20 > even if the cellular modem is fully configured, to obviously avoid a=20 > much as possible the cellular modem roaming cost when a nearby WiFI=20 > provides a good enough internet access. >=20 > Can't understand why it was not the default from the beginning. I'll add that if and when we get access to EAP-SIM support, a number of Wi-Fi hotspots will be able to use the SIM card as a mean of authentication. From tore@fud.no Wed Jul 22 18:04: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 97A3376A53 for ; Wed, 22 Jul 2015 18:04:26 +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 uaojwY-_kLjp for ; Wed, 22 Jul 2015 18:04:25 +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 5828F7639F for ; Wed, 22 Jul 2015 18:04:14 +0000 (UTC) Received: from [213.151.82.4] (port=53605 helo=envy.fud.no) by greed.fud.no with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZHyNE-0001Dz-J5; Wed, 22 Jul 2015 20:04:08 +0200 Date: Wed, 22 Jul 2015 20:04:06 +0200 From: Tore Anderson To: Jean-Christian de Rivaz Subject: Re: [PATCH] device: prefer wifi over wwan by default Message-ID: <20150722200406.2b384455@envy.fud.no> In-Reply-To: <55AFC4F5.60203@eclis.ch> References: <1437471430-26982-1-git-send-email-tore@fud.no> <1437555181.25805.27.camel@v3.sk> <1437580607.24700.15.camel@redhat.com> <55AFC4F5.60203@eclis.ch> 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=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: Wed, 22 Jul 2015 18:04:26 -0000 * Jean-Christian de Rivaz > Le 22. 07. 15 17:56, Dan Williams a =C3=A9crit : > > I'm OK with this too, though the original idea was that more > > "intentional" connections would be preferred. eg, WWAN is a lot less > > automatic than WiFi, and often costs you more money, thus if you > > activate a WWAN device you probably want to use it... My thinking is that if a user manages the connections manually (i.e., autoconnect=3Dfalse) then he'll most likely ensure that the one he wants to be used at any given time is the only one that's active. I, on the other hand, just want to be on-line whenever I can, so I simply use autoconnect=3Dtrue for all available connections. Now I just need Aleksander to figure out what's going on in fdo#90973 and everything'll be just peachy. :-) BTW: nm-applet shows the WiFi icon if both WiFi and WWAN is connected simultaneously, so unless the user checks his routing table he might not be aware that WWAN is being used instead of WiFi. So this patch brings NM in line with the preference order nm-applet has been indicating all along. > While WiFi at least imply that the user select an SSID, there exists SIM= =20 > cards that are delivered configured to not require a PIN code or a APN=20 > password from the user. This reminded me of something I've been wondering about for a while: What is the reason why NM asks me to select country, provider, APN and so on when connecting to mobile broadband for the first time? It seems kind of user-unfriendly - MM/NM knows my operator's MCC/MNC (can be seen in "mmcli -m 0 -i 0"), which can be used to immediately locate the correct block in serviceproviders.xml. Assuming there's only one data APN present in that block, it could simply be used by default without asking anything. Android and SailfishOS does so, FWIW - so there's no technical reason (sans PIN codes or APN username/passwords of course) that WWAN couldn't be connected to in an automatic fashion like wired Ethernet, for example. Another reason why asking the user to pick his provider from a list is user-unfriendly is that quite often his provider is a MVNO whose name won't be found in the list at all, resulting in confusion. Tore From hadess@hadess.net Wed Jul 22 18:12: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 5F86376A53 for ; Wed, 22 Jul 2015 18:12:02 +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 C0vg-Y0eP8Zi for ; Wed, 22 Jul 2015 18:12:01 +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 021AF7639F for ; Wed, 22 Jul 2015 18:11:45 +0000 (UTC) Received: from mfilter46-d.gandi.net (mfilter46-d.gandi.net [217.70.178.177]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 8C34AA80B5; Wed, 22 Jul 2015 20:11:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter46-d.gandi.net Received: from relay3-d.mail.gandi.net ([IPv6:::ffff:217.70.183.195]) by mfilter46-d.gandi.net (mfilter46-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id W2U2Pza4FulZ; Wed, 22 Jul 2015 20:11:42 +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 22013A80B6; Wed, 22 Jul 2015 20:11:41 +0200 (CEST) Message-ID: <1437588618.30706.100.camel@hadess.net> Subject: Re: [PATCH] device: prefer wifi over wwan by default From: Bastien Nocera To: Tore Anderson Date: Wed, 22 Jul 2015 20:10:18 +0200 In-Reply-To: <20150722200406.2b384455@envy.fud.no> References: <1437471430-26982-1-git-send-email-tore@fud.no> <1437555181.25805.27.camel@v3.sk> <1437580607.24700.15.camel@redhat.com> <55AFC4F5.60203@eclis.ch> <20150722200406.2b384455@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 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, 22 Jul 2015 18:12:02 -0000 On Wed, 2015-07-22 at 20:04 +0200, Tore Anderson wrote: > > > While WiFi at least imply that the user select an SSID, there > > exists SIM > > cards that are delivered configured to not require a PIN code or a > > APN > > password from the user. > > This reminded me of something I've been wondering about for a while: > What is the reason why NM asks me to select country, provider, APN > and > so on when connecting to mobile broadband for the first time? It > seems > kind of user-unfriendly - MM/NM knows my operator's MCC/MNC (can be > seen in "mmcli -m 0 -i 0"), which can be used to immediately locate > the > correct block in serviceproviders.xml. Assuming there's > only > one data APN present in that block, it could simply be > used > by default without asking anything. Completely agree there :) From prvs=4650370aba=david.ward@ll.mit.edu Mon Jul 27 02:45: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 79C0F7694A for ; Mon, 27 Jul 2015 02:45:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.2 X-Spam-Level: X-Spam-Status: No, score=-4.2 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, UNPARSEABLE_RELAY=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 YXpXQnVPSpzv for ; Mon, 27 Jul 2015 02:45:22 +0000 (UTC) X-Greylist: delayed 1065 seconds by postgrey-1.34 at restaurant.gnome.org; Mon, 27 Jul 2015 02:45:22 UTC Received: from mx1.ll.mit.edu (MX1.LL.MIT.EDU [129.55.12.45]) by restaurant.gnome.org (Postfix) with ESMTP id 73FE2768CF for ; Mon, 27 Jul 2015 02:45:22 +0000 (UTC) Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by mx1.ll.mit.edu (unknown) with ESMTP id t6R2RZc4006673; Sun, 26 Jul 2015 22:27:35 -0400 From: "Ward, David - 0665 - MITLL" To: Thomas Haller Subject: Re: [PATCH 3/3] device: when IP config is unchanged, only install updated lifetimes Thread-Topic: [PATCH 3/3] device: when IP config is unchanged, only install updated lifetimes Thread-Index: AQHQh5RADFa+qamdlEu6bHNpi1qCnJ1uk/gAgAAAZQCAADytAIAAjhUAgAGHkwCAfnTKAA== Date: Mon, 27 Jul 2015 02:27:34 +0000 Message-ID: <55B59716.5000405@ll.mit.edu> References: <55498FEE.8080609@ll.mit.edu> <1430884418-2406-1-git-send-email-david.ward@ll.mit.edu> <1430897448.11376.16.camel@redhat.com> <554A3A58.6030600@ll.mit.edu> <1431012050.18985.7.camel@redhat.com> In-Reply-To: <1431012050.18985.7.camel@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 x-originating-ip: [172.25.186.40] Content-Type: text/plain; charset="utf-8" Content-ID: <439F42CBB683F74B9581B836B7B2FE5C@ll.mit.edu> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33, 0.0.0000 definitions=2015-07-27_01:2015-07-22, 2015-07-26, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1506180000 definitions=main-1507270038 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, 27 Jul 2015 02:45:24 -0000 T24gMDUvMDcvMjAxNSAxMToyMCBBTSwgVGhvbWFzIEhhbGxlciB3cm90ZToNCj4gT24gV2VkLCAy MDE1LTA1LTA2IGF0IDE1OjU5ICswMDAwLCBXYXJkLCBEYXZpZCAtIDA2NjUgLSBNSVRMTCB3cm90 ZToNCj4+IE9uIDA1LzA2LzIwMTUgMDM6MzAgQU0sIFRob21hcyBIYWxsZXIgd3JvdGU6DQo+Pj4g T24gVHVlLCAyMDE1LTA1LTA1IGF0IDIzOjUzIC0wNDAwLCBEYXZpZCBXYXJkIHdyb3RlOg0KPj4+ PiBBZnRlciBESENQIFJFTkVXL1JFQklORCBldmVudHMgb2NjdXIgKGluIHBhcnRpY3VsYXIpLCBk byBub3QgdXBkYXRlDQo+Pj4+IHRoZSBpbnN0YWxsZWQgcm91dGVzIGlmIHRoZXJlIHdlcmUgbm8g cmVsZXZhbnQgSVAgY29uZmlnIGNoYW5nZXMuDQo+Pj4+DQo+Pj4+IEFzaWRlIGZyb20gYmVpbmcg YW4gb3B0aW1pemF0aW9uLCB0aGlzIGJlaGF2aW9yIGlzIG5lZWRlZCB0byBhdm9pZA0KPj4+PiB1 bm5lY2Vzc2FyaWx5IGludGVyZmVyaW5nIHdpdGggc3RhbmRhbG9uZSwgY29tbWVyaWNhbCBWUE4g Y2xpZW50cw0KPj4+PiB3aGljaCBmb2xsb3cgcmVtb3RlIHNlY3VyaXR5IHBvbGljeSBzZXR0aW5n cy4gVGhlc2UgVlBOIGNsaWVudHMgbWF5DQo+Pj4+IGZvcmNlIGFsbCB0cmFmZmljIHRvIGdvIHRo cm91Z2ggdGhlIHR1bm5lbCBieSBpbnN0YWxsaW5nIGFkZGl0aW9uYWwNCj4+Pj4gcm91dGVzIGlu IHRoZSBrZXJuZWwgZm9yIGVhY2ggaW50ZXJmYWNlLCBhbmQgdGhleSBtYXkgbW9uaXRvciB0aGUN Cj4+Pj4gcm91dGluZyB0YWJsZSBhbmQgdGVybWluYXRlIHRoZSBWUE4gc2Vzc2lvbiBpZiBhbnkg Y2hhbmdlcyBvY2N1ci4NCj4+Pj4gTmV0d29ya01hbmFnZXIgY2FuIGNvZXhpc3Qgd2l0aCB0aGlz IHR5cGUgb2YgVlBOIGNsaWVudCwgYXMgbG9uZyBhcw0KPj4+PiBubyBJUCBjb25maWcgY2hhbmdl cyBoYXBwZW4gb24gYW55IGRldmljZXMgZHVyaW5nIHRoZSBWUE4gc2Vzc2lvbi4NCj4+Pg0KPj4+ IEluIG5tX2RldmljZV9zZXRfaXA0X2NvbmZpZygpLCBAb2xkX2NvbmZpZyBhbmQgQG5ld19jb25m aWcgYXJlIGJvdGggdGhlDQo+Pj4gcmVwcmVzZW50YXRpb24gb2YgIndoYXQgTk0gdGhpbmtzIHNo b3VsZCBiZSBjb25maWd1cmVkIi4NCj4+Pg0KPj4+IEBoYXNfY2hhbmdlcyBzYXlzLCB0aGF0IGJl dHdlZW4gYmVmb3JlIGFuZCBub3csIHdoZXRoZXIgIndoYXQgc2hvdWxkIGJlIg0KPj4+IGNoYW5n ZWQuIFRoaXMgYWxsb3dzIHRvIHNhZmUgc29tZSBpbnRlcm5hbCBhY3Rpb25zLCBzdWNoIGFzIHNl bmRpbmcNCj4+PiBELUJ1cyBub3RpZmljYXRpb25zIGFib3V0IHRoZSBjb25maWd1cmF0aW9uIGNo YW5nZXMuDQo+Pj4NCj4+Pg0KPj4+DQo+Pj4gVGhhdCBpcyBkaXN0aW5jdCBmcm9tIHdoYXQgbm1f aXA0X2NvbmZpZ19jb21taXQoKSAvDQo+Pj4gbm1ubV9yb3V0ZV9tYW5hZ2VyX2lwNl9yb3V0ZV9z eW5jKCkgZG9lczoNCj4+PiBUaGF0IG9uZSB0YWtlcyAid2hhdCBOTSB0aGlua3Mgc2hvdWxkIGJl IiwgYW5kIGFwcGxpZXMgaXQgdG8gIndoYXQNCj4+PiBhY3R1YWxseSBpcyIuDQo+Pj4NCj4+Pg0K Pj4+IFRoZSBjb25jbHVzaW9uIGZyb20gQGhhc19jaGFuZ2VzIC0+IEBkb19zeW5jX3JvdXRlcyBp cyBub3QgbmVjZXNzYXJpbHkNCj4+PiBjb3JyZWN0Li4uIE1heWJlIGl0IGlzLCBub3Qgc3VyZSBo ZXJlLi4uDQo+Pj4NCj4+Pg0KPj4+DQo+Pj4gQ291bGQgeW91IGVsYWJvcmF0ZSBhIGJpdCBtb3Jl IG9uIHRoZSBhY3R1YWwgcHJvYmxlbSB5b3UgaGF2ZT8gSXQncw0KPj4+IGFib3V0IHRoZXNlIFZQ TiBjbGllbnRzLCByaWdodD8NCj4+IFRob21hcywgdGhhbmtzIGZvciB5b3VyIGNvbW1lbnRzLiBZ ZXMsIHRoZSBpc3N1ZSBpcyB3aXRoIHVzaW5nIFZQTg0KPj4gY2xpZW50cyB0YXJnZXRlZCBmb3Ig Y29ycG9yYXRlIG5ldHdvcmtzLg0KPj4NCj4+DQo+PiBIZXJlJ3MgYW4gaWxsdXN0cmF0aW9uIG9m IGhvdyBvbmUgb2YgdGhlc2UgVlBOIGNsaWVudHMgd29ya3MuIFRoZXJlIGFyZQ0KPj4gdGhyZWUg aW50ZXJmYWNlcyBvbiB0aGUgc3lzdGVtOg0KPj4NCj4+ICAgICogd2xwMTJzMCwgYSBXaS1GaSBp bnRlcmZhY2Ugd2l0aCBhbiBhY3RpdmUgY29ubmVjdGlvbiB1c2luZyBESENQDQo+PiAgICAqIHZt bmV0MS92bW5ldDgsIGxvY2FsIFZNd2FyZSBpbnRlcmZhY2VzIG5vdCBjb250cm9sbGVkIGJ5DQo+ PiAgICAgIE5ldHdvcmtNYW5hZ2VyIChrZXB0IGZvciBpbGx1c3RyYXRpb24pDQo+Pg0KPj4NCj4+ IFRoaXMgaXMgdGhlIGluaXRpYWwgcm91dGluZyB0YWJsZSBiZWZvcmUgdGhlIFZQTiBjb25uZWN0 aW9uLiBUaGUgZmlyc3QNCj4+IHR3byByb3V0ZXMgYXJlIGFkZGVkIGJ5IE5ldHdvcmtNYW5hZ2Vy Lg0KPj4NCj4+IGRlZmF1bHQgdmlhIDE5Mi4xNjguNDMuMSBkZXYgd2xwMTJzMCAgcHJvdG8gc3Rh dGljICBtZXRyaWMgNjAwDQo+PiAxOTIuMTY4LjQzLjAvMjQgZGV2IHdscDEyczAgIHByb3RvIGtl cm5lbCAgc2NvcGUgbGluayAgc3JjDQo+PiAxOTIuMTY4LjQzLjE3ICBtZXRyaWMgNjAwDQo+PiAx OTIuMTY4LjI1MS4wLzI0IGRldiB2bW5ldDEgIHByb3RvIGtlcm5lbCAgc2NvcGUgbGluayAgc3Jj IDE5Mi4xNjguMjUxLjENCj4+IDE5Mi4xNjguMjUyLjAvMjQgZGV2IHZtbmV0OCAgcHJvdG8ga2Vy bmVsICBzY29wZSBsaW5rICBzcmMgMTkyLjE2OC4yNTIuMQ0KPj4NCj4+DQo+PiBUaGUgVlBOIGNs aWVudCBtYWtlcyBhIGNvbm5lY3Rpb24gdG8gVlBOX1NFUlZFUl9BRERSRVNTLiBUaGlzIGNyZWF0 ZXMgYQ0KPj4gZm91cnRoIGludGVyZmFjZSwgdHVuMCwgd2l0aCBhbiBJUCBhZGRyZXNzIG9mIFRV TjBfQUREUkVTUy4gVGhlbiB0aGUNCj4+IGZvbGxvd2luZyB0aGluZ3MgaGFwcGVuOg0KPj4NCj4+ ICAgICogQW4gZXhwbGljaXQgcm91dGUgZm9yIHRoZSBuZXh0IGhvcCB0byBWUE5fU0VSVkVSX0FE RFJFU1MgaXMgYWRkZWQNCj4+ICAgICAgd2l0aCBhIG1ldHJpYyBvZiAxLg0KPj4gICAgKiBBbiBl eHBsaWNpdCByb3V0ZSBmb3IgVlBOX1NFUlZFUl9BRERSRVNTIGlzIGFkZGVkIHdpdGggYSBtZXRy aWMgb2YgMS4NCj4+ICAgICogVGhlIHJvdXRlcyB3aXRob3V0IGEgbWV0cmljIGdldCBhc3NpZ25l ZCBhIG1ldHJpYyBvZiAxMC4NCj4+ICAgICogRm9yIGVhY2ggZXhpc3Rpbmcgcm91dGUsIGFuIGFk ZGl0aW9uYWwgcm91dGUgdG8gdGhlIHNhbWUgZGVzdGluYXRpb24NCj4+ICAgICAgaXMgYWRkZWQg d2l0aCBhIG1ldHJpYyBvZiAxLCBzZW5kaW5nIHRyYWZmaWMgdG8gVFVOMF9BRERSRVNTLg0KPj4N Cj4+DQo+PiBTbyBub3cgdGhlIHJvdXRpbmcgdGFibGUgbG9va3MgbGlrZSB0aGlzOg0KPj4NCj4+ IGRlZmF1bHQgdmlhIFRVTjBfQUREUkVTUyBkZXYgdHVuMCAgc2NvcGUgbGluayAgbWV0cmljIDEN Cj4+IGRlZmF1bHQgdmlhIDE5Mi4xNjguNDMuMSBkZXYgd2xwMTJzMCAgcHJvdG8gc3RhdGljICBt ZXRyaWMgNjAwDQo+PiBWUE5fU0VSVkVSX0FERFJFU1MgdmlhIDE5Mi4xNjguNDMuMSBkZXYgd2xw MTJzMCAgbWV0cmljIDENCj4+IDE5Mi4xNjguNDMuMC8yNCB2aWEgVFVOMF9BRERSRVNTIGRldiB0 dW4wICBzY29wZSBsaW5rICBtZXRyaWMgMQ0KPj4gMTkyLjE2OC40My4wLzI0IGRldiB3bHAxMnMw ICBwcm90byBrZXJuZWwgIHNjb3BlIGxpbmsgIHNyYw0KPj4gMTkyLjE2OC40My4xNyAgbWV0cmlj IDYwMA0KPj4gMTkyLjE2OC40My4xIGRldiB3bHAxMnMwICBzY29wZSBsaW5rICBtZXRyaWMgMQ0K Pj4gMTkyLjE2OC4yNTEuMC8yNCB2aWEgVFVOMF9BRERSRVNTIGRldiB0dW4wICBzY29wZSBsaW5r ICBtZXRyaWMgMQ0KPj4gMTkyLjE2OC4yNTEuMC8yNCBkZXYgdm1uZXQxICBzY29wZSBsaW5rICBt ZXRyaWMgMTANCj4+IDE5Mi4xNjguMjUyLjAvMjQgdmlhIFRVTjBfQUREUkVTUyBkZXYgdHVuMCAg c2NvcGUgbGluayAgbWV0cmljIDENCj4+IDE5Mi4xNjguMjUyLjAvMjQgZGV2IHZtbmV0OCAgc2Nv cGUgbGluayAgbWV0cmljIDEwDQo+Pg0KPj4NCj4+IFRoZSBjbGllbnQgdGhlbiBtb25pdG9ycyB0 aGUgcm91dGluZyB0YWJsZS4gSWYgYW55IGNoYW5nZXMgaGFwcGVuIGF0DQo+PiBhbGwsIGl0IGFz c3VtZXMgdGhlIHdvcnN0IGFuZCBkaXNjb25uZWN0cyBmcm9tIHRoZSBWUE4gc2VydmVyIGltbWVk aWF0ZWx5Lg0KPj4NCj4+IFdpdGggTmV0d29ya01hbmFnZXIgMC44IChpLmUuIFJIRUwgNiksIHRo aXMgd29ya2VkIHdpdGhvdXQgYSBwcm9ibGVtLA0KPj4gYmVjYXVzZSBhZGRyZXNzIGxpZmV0aW1l cyBmcm9tIERIQ1Agd2VyZSBub3QgaW5zdGFsbGVkIGluIHRoZSBrZXJuZWwsIHNvDQo+PiBub3Ro aW5nIGNoYW5nZWQgb25jZSB0aGUgVlBOIGNvbm5lY3Rpb24gd2FzIGZvcm1lZC4gV2l0aCBOZXR3 b3JrTWFuYWdlcg0KPj4gMS4wIChpLmUuIFJIRUwgNyksIE5ldHdvcmtNYW5hZ2VyIGlzIG5vdyB1 cGRhdGluZyB0aGUgYWRkcmVzcyBsaWZldGltZXMNCj4+IG9uIHRoZSBXaS1GaSBpbnRlcmZhY2Ug d2hlbiB0aGUgREhDUCBsZWFzZSBpcyByZW5ld2VkLiBXaXRoIHRoYXQgdXBkYXRlLA0KPj4gaXQg aXMgc3luY2luZyB0aGUgcm91dGluZyB0YWJsZSwgYW5kIHRoZSBWUE4gY29ubmVjdGlvbiBpcyBk cm9wcGVkLiBNeQ0KPj4gZ29hbCB3aXRoIHRoaXMgcGF0Y2ggaXMgdG8gY2F1c2UgTmV0d29ya01h bmFnZXIgdG8gZGV0ZWN0IHdoZXRoZXIgYW55DQo+PiByZWxldmFudCBjaGFuZ2VzIGhhcHBlbmVk IGluIHRoZSBsZWFzZSwgYW5kIGlmIG5vdCwganVzdCBsZWF2ZQ0KPj4gZXZlcnl0aGluZyBhbG9u ZSBleGNlcHQgZm9yIHRoZSAibm9uLXJlbGV2YW50IiBjaGFuZ2VzIHRvIHRoZSBsZWFzZQ0KPj4g KGFkZHJlc3MgbGlmZXRpbWUgYW5kIE1UVSkuDQo+Pg0KPj4gVW5mb3J0dW5hdGVseSB0aGlzIGNo YW5nZSBpc24ndCBldmVuIHN1ZmZpY2llbnQgdG8gYWRkcmVzcyB0aGUgcHJvYmxlbQ0KPj4gdGhv dWdoLCBiZWNhdXNlIHNpbXBseSB1cGRhdGluZyB0aGUgYWRkcmVzcyBsaWZldGltZSBjYXVzZXMg dGhlIGtlcm5lbA0KPj4gdG8gcmVpbnN0YWxsIGFuIGltcGxpY2l0IHJvdXRlIG9uIHRoZSBXaS1G aSBpbnRlcmZhY2Ugd2l0aG91dCBhIG1ldHJpYywNCj4+IHdoaWNoIGJyZWFrcyB0aGUgY29ubmVj dGlvbi4gKEl0IHdvdWxkbid0IGRvIHRoaXMgaWYgdGhlIHJvdXRlIGRpZG4ndA0KPj4gaGF2ZSBh IG1ldHJpYy4pIFRoYXQgYmVoYXZpb3IgaXMgaW4gdGhlIGtlcm5lbCB0aG91Z2ggYW5kIG5vdCBp bg0KPj4gTmV0d29ya01hbmFnZXIuDQo+IEhpIERhdmlkLA0KPg0KPg0KPiBkb2VzIHRoaXMgYWxz byBoYXBwZW4gb24gbWFzdGVyPyBPbiBtYXN0ZXIsIE5NIHNob3VsZCBzZWUgdGhlIHJvdXRlcw0K PiB0aGF0IHdlcmUgYWRkZWQgZXh0ZXJuYWxseSwgYW5kIHRha2UgdGhlbSBpbnRvIGl0cyBsaXN0 IG9mIHJvdXRlcy4NCj4NCj4gTGF0ZXIgc3luY3Mgc2hvdWxkIHRoZW4gbGVhdmUgdGhvc2UgZXh0 ZXJuYWxseSBjb25maWd1cmVkIHJvdXRlcw0KPiB1bm1vZGlmaWVkLg0KPg0KPiBTZWUNCj4gaHR0 cDovL2NnaXQuZnJlZWRlc2t0b3Aub3JnL05ldHdvcmtNYW5hZ2VyL05ldHdvcmtNYW5hZ2VyL2Nv bW1pdC8/aWQ9NTU3NjY3ZGYxMmZjMDViDQo+IChub3RlIHRoZXJlIGlzIGEgYnVnIHJlbGF0ZWQg dG8gdGhpcyBjb21taXQNCj4gaHR0cHM6Ly9idWd6aWxsYS5nbm9tZS5vcmcvc2hvd19idWcuY2dp P2lkPTc0OTA1MikNCg0KSGkgVGhvbWFzLA0KDQpTb3JyeSBmb3IgdGhlIHZlcnkgbG9uZyBkZWxh eS4gSSB3YXMgZmlyc3QgYWJsZSB0byBwcmV2ZW50IHRoZSBrZXJuZWwgDQpmcm9tIHJlaW5zdGFs bGluZyByb3V0ZXMgYXV0b21hdGljYWxseSB3aGVuZXZlciB0aGUgYWRkcmVzcyBsaWZldGltZSBp cyANCnVwZGF0ZWQsIHdoaWNoIHdhcyBwYXJ0IG9mIHRoZSBwcm9ibGVtLiBJIGp1c3Qgc3VibWl0 dGVkIHRoaXMgYXMgYSANCmtlcm5lbCBwYXRjaDogaHR0cHM6Ly9wYXRjaHdvcmsub3psYWJzLm9y Zy9wYXRjaC81MDAwNzgvDQoNCldpdGggdGhpcyBrZXJuZWwgcGF0Y2ggaW5zdGFsbGVkLCB0aGUg VlBOIGNsaWVudCBhY3R1YWxseSB3b3JrcyBub3cgd2l0aCANCnRoZSBtYXN0ZXIgYnJhbmNoLCBh cyB3ZWxsIGFzIHZlcnNpb24gMS4wLjQgYmVjYXVzZSBvZiB5b3VyIGZpbmFsIG1lcmdlIA0KY29t bWl0IHRoYXQgZml4ZXMgdGhlIHJvdXRlIG1hbmFnZXIgdG8gbm90IGRlbGV0ZSBleHRlcm5hbGx5 IGFkZGVkIHJvdXRlcy4NCg0KVGhhbmtzIGZvciB5b3VyIGhlbHAhDQoNCkRhdmlkDQoNCg== From aleksander@aleksander.es Mon Jul 27 07:43: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 D741C768D5 for ; Mon, 27 Jul 2015 07:43:16 +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 DRRp2CXtZr53 for ; Mon, 27 Jul 2015 07:43:15 +0000 (UTC) Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by restaurant.gnome.org (Postfix) with ESMTP id DD1A0768CF for ; Mon, 27 Jul 2015 07:43:14 +0000 (UTC) Received: by oigd21 with SMTP id d21so47221287oig.1 for ; Mon, 27 Jul 2015 00:43:13 -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=g+GlXOfaGd4rGOGsZtdCbgrwgZvf61mn+GUQ39GGmlY=; b=auAxSeIkJwi5VsdV87ZBHR9Nwj5HqZSgo55ttuT4qP8Nh2QaAvqpNym1PdiHtXoVuT OxSIls0zhMia/dROcj1EEwnvcAT/5fcv4azJh6AL4ZyVoqRboOogrlb5K34ygLEA8Aep uFNTa1Avj9JsK6cIc1y9A6zCcGWsY1oFYHCB/WX4WH/6Uo1NYmT5o63F3kAMohfOQaZ9 59JPYJ1GAUTBd3tb/X90e0FpbUGQD+vtwYqEbg1O0OdvOw+u5VUWKgxEOOCR0o6urqkf kZXHnyMmfoPSRqlb5IBWnUbGIAdRqbAAzMIOlIDpz1Sggbh1g6qzgNsXetKhKBV4Hmt1 Jjng== X-Gm-Message-State: ALoCoQm/Tt4Oy4P1u4GveKtnHP70VjnpTdwa9jxs0atgBknCocNlXp2G65V+ZSZxCIiX4smw028n MIME-Version: 1.0 X-Received: by 10.202.72.83 with SMTP id v80mr23699041oia.82.1437982993177; Mon, 27 Jul 2015 00:43:13 -0700 (PDT) Received: by 10.182.22.74 with HTTP; Mon, 27 Jul 2015 00:43:13 -0700 (PDT) X-Originating-IP: [188.85.207.119] In-Reply-To: <1437588618.30706.100.camel@hadess.net> References: <1437471430-26982-1-git-send-email-tore@fud.no> <1437555181.25805.27.camel@v3.sk> <1437580607.24700.15.camel@redhat.com> <55AFC4F5.60203@eclis.ch> <20150722200406.2b384455@envy.fud.no> <1437588618.30706.100.camel@hadess.net> Date: Mon, 27 Jul 2015 09:43:13 +0200 Message-ID: Subject: Re: [PATCH] device: prefer wifi over wwan by default From: Aleksander Morgado To: Bastien Nocera Content-Type: text/plain; charset=UTF-8 Cc: Tore Anderson , "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, 27 Jul 2015 07:43:16 -0000 On Wed, Jul 22, 2015 at 8:10 PM, Bastien Nocera wrote: >> > While WiFi at least imply that the user select an SSID, there >> > exists SIM >> > cards that are delivered configured to not require a PIN code or a >> > APN >> > password from the user. >> >> This reminded me of something I've been wondering about for a while: >> What is the reason why NM asks me to select country, provider, APN >> and >> so on when connecting to mobile broadband for the first time? It >> seems >> kind of user-unfriendly - MM/NM knows my operator's MCC/MNC (can be >> seen in "mmcli -m 0 -i 0"), which can be used to immediately locate >> the >> correct block in serviceproviders.xml. Assuming there's >> only >> one data APN present in that block, it could simply be >> used >> by default without asking anything. > > Completely agree there :) Having a single APN entry for provider in the serviceproviders.xml doesn't guarantee that that APN is the one the user needs to use... it may very well be; but if it isn't because the DB is not up to date, the user may be incurring in unexpected expenses... But we could at least try to autoselect as much of that info as possible (e.g. preselecting country/operator based on MCCMNC of the SIM card), that's true. -- Aleksander https://aleksander.es From aleksander@aleksander.es Mon Jul 27 07:47: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 10CEF768D5 for ; Mon, 27 Jul 2015 07:47:38 +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 0qruJlZ0KIBm for ; Mon, 27 Jul 2015 07:47:37 +0000 (UTC) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by restaurant.gnome.org (Postfix) with ESMTP id 2DB12768CF for ; Mon, 27 Jul 2015 07:47:36 +0000 (UTC) Received: by oigd21 with SMTP id d21so47265534oig.1 for ; Mon, 27 Jul 2015 00:47:35 -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=Fg7j6WI8acDeAm1EmFEMzQQETK3GBcOKCs337NZlRyc=; b=Zl2ZcnjMR12uKKvHNOzP1SXl6orUVu+sALdMoDltsAHfGrcrQ62M2fkXIp62041T2T fMNaR5RQmcuTLQik3TZTfsXhphKSX80dbeFvyBmZhSPzPRnLBWjlEjFoLVcvNo8qMt+E fPMBJCSPkf2oqYmDyySApNCD6mvifou0WeSkhJysbWliKN+713rlhQZM1wour6en2dtL XbOP2De2uI0SieopXw38TRqHs/ix4RWaWv467KPUtsyFpPQozWy1VfXXb5nIcuFBdXqS uk3HPWtp4Vm0xp+it3BkaYppybKFea/sYMrFCPtWcClfXFIi5i0Lk2MfgBLcfiXC2jaq +06A== X-Gm-Message-State: ALoCoQkBd/7mGAbglih+FQ7hoG8It3ZWuQq+mCQ4ovK34aQoc8Z1R2LaaJ0aeeGOovUVziadCr2X MIME-Version: 1.0 X-Received: by 10.202.72.83 with SMTP id v80mr23713097oia.82.1437983255558; Mon, 27 Jul 2015 00:47:35 -0700 (PDT) Received: by 10.182.22.74 with HTTP; Mon, 27 Jul 2015 00:47:35 -0700 (PDT) X-Originating-IP: [188.85.207.119] In-Reply-To: <20150722200406.2b384455@envy.fud.no> References: <1437471430-26982-1-git-send-email-tore@fud.no> <1437555181.25805.27.camel@v3.sk> <1437580607.24700.15.camel@redhat.com> <55AFC4F5.60203@eclis.ch> <20150722200406.2b384455@envy.fud.no> Date: Mon, 27 Jul 2015 09:47:35 +0200 Message-ID: Subject: Re: [PATCH] device: prefer wifi over wwan by default From: Aleksander Morgado To: Tore Anderson 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: Mon, 27 Jul 2015 07:47:38 -0000 > I, on the other hand, just want to be on-line whenever I can, so I > simply use autoconnect=true for all available connections. Now I just > need Aleksander to figure out what's going on in fdo#90973 and > everything'll be just peachy. :-) Speaking of which, I just got hit by a related issue in my own laptop the other day. My MBIM modem would be kept in 'connected' mode internally even after system reboots - looks like the WWAN module doesn't get rebooted. And this meant that the modem would return with "can't connect; max activated contexts" all the time, unless I did a full system power off and power on again. Looks like a firmware bug to me, but we should probably try to handle that as well by trying to explicitly disconnect the modem on boot by default or something. Not sure yet how to best handle the issue. Anyway, unrelated to the original email thread. -- Aleksander https://aleksander.es From tore@fud.no Mon Jul 27 08:17: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 01A40768D5 for ; Mon, 27 Jul 2015 08:17: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] 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 5XA62GcoZwoB for ; Mon, 27 Jul 2015 08:17:07 +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 B20F2768CF for ; Mon, 27 Jul 2015 08:17:06 +0000 (UTC) Received: from [2a02:fe0:c412:1fe0::2] (port=49327 helo=envy.fud.no) by greed.fud.no with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZJdao-0003ys-Ry; Mon, 27 Jul 2015 10:17:02 +0200 Date: Mon, 27 Jul 2015 10:17:02 +0200 From: Tore Anderson To: Aleksander Morgado Subject: Re: [PATCH] device: prefer wifi over wwan by default Message-ID: <20150727101702.218078b3@envy.fud.no> In-Reply-To: References: <1437471430-26982-1-git-send-email-tore@fud.no> <1437555181.25805.27.camel@v3.sk> <1437580607.24700.15.camel@redhat.com> <55AFC4F5.60203@eclis.ch> <20150722200406.2b384455@envy.fud.no> <1437588618.30706.100.camel@hadess.net> 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: Mon, 27 Jul 2015 08:17:08 -0000 * Aleksander Morgado > Having a single APN entry for provider in the serviceproviders.xml > doesn't guarantee that that APN is the one the user needs to use... it > may very well be; but if it isn't because the DB is not up to date, > the user may be incurring in unexpected expenses... Are there really providers that price usage of different APNs differently in this manner? Those I've had dealings with only consider the amount of MB transferred - exactly which APN I'm connecting to doesn't matter. If I get the APN wrong, the only thing that happens is that I simply won't be able to get on-line. Most other platforms, like Android, iOS, and SailfishOS for example, appears to simply go with the defaults APN they have in their provider database without asking user confirmation (and SFOS even uses m-b-p-i). That seems to work out just fine for them, so I can't help but wonder if you're being overly cautious here. > But we could at least try to autoselect as much of that info as > possible (e.g. preselecting country/operator based on MCCMNC of the > SIM card), that's true. That would be a big step in the right direction. :-) Tore From jc@eclis.ch Mon Jul 27 11:30: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 9D52576A7F for ; Mon, 27 Jul 2015 11:30:49 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.19 X-Spam-Level: X-Spam-Status: No, score=-3.19 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.289, 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 6SGJXgISFN-b for ; Mon, 27 Jul 2015 11:30:47 +0000 (UTC) Received: from mail.eclis.ch (www.eclis.ch [217.162.2.166]) by restaurant.gnome.org (Postfix) with ESMTP id 1C84876A1E for ; Mon, 27 Jul 2015 11:30:47 +0000 (UTC) Received: from [10.0.33.10] (unknown [213.221.150.139]) by mail.eclis.ch (Postfix) with ESMTP id 10CA420035; Mon, 27 Jul 2015 13:30:39 +0200 (CEST) Message-ID: <55B61663.1080003@eclis.ch> Date: Mon, 27 Jul 2015 13:30:43 +0200 From: Jean-Christian de Rivaz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 MIME-Version: 1.0 To: "networkmanager-list@gnome.org" Subject: Ethernet device still disconnected after a 'link connected' log. 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: Mon, 27 Jul 2015 11:30:49 -0000 In this observation NetworkManager still think that eth0 is disconnected while he correctly logged the message 'link connected': Jul 27 07:46:24 x NetworkManager[2184]: Activation (ppp0) successful, device activated. Jul 27 08:20:09 x NetworkManager[2184]: (eth0): link disconnected (deferring action for 4 seconds) Jul 27 08:20:13 x NetworkManager[2184]: (eth0): link disconnected (calling deferred action) Jul 27 08:20:13 x NetworkManager[2184]: (eth0): device state change: activated -> unavailable (reason 'carrier-changed') [100 20 40] Jul 27 08:20:13 x NetworkManager[2184]: (eth0): deactivating device (reason 'carrier-changed') [40] Jul 27 08:20:13 x NetworkManager[2184]: (eth0): canceled DHCP transaction, DHCP client pid 2270 Jul 27 08:20:13 x NetworkManager[2184]: Policy set 'gsm1' (ppp0) as default for IPv4 routing and DNS. Jul 27 12:59:30 x NetworkManager[2184]: (eth0): link connected Jul 27 12:59:30 x NetworkManager[2184]: (eth0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40] root@x:/home/x# nmcli d DEVICE TYPE STATE CONNECTION ttyACM0 gsm connected gsm1 ppp0 unknown connected ppp0 eth0 ethernet disconnected -- lo loopback unmanaged -- sit0 sit unmanaged -- wlan0 wifi unmanaged -- root@x:/home/x# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: MII PHYAD: 1 Transceiver: external Auto-negotiation: on Link detected: yes root@x:/home/x# nmcli -v nmcli tool, version 0.9.10.0 The state transition from 'unavailable' to 'disconnected' look rater strange or did I miss something ? Jean-Christian From dcbw@redhat.com Mon Jul 27 14:36: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 E42B576A1E for ; Mon, 27 Jul 2015 14:36:33 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -8.19 X-Spam-Level: X-Spam-Status: No, score=-8.19 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.289, 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 PYh0Zo3USh3v for ; Mon, 27 Jul 2015 14:36:32 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id C522776848 for ; Mon, 27 Jul 2015 14:36:32 +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 7EED535B96B; Mon, 27 Jul 2015 14:36:31 +0000 (UTC) Received: from vpn-235-187.phx2.redhat.com (vpn-235-187.phx2.redhat.com [10.3.235.187]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6REaUl2025341; Mon, 27 Jul 2015 10:36:31 -0400 Message-ID: <1438007790.2736.7.camel@redhat.com> Subject: Re: Ethernet device still disconnected after a 'link connected' log. From: Dan Williams To: Jean-Christian de Rivaz Date: Mon, 27 Jul 2015 09:36:30 -0500 In-Reply-To: <55B61663.1080003@eclis.ch> References: <55B61663.1080003@eclis.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.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, 27 Jul 2015 14:36:34 -0000 On Mon, 2015-07-27 at 13:30 +0200, Jean-Christian de Rivaz wrote: > In this observation NetworkManager still think that eth0 is disconnected > while he correctly logged the message 'link connected': Just to make sure, the ethernet connection being used is autoconnect=true, right? nmcli con show "" | grep autoconnect will tell you. Dan > Jul 27 07:46:24 x NetworkManager[2184]: Activation (ppp0) > successful, device activated. > Jul 27 08:20:09 x NetworkManager[2184]: (eth0): link disconnected > (deferring action for 4 seconds) > Jul 27 08:20:13 x NetworkManager[2184]: (eth0): link disconnected > (calling deferred action) > Jul 27 08:20:13 x NetworkManager[2184]: (eth0): device state > change: activated -> unavailable (reason 'carrier-changed') [100 20 40] > Jul 27 08:20:13 x NetworkManager[2184]: (eth0): deactivating > device (reason 'carrier-changed') [40] > Jul 27 08:20:13 x NetworkManager[2184]: (eth0): canceled DHCP > transaction, DHCP client pid 2270 > Jul 27 08:20:13 x NetworkManager[2184]: Policy set 'gsm1' (ppp0) > as default for IPv4 routing and DNS. > Jul 27 12:59:30 x NetworkManager[2184]: (eth0): link connected > Jul 27 12:59:30 x NetworkManager[2184]: (eth0): device state > change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40] > > root@x:/home/x# nmcli d > DEVICE TYPE STATE CONNECTION > ttyACM0 gsm connected gsm1 > ppp0 unknown connected ppp0 > eth0 ethernet disconnected -- > lo loopback unmanaged -- > sit0 sit unmanaged -- > wlan0 wifi unmanaged -- > > root@x:/home/x# ethtool eth0 > Settings for eth0: > Supported ports: [ TP MII ] > Supported link modes: 10baseT/Half 10baseT/Full > 100baseT/Half 100baseT/Full > Supported pause frame use: No > Supports auto-negotiation: Yes > Advertised link modes: 10baseT/Half 10baseT/Full > 100baseT/Half 100baseT/Full > Advertised pause frame use: No > Advertised auto-negotiation: Yes > Link partner advertised link modes: 10baseT/Half 10baseT/Full > 100baseT/Half 100baseT/Full > Link partner advertised pause frame use: Symmetric > Link partner advertised auto-negotiation: Yes > Speed: 100Mb/s > Duplex: Full > Port: MII > PHYAD: 1 > Transceiver: external > Auto-negotiation: on > Link detected: yes > > root@x:/home/x# nmcli -v > nmcli tool, version 0.9.10.0 > > The state transition from 'unavailable' to 'disconnected' look rater > strange or did I miss something ? > > Jean-Christian > > > _______________________________________________ > networkmanager-list mailing list > networkmanager-list@gnome.org > https://mail.gnome.org/mailman/listinfo/networkmanager-list From jc@eclis.ch Mon Jul 27 17:24: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 E570276A10 for ; Mon, 27 Jul 2015 17:24:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.19 X-Spam-Level: X-Spam-Status: No, score=-3.19 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.289, 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 nM-EVxh-LQTb for ; Mon, 27 Jul 2015 17:24:23 +0000 (UTC) Received: from mail.eclis.ch (www.eclis.ch [217.162.2.166]) by restaurant.gnome.org (Postfix) with ESMTP id 6E1B176A61 for ; Mon, 27 Jul 2015 17:24:23 +0000 (UTC) Received: from [10.0.33.10] (unknown [213.221.150.139]) by mail.eclis.ch (Postfix) with ESMTP id 9545620035; Mon, 27 Jul 2015 19:23:11 +0200 (CEST) Message-ID: <55B66944.8050303@eclis.ch> Date: Mon, 27 Jul 2015 19:24:20 +0200 From: Jean-Christian de Rivaz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 MIME-Version: 1.0 To: Dan Williams , "networkmanager-list@gnome.org" Subject: Re: Ethernet device still disconnected after a 'link connected' log. References: <55B61663.1080003@eclis.ch> <1438007790.2736.7.camel@redhat.com> In-Reply-To: <1438007790.2736.7.camel@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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, 27 Jul 2015 17:24:25 -0000 Le 27. 07. 15 16:36, Dan Williams a écrit : > On Mon, 2015-07-27 at 13:30 +0200, Jean-Christian de Rivaz wrote: >> In this observation NetworkManager still think that eth0 is disconnected >> while he correctly logged the message 'link connected': > Just to make sure, the ethernet connection being used is > autoconnect=true, right? > > nmcli con show "" | grep autoconnect > > will tell you. Hi Dan, # nmcli con show eth0 Error: eth0 - no such connection profile. Not sure of what you are talking about. I am pretty certain that eth0 is the real device interface. # nmcli d DEVICE TYPE STATE CONNECTION eth0 ethernet connected Wired connection 1 ttyACM0 gsm connected gsm1 ppp0 unknown connected ppp0 lo loopback unmanaged -- sit0 sit unmanaged -- wlan0 wifi unmanaged -- The configuration is mostly the default one, just unmanage the WiFi and configure the GSM APN. # cat /etc/NetworkManager/NetworkManager.conf [main] plugins=ifupdown,keyfile [ifupdown] managed=true [keyfile] unmanaged-devices=mac:00:0b:6c:41:eb:24 # cat /etc/NetworkManager/system-connections/gsm1 [connection] id=gsm1 uuid=f5e7b733-beea-4fcb-b213-b2dfcbd61073 type=gsm timestamp=1432623762 [gsm] number=*99# apn=public4.m2minternet.com [ipv6] method=auto [ipv4] method=auto Jean-Christian From dcbw@redhat.com Mon Jul 27 17: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 1831376A10 for ; Mon, 27 Jul 2015 17:32:58 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -8.19 X-Spam-Level: X-Spam-Status: No, score=-8.19 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.289, 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 Esjx_n-av0Yn for ; Mon, 27 Jul 2015 17:32:57 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 8721A76A61 for ; Mon, 27 Jul 2015 17:32:57 +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 64A92B66BE; Mon, 27 Jul 2015 17:32:56 +0000 (UTC) Received: from vpn-235-187.phx2.redhat.com (vpn-235-187.phx2.redhat.com [10.3.235.187]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6RHWt8g025969; Mon, 27 Jul 2015 13:32:56 -0400 Message-ID: <1438018375.10911.11.camel@redhat.com> Subject: Re: Ethernet device still disconnected after a 'link connected' log. From: Dan Williams To: Jean-Christian de Rivaz Date: Mon, 27 Jul 2015 12:32:55 -0500 In-Reply-To: <55B66944.8050303@eclis.ch> References: <55B61663.1080003@eclis.ch> <1438007790.2736.7.camel@redhat.com> <55B66944.8050303@eclis.ch> 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.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, 27 Jul 2015 17:32:58 -0000 On Mon, 2015-07-27 at 19:24 +0200, Jean-Christian de Rivaz wrote: > Le 27. 07. 15 16:36, Dan Williams a écrit : > > On Mon, 2015-07-27 at 13:30 +0200, Jean-Christian de Rivaz wrote: > >> In this observation NetworkManager still think that eth0 is disconnected > >> while he correctly logged the message 'link connected': > > Just to make sure, the ethernet connection being used is > > autoconnect=true, right? > > > > nmcli con show "" | grep autoconnect > > > > will tell you. > > Hi Dan, > > # nmcli con show eth0 > Error: eth0 - no such connection profile. Right, you're asking for a connection named "eth0", and there probably isn't one. Connections can (but aren't always) named the same as a device to which they could apply. > Not sure of what you are talking about. I am pretty certain that eth0 > is the real device interface. > > # nmcli d > DEVICE TYPE STATE CONNECTION > eth0 ethernet connected Wired connection 1 So the connection that eth0 is actually using is called "Wired connection 1". So you'd: nmcli con show "Wired connection 1" | grep autoconnect Dan > ttyACM0 gsm connected gsm1 > ppp0 unknown connected ppp0 > lo loopback unmanaged -- > sit0 sit unmanaged -- > wlan0 wifi unmanaged -- > > The configuration is mostly the default one, just unmanage the WiFi and > configure the GSM APN. > > # cat /etc/NetworkManager/NetworkManager.conf > [main] > plugins=ifupdown,keyfile > > [ifupdown] > managed=true > > [keyfile] > unmanaged-devices=mac:00:0b:6c:41:eb:24 > > # cat /etc/NetworkManager/system-connections/gsm1 > [connection] > id=gsm1 > uuid=f5e7b733-beea-4fcb-b213-b2dfcbd61073 > type=gsm > timestamp=1432623762 > > [gsm] > number=*99# > apn=public4.m2minternet.com > > [ipv6] > method=auto > > [ipv4] > method=auto > > > Jean-Christian > From jc@eclis.ch Mon Jul 27 20:22: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 5798176A61 for ; Mon, 27 Jul 2015 20:22:48 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.19 X-Spam-Level: X-Spam-Status: No, score=-3.19 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.289, 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 FFcvOvYgIiKt for ; Mon, 27 Jul 2015 20:22:48 +0000 (UTC) Received: from mail.eclis.ch (www.eclis.ch [217.162.2.166]) by restaurant.gnome.org (Postfix) with ESMTP id CCD3276A1E for ; Mon, 27 Jul 2015 20:22:47 +0000 (UTC) Received: from [10.0.33.10] (unknown [213.221.150.139]) by mail.eclis.ch (Postfix) with ESMTP id 51F9120035; Mon, 27 Jul 2015 22:22:42 +0200 (CEST) Message-ID: <55B69315.6050607@eclis.ch> Date: Mon, 27 Jul 2015 22:22:45 +0200 From: Jean-Christian de Rivaz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 MIME-Version: 1.0 To: Dan Williams , "networkmanager-list@gnome.org" Subject: Re: Ethernet device still disconnected after a 'link connected' log. References: <55B61663.1080003@eclis.ch> <1438007790.2736.7.camel@redhat.com> <55B66944.8050303@eclis.ch> <1438018375.10911.11.camel@redhat.com> In-Reply-To: <1438018375.10911.11.camel@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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, 27 Jul 2015 20:22:48 -0000 Le 27. 07. 15 19:32, Dan Williams a écrit : > On Mon, 2015-07-27 at 19:24 +0200, Jean-Christian de Rivaz wrote: >> Le 27. 07. 15 16:36, Dan Williams a écrit : >>> On Mon, 2015-07-27 at 13:30 +0200, Jean-Christian de Rivaz wrote: >>>> In this observation NetworkManager still think that eth0 is disconnected >>>> while he correctly logged the message 'link connected': >>> Just to make sure, the ethernet connection being used is >>> autoconnect=true, right? >>> >>> nmcli con show "" | grep autoconnect >>> >>> will tell you. >> nmcli con show "Wired connection 1" | grep autoconnect Wow, seriously what's the point to create a such complicated name when everything from the kernel to probably virtually all applications use 'eth0' ? # nmcli con show "Wired connection 1" | grep autoconnect connection.autoconnect: yes I hope that 'true' and 'yes' are equal in this context, so I think this is not the cause of the observed problem. Jean-Christian From dcbw@redhat.com Mon Jul 27 20:49: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 2962A76A1E for ; Mon, 27 Jul 2015 20:49:39 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -8.19 X-Spam-Level: X-Spam-Status: No, score=-8.19 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.289, 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 FEWfiCs5tI3W for ; Mon, 27 Jul 2015 20:49:38 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 2D75E768B8 for ; Mon, 27 Jul 2015 20:49:37 +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 E3F58B6693; Mon, 27 Jul 2015 20:49:36 +0000 (UTC) Received: from vpn-235-187.phx2.redhat.com (vpn-235-187.phx2.redhat.com [10.3.235.187]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6RKnaMo015135; Mon, 27 Jul 2015 16:49:36 -0400 Message-ID: <1438030176.28451.2.camel@redhat.com> Subject: Re: Ethernet device still disconnected after a 'link connected' log. From: Dan Williams To: Jean-Christian de Rivaz Date: Mon, 27 Jul 2015 15:49:36 -0500 In-Reply-To: <55B69315.6050607@eclis.ch> References: <55B61663.1080003@eclis.ch> <1438007790.2736.7.camel@redhat.com> <55B66944.8050303@eclis.ch> <1438018375.10911.11.camel@redhat.com> <55B69315.6050607@eclis.ch> 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.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: Mon, 27 Jul 2015 20:49:39 -0000 On Mon, 2015-07-27 at 22:22 +0200, Jean-Christian de Rivaz wrote: > Le 27. 07. 15 19:32, Dan Williams a écrit : > > On Mon, 2015-07-27 at 19:24 +0200, Jean-Christian de Rivaz wrote: > >> Le 27. 07. 15 16:36, Dan Williams a écrit : > >>> On Mon, 2015-07-27 at 13:30 +0200, Jean-Christian de Rivaz wrote: > >>>> In this observation NetworkManager still think that eth0 is disconnected > >>>> while he correctly logged the message 'link connected': > >>> Just to make sure, the ethernet connection being used is > >>> autoconnect=true, right? > >>> > >>> nmcli con show "" | grep autoconnect > >>> > >>> will tell you. > >> nmcli con show "Wired connection 1" | grep autoconnect > > Wow, seriously what's the point to create a such complicated name when > everything from the kernel to probably virtually all applications use > 'eth0' ? Because a 'connection' is not the same thing as a network device. It's a collection of configuration that can be applied to the device. It's fine to have more than one, for example a static config and a DHCP config for the same interface. They cannot both be named the same thing as they must be individually configurable and applicable to the interface. > # nmcli con show "Wired connection 1" | grep autoconnect > connection.autoconnect: yes > > I hope that 'true' and 'yes' are equal in this context, so I think this > is not the cause of the observed problem. Correct, it's not the cause. But something we need to rule out. So now, getting a debug log from NetworkManager is the next thing. You can use "nmcli g log level debug" and then attempt to reproduce the problem, and then lets see what the log say. Dan From jgrulich@redhat.com Tue Jul 28 09: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 5C58B763DA for ; Tue, 28 Jul 2015 09:24:29 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -8.327 X-Spam-Level: X-Spam-Status: No, score=-8.327 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.427, 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 Jcm-0w9fYovi for ; Tue, 28 Jul 2015 09:24:28 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id C0A5D762B0 for ; Tue, 28 Jul 2015 09:24:28 +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 8A025BACAE for ; Tue, 28 Jul 2015 09:24:27 +0000 (UTC) Received: from fedora-jgrulich.localnet (ovpn-200-32.brq.redhat.com [10.40.200.32]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6S9OOKJ001570 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 28 Jul 2015 05:24:26 -0400 From: Jan Grulich To: "networkmanager-list@gnome.org" Subject: How to find a tun device for an active VPN connection Date: Tue, 28 Jul 2015 11:24:23 +0200 Message-ID: <1493977.DcKvJtDQJF@fedora-jgrulich> Organization: Red Hat Czech User-Agent: KMail/4.14.9 (Linux/4.1.2-200.fc22.x86_64; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart1743632.ZtxOe4vZ1H" Content-Transfer-Encoding: 7Bit 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, 28 Jul 2015 09:24:29 -0000 This is a multi-part message in MIME format. --nextPart1743632.ZtxOe4vZ1H Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Hi, I'm looking for a way how to find out which tun device is used for a ce= rtain active VPN=20 connection. Right now when you check device property of an active VPN c= onnection it=20 shows the device used by the regular connection which is used as a base= for that VPN=20 connection (eg. wifi device or ethernet). I was talking with Ji=C5=99=C3= =AD Kl=C3=ADme=C5=A1 about this long=20 time ago and he started working on this [1], but it was never finished = because there=20 was someone else working on a better approach. So is it finally possibl= e to match VPN=20 connections with tun devices or the work is still in progress? We would= like to have this=20 information for traffic monitoring in our KDE NM applet.=20 [1] - https://bugzilla.gnome.org/show_bug.cgi?id=3D743309[1]=20 Thanks for your help. Regards, Jan --=20 Jan Grulich Software Engineer, Desktop team Red Hat Czech -------- [1] https://bugzilla.gnome.org/show_bug.cgi?id=3D743309 --nextPart1743632.ZtxOe4vZ1H Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Hi,=

 

I'm= looking for a way how to find out which tun device is used for a certa= in active VPN connection. Right now when you check device property of a= n active VPN connection it shows the device used by the regular connect= ion which is used as a base for that VPN connection (eg. wifi device or= ethernet). I was talking with Ji=C5=99=C3=AD Kl=C3=ADme=C5=A1 about th= is long time ago and he started working on this [1], but it was never f= inished because there was someone else working on a better approach. So= is it finally possible to match VPN connections with tun devices or th= e work is still in progress? We would like to have this information for= traffic monitoring in our KDE NM applet.

 

[1]= - https://bugzill= a.gnome.org/show_bug.cgi?id=3D743309

 

Tha= nks for your help.

 

Reg= ards,

Jan=

-- =

Jan= Grulich <jgrulich@redhat.com>

Sof= tware Engineer, Desktop team

Red= Hat Czech

--nextPart1743632.ZtxOe4vZ1H-- From M.Manico@gmx.at Tue Jul 28 22:37:31 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 940B07693F for ; Tue, 28 Jul 2015 22:37:31 +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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 hsxM7dKkthur for ; Tue, 28 Jul 2015 22:37:30 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by restaurant.gnome.org (Postfix) with ESMTP id 2017876A1A for ; Tue, 28 Jul 2015 22:37:29 +0000 (UTC) Received: from [10.51.136.73] ([89.15.236.73]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LhfZR-1YYHl13yin-00munq for ; Wed, 29 Jul 2015 00:37:27 +0200 To: networkmanager-list@gnome.org From: Benni the Manic Subject: typo(s) in src/devices/wan/nm-modem.c Message-ID: <55B803B6.1080701@gmx.at> Date: Wed, 29 Jul 2015 00:35:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:UyYdxtr2Rivvgi+o6TykBfe3vwAJ6aGpQ4ErMWx0EZ5qfr+AD9i sIUyYYKTiiey+JQ4IE+elxdu0DcsI6lkCWGOhfx569pPFl4wXZiHBHc2Z+6HenPtQcs9zOP 7oWPQVPyGCnM6x8XJ6CVUcj9FLvp0ma1h4Ez6dXEiwf74KdEnfjS4/vuA5tpBbE2Esh/Mer j8a0JSTRwCVkl/hjuacrw== X-UI-Out-Filterresults: notjunk:1;V01:K0:fx2KNEqaF/4=:rYTmrlyUPA/OWsWnEuKGFh ZcETx5UtPW7veJoQNGOkURtvhtR59h8wAgdsSWfScle1egtKc4kt8d5Fe7+yHy4XicQmdDabh fVZ1jCkKC2UEznDE73OQPqEn0E9mCr+7xJeixp84FeEm/Jn/+ZM6O5azfX4eSjInGxukPeKJ8 j7B5cOZPtwu2DX6yoI+SbqMWFltJyR2g33lmwUgEOIiZgcFmd13yQPW4Oou2iQXnq+b3OryXd /H9dF6y3vHGqtey4iquWcWaPvj+tjtZNZ39BvnuMraV0sIpsGQCQLwv7A+nGPG3iVDjsaMFWe e2y72AdautMYATD4T6sJZTE+Us1EvPu9vpHE5JLSj5X49k+GUJFQ8nWv4vAKYiStFAGsISHz8 Eftat1sYdeLDXzGUFl8e26nulQgy4yzsmMgDFISkro/wJ4KQTxJlHImlfQ37G1m/PipCg6gbC Vdch40y0RhyQzYhD+TSdDXq+sG75FPLyL4RC3w9LhxNe7hn5WV6sN8ErDwioSU32x5v8CgRPE PFsENhTy0ED3EIOPxhEZte+irT/V/aQmMiAHLE0LLro8+LYRStMKIxmzHb/WV09MDFYjoo9oL jGXLMYf6tRtsoa0hlZhRbH13iog0IzpE2/xdPAMngMqRqJ5M4z1HVI5U8XwSzWrTBZA10mys8 gg3Ctu2Wdat4WD9ZJ+Ke+jvUkpnKBBTAFsTAIDFecBK2Iy2T0u4GByT5i6Wf3wsRG+iY= X-Mailman-Approved-At: Wed, 29 Jul 2015 13:08:33 +0000 X-BeenThere: networkmanager-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: M.Manico@gmx.at List-Id: NetworkManager discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 22:37:31 -0000 Hello, there is a spelling mistake in src/devices/wan/nm-modem.c where "unsupported" is misspelled as "unsuported" twice. Regards, M. PS: I am not subscribed to this list From bgalvani@redhat.com Wed Jul 29 13:38: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 E5DDA76AB1 for ; Wed, 29 Jul 2015 13:38:17 +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 QvwcEtoQZ_aW for ; Wed, 29 Jul 2015 13:38:16 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by restaurant.gnome.org (Postfix) with ESMTP id 51EBA768C1 for ; Wed, 29 Jul 2015 13:38:16 +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 1886D32B826; Wed, 29 Jul 2015 13:38:15 +0000 (UTC) Received: from ovpn-116-58.ams2.redhat.com (ovpn-116-58.ams2.redhat.com [10.36.116.58]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6TDcCYG007652 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 29 Jul 2015 09:38:14 -0400 Message-ID: <1438177091.3256.0.camel@redhat.com> Subject: Re: typo(s) in src/devices/wan/nm-modem.c From: Beniamino Galvani To: M.Manico@gmx.at, networkmanager-list@gnome.org Date: Wed, 29 Jul 2015 15:38:11 +0200 In-Reply-To: <55B803B6.1080701@gmx.at> References: <55B803B6.1080701@gmx.at> 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 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, 29 Jul 2015 13:38:18 -0000 On Wed, 2015-07-29 at 00:35 +0200, Benni the Manic wrote: > Hello, > > there is a spelling mistake in src/devices/wan/nm-modem.c where > "unsupported" is misspelled as "unsuported" twice. Fixed, thanks. Beniamino From jc@eclis.ch Thu Jul 30 22:37: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 07A177648F for ; Thu, 30 Jul 2015 22:37:53 +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 LsZe7J3BlSKa for ; Thu, 30 Jul 2015 22:37:50 +0000 (UTC) Received: from mail.eclis.ch (www.eclis.ch [217.162.2.166]) by restaurant.gnome.org (Postfix) with ESMTP id 70BE5762A8 for ; Thu, 30 Jul 2015 22:37:50 +0000 (UTC) Received: from [10.0.1.86] (88-149-150-249.v4.ngi.it [88.149.150.249]) by mail.eclis.ch (Postfix) with ESMTP id 56DC7644092; Fri, 31 Jul 2015 00:37:43 +0200 (CEST) Message-ID: <55BAA739.5090303@eclis.ch> Date: Fri, 31 Jul 2015 00:37:45 +0200 From: Jean-Christian de Rivaz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Dan Williams , "networkmanager-list@gnome.org" Subject: Re: Ethernet device still disconnected after a 'link connected' log. References: <55B61663.1080003@eclis.ch> <1438007790.2736.7.camel@redhat.com> <55B66944.8050303@eclis.ch> <1438018375.10911.11.camel@redhat.com> <55B69315.6050607@eclis.ch> <1438030176.28451.2.camel@redhat.com> In-Reply-To: <1438030176.28451.2.camel@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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, 30 Jul 2015 22:37:53 -0000 Le 27. 07. 15 22:49, Dan Williams a écrit : > On Mon, 2015-07-27 at 22:22 +0200, Jean-Christian de Rivaz wrote: >> Le 27. 07. 15 19:32, Dan Williams a écrit : >>> On Mon, 2015-07-27 at 19:24 +0200, Jean-Christian de Rivaz wrote: >>>> Le 27. 07. 15 16:36, Dan Williams a écrit : >>>>> On Mon, 2015-07-27 at 13:30 +0200, Jean-Christian de Rivaz wrote: >>>>>> In this observation NetworkManager still think that eth0 is disconnected >>>>>> while he correctly logged the message 'link connected': >>>>> Just to make sure, the ethernet connection being used is >>>>> autoconnect=true, right? >>>>> >> # nmcli con show "Wired connection 1" | grep autoconnect >> connection.autoconnect: yes >> >> I hope that 'true' and 'yes' are equal in this context, so I think this >> is not the cause of the observed problem. > > Correct, it's not the cause. But something we need to rule out. So > now, getting a debug log from NetworkManager is the next thing. You can > use "nmcli g log level debug" and then attempt to reproduce the problem, > and then lets see what the log say. > Ok, I take some time to reproduce the problem, but finally we hit it again with debug log level. Here is what I hope is the relevant part of the log: Jul 30 09:09:30 x NetworkManager[1831]: [1438240170.534668] [platform/nm-linux-platform.c:1850] event_notification(): netlink event (type 16) for link: eth0 (2, family 0) Jul 30 09:09:30 x NetworkManager[1831]: [1438240170.535480] [platform/nm-linux-platform.c:412] get_kernel_object(): get_kernel_object for link: eth0 (2, family 0) Jul 30 09:09:30 x NetworkManager[1831]: [1438240170.537562][platform/nm-platform.c:2565] log_link(): signal: link changed: 2: eth0 mtu 1500 ethernet driver 'macb' udi '/sys/devices/platform/ahb/ahb:apb/f802c000.ethernet/net/eth0' Jul 30 09:09:30 x NetworkManager[1831]: (eth0): link connected Jul 30 09:09:30 x NetworkManager[1831]: [1438240170.553426] [devices/nm-device.c:6346] nm_device_add_pending_action(): (eth0): add_pending_action (1): 'queued state change to disconnected' Jul 30 09:09:30 x NetworkManager[1831]: [1438240170.553789] [devices/nm-device.c:6891] nm_device_queue_state(): (eth0): queued state change to disconnected due to carrier-changed (id 5817) Jul 30 09:09:30 x NetworkManager[1831]: [1438240170.558548] [devices/nm-device.c:6839] queued_set_state(): (eth0): running queued state change to disconnected (id 5817) Jul 30 09:09:30 x NetworkManager[1831]: (eth0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40] Jul 30 09:09:30 x NetworkManager[1831]: [1438240170.576305] [nm-policy.c:1158] reset_autoconnect_all(): Re-enabling autoconnect for all connections on eth0 Jul 30 09:09:30 x NetworkManager[1831]: [1438240170.576770] [devices/nm-device.c:6346] nm_device_add_pending_action(): (eth0): add_pending_action (2): 'autoactivate' Jul 30 09:09:30 x NetworkManager[1831]: [1438240170.577166] [devices/nm-device.c:6380] nm_device_remove_pending_action(): (eth0): remove_pending_action (1): 'queued state change to disconnected' Jul 30 09:09:30 x NetworkManager[1831]: [1438240170.584887] [devices/nm-device.c:6380] nm_device_remove_pending_action(): (eth0): remove_pending_action (0): 'autoactivate' Jean-Christian From divya.thaluru@gmail.com Fri Jul 31 18:43: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 D4FB476AED for ; Fri, 31 Jul 2015 18:43:15 +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 zOFLLsSsF0cD for ; Fri, 31 Jul 2015 18:43:14 +0000 (UTC) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) by restaurant.gnome.org (Postfix) with ESMTP id 869A7769D2 for ; Fri, 31 Jul 2015 18:43:14 +0000 (UTC) Received: by lafd3 with SMTP id d3so49655977laf.1 for ; Fri, 31 Jul 2015 11:43:12 -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=U+JSVAaXMK5nslh+5T84V01uO6Kwj1Q8pBhi6zIGccE=; b=HaNLVexHUc6a+ejGqjKwIMMaS74aT2uAVlD8hgRRktLHC4zj8Mr2EiOd8NbfbuAf// Uu8Af/E+yvBuyskJGQxqVX4FBhHX7OsJeRHYtYIyf5N39DePfr8zLmF/69reV/tKASLM i+TyfBKGtBzMgyPOcYDuLTiIwscqHBhR+bbYnghEbwIzBfof4yRvHMDwP/YQrfeAY6OT vahGciUyzL1FRdzjuDpfxByxPB3/WtMhIhfkOktgpGEzecuHaATVbUW3JtDMQacnllUh TJ4lbL1CoJKLQaQNSHbCt8c7Zcs5YMfcmLFEf8TKvkgZXQ1bdH4jdZiAANw1glVTXz2u mxmw== MIME-Version: 1.0 X-Received: by 10.112.209.106 with SMTP id ml10mr4501918lbc.112.1438368192374; Fri, 31 Jul 2015 11:43:12 -0700 (PDT) Received: by 10.114.20.169 with HTTP; Fri, 31 Jul 2015 11:43:12 -0700 (PDT) Date: Fri, 31 Jul 2015 11:43:12 -0700 Message-ID: Subject: Unable to get IP address from NAT to Bridge Translation viceversa From: Divya Thaluru To: networkmanager-list@gnome.org Content-Type: multipart/alternative; boundary=001a11c25ea029af84051c30319e X-Mailman-Approved-At: Sat, 01 Aug 2015 12:41:38 +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: Fri, 31 Jul 2015 18:43:15 -0000 --001a11c25ea029af84051c30319e Content-Type: text/plain; charset=UTF-8 Hi, I am working on a rpm based linux distro based on LFS. I installed NetworkManager and dhclient in my distro. When I change network settings from NAT to bridge and viceversa , Network Manager is unable to get ip address. I have to start dhclient manually to get an ip address. Can you please point me how to fix this issue? This may be an easy fix as I dont have lot of knowledge about NetworkManager I am having hard time to figure it out. I am currently using NetworkManager 1.0.2 version. Thanks, Divya --001a11c25ea029af84051c30319e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I am working on a rpm based linux d= istro based on LFS. I installed NetworkManager and dhclient in my distro. W= hen I change network settings from NAT to bridge and viceversa , Network Ma= nager is unable to get ip address. I have to start dhclient manually to get= an ip address. Can you please point me how to fix this issue? This may be = an easy fix as I dont have lot of knowledge about NetworkManager I am havin= g hard time to figure it out. I am currently using NetworkManager 1.0.2 ver= sion.


Thanks,
Divya
=


=C2=A0=C2=A0
--001a11c25ea029af84051c30319e--