From owner-freebsd-questions Sun Mar 9 19:28:45 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9366B37B401 for ; Sun, 9 Mar 2003 19:28:44 -0800 (PST) Received: from gw.visp.com.au (gw.visp.com.au [202.6.158.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8774143FCB for ; Sun, 9 Mar 2003 19:28:43 -0800 (PST) (envelope-from tim@spyderweb.com.au) Received: from spyderweb.com.au (spyderweb.visp.com.au [202.6.158.151]) by gw.visp.com.au (8.12.6/8.12.6) with SMTP id h2A3UJlm018473 for ; Mon, 10 Mar 2003 14:00:20 +1030 (CST) (envelope-from tim@spyderweb.com.au) Date: Mon, 10 Mar 2003 13:58:38 +1030 From: Tim Aslat To: freebsd-questions@freebsd.org Subject: Re: identifying my network address Message-Id: <20030310135838.23d77e42.tim@spyderweb.com.au> In-Reply-To: <20030309222314.B52536@skytrackercanada.com> References: <20030309211154.A56130@skytrackercanada.com> <06ad01c2e6ac$822dfad0$7419cdcd@ticking> <20030309222314.B52536@skytrackercanada.com> Organization: Spyderweb Consulting X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 In the immortal words of David Banning ... > I wasn't clear enough. I need to get the IP address in -unix-. Try looking at your environment variables SSH_CLIENT='xxx.xxx.xxx.xxx 1220 22' SSH_TTY=/dev/ttyp1 -- | The most exciting phrase to | Tim Aslat | | hear in science, the one that | http://www.spyderweb.com.au | | heralds new discoveries, is | Spyderweb Consulting | | not "Eureka!" (I found it!) | P: 82270800 M: 0401088479 | | but "That's funny ..." | Webmaster for | | -- Isaac Asimov | http://www.goodiesruleok.com | | No, "Eureka" is Greek for | The Ultimate Goody Fansite | | "This bath is too hot! | admin@goodiesruleok.com | | -- Dr Who | | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message