Stephen R Laniel wrote:
Is there a portable way to
1) get a list of all my NICs (eth0, eth1, ath0, whatever);
and
2) get all their IPs?
For some reason I'm having a hard time figuring this out.
And I need it to run across Gentoo, Debian, FreeBSD and
others, so it needs to be portable. I assume there's some
POSIX-approved way to do this, right?
I'd have thought that ifconfig was pretty portable and would give you
the infomation you want.
HTH
-ol
--
I will live forever, or die trying.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]