From owner-freebsd-questions Tue Aug 28 20: 8:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from grumpy.dyndns.org (user-24-214-57-209.knology.net [24.214.57.209]) by hub.freebsd.org (Postfix) with ESMTP id 6F5AE37B408 for ; Tue, 28 Aug 2001 20:08:31 -0700 (PDT) (envelope-from dkelly@grumpy.dyndns.org) Received: from localhost (localhost [127.0.0.1]) by grumpy.dyndns.org (8.11.3/8.11.4) with ESMTP id f7T38Tw72598; Tue, 28 Aug 2001 22:08:29 -0500 (CDT) (envelope-from dkelly@grumpy.dyndns.org) Message-Id: <200108290308.f7T38Tw72598@grumpy.dyndns.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: =?iso-8859-1?q?Keith=20Spencer?= Cc: fbsd From: David Kelly Subject: Re: How to find out DHCP ip? In-reply-to: Message from =?iso-8859-1?q?Keith=20Spencer?= of "Wed, 29 Aug 2001 10:33:19 +1000." <20010829003319.26322.qmail@web12008.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 Aug 2001 22:08:29 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG =?iso-8859-1?q?Keith=20Spencer?= writes: > Hi all, > I have a dynamic ip ADSL connection. > Is there a command to find out the ADSL DHCP ip? > must it naturally be the machine I am dialing to? Or > could it be some other?? I use a variation of this in my ipfw firewall script: ip=$(/sbin/ifconfig $nic | awk '/inet / {print $2}') But its not clear this is what you are asking. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message