LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How Do You ID A NIC? (https://www.linuxquestions.org/questions/linux-hardware-18/how-do-you-id-a-nic-549147/)

carlosinfl 04-26-2007 07:24 AM

How Do You ID A NIC?
 
Lets say you have Linux running a generic machine and internet works fine but you need to note some specs on the machine. Is there a simple way I can SSH into the box and find out what eth0 is? I know they can often use a specific Linux NIC driver like tulip however I am looking for a way to ID the vendor / model of the NIC. Is this possible?

Emerson 04-26-2007 07:39 AM

dmesg | grep eth perhaps?

carlosinfl 04-26-2007 08:06 AM

Quote:

Originally Posted by Emerson
dmesg | grep eth perhaps?

Thanks - looks like that worked...

marozsas 04-26-2007 09:10 AM

"lspci -v" will give you much more hardware information.
And it is allways avail, since after a few days the information in dmesg can be log-rotated and you can loose that info.

Emerson 04-26-2007 09:22 AM

Quote:

Originally Posted by marozsas
"lspci -v" will give you much more hardware information.
And it is allways avail

Is it? Using lspci may require rights a regular user does not have. This is why I suggested dmesg.


All times are GMT -5. The time now is 01:23 PM.