RE: Network Interface Card

Brian Long <[email protected]> Fri, 11 May 2007 11:37:04 -0400
Newsgroups gmane.linux.redhat.release.taroon.general
Message-ID <[email protected]>
On Fri, 2007-05-11 at 16:30 +0100, Sharpe, Sam J wrote:
> > > > I have a HP Proliant DL740 G1 server running RHEL AS 3 update 4.
> 
> > > > Is there a command to display how many Network Interface 
> > > > Cards there inside the server without 
> > > > physically looking at the server?
> 
> > >  sudo /sbin/lspci | grep "Ethernet controller" | wc -l
> 
> > Doesn't that assume they have not been disabled in the BIOS? 
> 
> Of course, but if they've been disabled in the BIOS the only way you can
> see them is to check the BIOS, which usually requires at least being at
> the console. If you could do that, you could look at the back of the
> machine and count the RJ45 connectors!

dmidecode should give you the onboard adapters at least.

/Brian/

-- 
       Brian Long                             |       |
                                          . | | | . | | | .
                                              '       '
                                              C I S C O

--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list