On Saturday 19 July 2003 00:14, you wrote: > On Fri, Jul 18, 2003 at 11:13:12PM +0300, Itay 'z9u2K' Duvdevani wrote: > > Hi, > > I am looking for a way to do these two: > > 1. Finding out how many eths the system have (eth0, eth1 ... ethn) > > [ ... ] > > > I need this for the internet tool (http://iwiz.linux-kinneret.org), I > > want to be able to present to the user this information so he would know > > which interface his modem is connected to more easily, in case he have > > more then one ethernet card. > > You seem to be primarily interested in interfaces that are up. Why > don't you check the output of /sbin/ifconfig?
I am interested in all interfaces, the tool's job is to bring up the interface... -- Regards, Itay 'z9u2K' Duvdevani, GNU/Linux Kinneret. Public GPG Key: ftp://ftp.berlios.de/pub/kinneret/z9u2k.asc ================================================================= 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]