Am Dienstag, den 18.10.2005, 03:01 +0900 schrieb Joe Van Dyk:
> Hi,
> 
> Other than parsing the output of `sudo /sbin/ifconfig`, anyone know of
> a way to get the current IP address of a NIC?  (say, eth0).
> 

on linux systems its in /sys/class/net/eth0/address

If some day someone provides bindings to the hardware abstraction layer
(libhal) you could query it from there :-)

Cheers
detlef

> Thanks!
> Joe
>