[ale] Network Vendor String

Watson, Keith R. krwatson at cc.gatech.edu
Tue Oct 10 12:41:19 EDT 2006


> -----Original Message-----
> From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
> ale at jeffx.com
> Sent: Tuesday, October 10, 2006 11:46
> To: ale at ale.org
> Subject: [ale] Network Vendor String
> 
> Say I am writing a little script to obtain hardware inventory on my
linux
> system.  I want the vendor string of the network card(s).  I know
there
> has to be a way to get it because the installer reads the information
as
> does network-configuration tools.
> 
> I have looked around in /proc with no success.  Is there a way to get
that
> information?
> 
> Regards,
> Jeff
> 


Jeff,

The best way to find out what kind of card you have is to do a PCI
query. This returns ID information for all the PCI devices in the
system. You can then lookup the ID information in a database to get
specific make and model information.

Craig's PCI & PnP Stuff Pages - explains how all this works.
http://members.datafast.net.au/~dft0802/

Linux/UNIX PCI utilities
http://mj.ucw.cz/pciutils.shtml

Linux PCI Device ID Repository
http://pciids.sourceforge.net/

PCI SIG Official PCI Vendor ID Database Search Engine
http://www.pcisig.com/membership/vid_search

Craig has DOS utility that will run from a floppy (this is handy for
booting a system from floppy to find out what hardware is installed)
http://members.datafast.net.au/~dft0802/downloads.htm
http://members.datafast.net.au/~dft0802/downloads/pci.zip

Craig's PCI database
http://members.datafast.net.au/~dft0802/downloads.htm
http://members.datafast.net.au/~dft0802/downloads/pcidevs.txt


keith

-- 

Keith R. Watson                        Georgia Institute of Technology
Systems Support Specialist IV          College of Computing
keith.watson at cc.gatech.edu             801 Atlantic Drive NW
(404) 385-7401                         Atlanta, GA  30332-0280



More information about the Ale mailing list