Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 1999 00:45:55 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Michael Mercer <mmercer@nortelnetworks.com>, mmercer@ipass.net
Cc:        questions@freebsd.org
Subject:   Re: How to find out my IP address.
Message-ID:  <19990410004555.B52130@scientia.demon.co.uk>
In-Reply-To: <370E19BB.6BD1ACB@nortelnetworks.com>
References:  <370E19BB.6BD1ACB@nortelnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990410004555.B52130>