From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OXqti-0003xQ-NK for garchives@archives.gentoo.org; Sun, 11 Jul 2010 07:24:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E380BE0AD8; Sun, 11 Jul 2010 07:22:57 +0000 (UTC) Received: from mail.oversi.com (unknown [209.88.189.2]) by pigeon.gentoo.org (Postfix) with ESMTP id 58248E0AD8 for ; Sun, 11 Jul 2010 07:22:56 +0000 (UTC) Received: from [10.2.2.28] (unknown [10.2.2.28]) by mail.oversi.com (Postfix) with ESMTPA id 3D4625FCA5C for ; Sun, 11 Jul 2010 10:22:55 +0300 (IDT) Message-ID: <4C39714F.9040504@oversi.com> Date: Sun, 11 Jul 2010 10:22:55 +0300 From: Amit Dor-Shifer User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: OT: tool for reading /etc/conf.d/net? References: <4C35BF45.1050005@oversi.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 6d715048-b244-4ee7-92fa-ae4df60207e4 X-Archives-Hash: 41b060accc9b4b1363b8f04458be7195 On 07/09/10 20:37, James wrote: > Amit Dor-Shifer oversi.com> writes: > > > >> Can anyone recommend a tool that can parse networking info from a/m >> file, so one can use it to query, e.g. what is the static IP configured >> on eth0? >> Amit >> > /sbin/ifconfig -a > > > ??? > > if not, look at the iproute, netstat, etc etc > commands... > > hth, > James > AFAIK, all those would only work once the interface is up. They don't have the capability to just read cfg and emit what's there is some usable form. Amit > > > > > >