Subject: Re: ip address
To: Paul Goyette <paul@pgoyette.bdt.com>
From: synapse <synapse@gim.net>
List: port-mac68k
Date: 04/02/1997 15:25:21
>In some cases, it will actually tell you about _all_ of the IP addresses
>assigned to your machine.  Remember, an IP address identifies an interface
>not a host.
>
>On Wed, 2 Apr 1997, Adam Alexander wrote:
>
>>
>>  I use netstat -r - it tells me my gateway and local IP address. You could
>> also use netstat -rn which will display all internet relevant information
>> about your machine including it's IP.
>>

well i did a little tinkering and found that i could get the IP address
from ppp0 (an interface) easily by typing:

`ifconfig ppp0 | grep inet | cut -d ' ' -f 2`

this only works when pppd is running, else you won't get anything.
for whoever that wants to use it, i guess :)
  - a