On Tue, 27 Mar 2001, Daniel Feiglin wrote:
> I am connected to a LAN via DHCP. Is there a utility or API which
> returns my current IP address? Where is it "stored" in the system? An
> RTFM would be fine.
It depends on your client...
For instance, for the standard dhcpcd of redhat, and using eth0, this is:
/etc/dhcpc/dhcpcd-eth0.info
see dhcpcd (1)
--
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]