Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2003 20:05:29 -0800 (PST)
From:      Viktor Lazlo <viktorlazlo@telus.net>
To:        David Banning <david@skytrackercanada.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: identifying my network address
Message-ID:  <20030309185355.F20073-100000@a3ij25fvy80j.bc.hsia.telus.net>
In-Reply-To: <20030309211154.A56130@skytrackercanada.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 9 Mar 2003, David Banning wrote:

> I am running an Xwindow on a windows box. I need a script to
> tell me what my network address is so that I can set my DISPLAY
> varible correctly eg: 192.168.1.2:0.0
>
> Any idea what command would be useful for this purpose?

If I understand correctly and you want to identify the IP address the
Windows box is using while you are at that computer try entering either of
the commands from at a DOS
prompt:

arp -a | find "Interface"

or

ipfconfig | find "IP"

Cheers,

Viktor




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?20030309185355.F20073-100000>