Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2003 13:58:38 +1030
From:      Tim Aslat <tim@spyderweb.com.au>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
In the immortal words of David Banning <david@skytracker.ca>...
> 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 <tim@spyderweb.com.au> |
| 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




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