Baruch Even wrote:

* Itay 'z9u2K' Duvdevani <[EMAIL PROTECTED]> [030719 09:20]:


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 am interested in all interfaces, the tool's job is to bring up the interface...



Try ifconfig -a, it will show you all interfaces, the source of ifconfig
will show you how to read this information yourself.


only if the correct drivers have been loaded into the kernel.

When using lspci, the string 'Ethernet controller' identifies the type of the PCI device as the device anounces what type of "thing" it does. you may safely assume that any device that carries this label is infact a network controller, and any device that does not - is not.

--
Oded



=================================================================
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]



Reply via email to