Hi SuSE'ers. Would any of you know of a generic way of querying an Ethernet adapthers MAC Address? It's not something I need terribly, but it's something I'd like to be able to do. Would there be any way of detecting Ethernet cards in the machine without modprobing drivers? Some standard way of finding out 'this is a Ethernet adapter' of some type or other? Regards, Martin Moeller. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hi, On Fri, 5 Feb 1999, Martin Moeller wrote:
Would any of you know of a generic way of querying an Ethernet adapthers MAC Address? It's not something I need terribly, but it's something I'd like to be able to do.
If you need to know the MAC adresses of some remote machine, try "arp" (see manpage). "ifconfig" will tell you the local HW adresses. You need to load the correct driver first, of course.
Would there be any way of detecting Ethernet cards in the machine without modprobing drivers? Some standard way of finding out 'this is a Ethernet adapter' of some type or other?
If it is a PCI card, you will find it in /proc/pci. If it is an ISA card, you need to load the driver first. Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH <A HREF="mailto:grimmer@suse.de">mailto:grimmer@suse.de</A> Schanzaeckerstr. 10 <A HREF="http://www.suse.de/~grimmer"><A HREF="http://www.suse.de/~grimmer</A">http://www.suse.de/~grimmer</A</A>> 90443 Nuernberg, Germany - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (2)
-
grimmer@suse.de
-
martin_moeller@technologist.com