From owner-freebsd-questions Fri Apr 9 17:43:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 87D4B14E05 for ; Fri, 9 Apr 1999 17:43:36 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from scientia.demon.co.uk (ident=ben) by scientia.demon.co.uk with local (Exim 2.12 #4) id 10VkyB-000ECf-00; Sat, 10 Apr 1999 00:45:55 +0100 (envelope-from ben@scientia.demon.co.uk) Date: Sat, 10 Apr 1999 00:45:55 +0100 From: Ben Smithurst To: Michael Mercer , mmercer@ipass.net Cc: questions@freebsd.org Subject: Re: How to find out my IP address. Message-ID: <19990410004555.B52130@scientia.demon.co.uk> References: <370E19BB.6BD1ACB@nortelnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <370E19BB.6BD1ACB@nortelnetworks.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Michael Mercer wrote: > I use USER PPP with the -ddial option. Is there a quick and easy way > to find out the dynamic IP ADDRESS that was assigned to me, without me > connecting with pppctl?? Something like, $ ifconfig tun0 | awk 'NR == 2 { print $2 }' should work. -- Ben Smithurst ben@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message