From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E28F81381F3 for ; Tue, 11 Dec 2012 11:34:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1542521C089; Tue, 11 Dec 2012 11:34:34 +0000 (UTC) Received: from icp-osb-irony-out5.external.iinet.net.au (icp-osb-irony-out5.external.iinet.net.au [203.59.1.221]) by pigeon.gentoo.org (Postfix) with ESMTP id 65194E05DB for ; Tue, 11 Dec 2012 11:33:22 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArwLACMZx1B8qcbB/2dsb2JhbABFhje3BgICAgKBABZzgkh+DQImAokCmCqOUYJAkGCBIoxCghaBEwOIXpMUIoo7gwA X-IronPort-AV: E=Sophos;i="4.84,258,1355068800"; d="scan'208";a="68863680" Received: from unknown (HELO moriah.localdomain) ([124.169.198.193]) by icp-osb-irony-out5.iinet.net.au with ESMTP; 11 Dec 2012 19:33:20 +0800 Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id A1A5A491FD for ; Tue, 11 Dec 2012 19:33:20 +0800 (WST) X-Virus-Scanned: amavisd-new at lan.localdomain Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah.lan.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JjSJOsQ_Eu4N for ; Tue, 11 Dec 2012 19:33:14 +0800 (WST) Received: from [192.168.41.7] (bunyip.wifi.localdomain [192.168.41.7]) by moriah.localdomain (Postfix) with ESMTP id F12BC47018 for ; Tue, 11 Dec 2012 19:33:13 +0800 (WST) Message-ID: <1355225595.25046.5.camel@bunyip> Subject: [gentoo-user] ifconfig and ppp0 address From: Bill Kenworthy To: gentoo-user@lists.gentoo.org Date: Tue, 11 Dec 2012 19:33:15 +0800 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3 Content-Transfer-Encoding: 7bit Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Archives-Salt: dd960f1d-f42b-4dea-8450-7a0c67ef77d4 X-Archives-Hash: 3617791b744762cfa833c819e09daa24 For years I have been using ifconfig and some simple shell magic to extract the ip address from the adsl ppp session when it changes. The latest update has changed the output format of ifconfig breaking things so if ifconfig cant be relied on, what's normally used to extract an interfaces IP address? I can easily rewrite the shell magic, but its worth asking if there is some command better suited. BillK