Linux / UNIX Tech Support Forum
This is a discussion on Linux find serial number, make, model for ethernet cards within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hi Team, I would like to know if there is any command where I can get model number and serial ...
|
|||||||
| CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi Team,
I would like to know if there is any command where I can get model number and serial number for my ethernet card. My server is at remote location and has Cent OS 5.3 installed. Let me know if you require any other info. Note: This is my first post and apologize if I have put this thread in wrong place. Regards, Leo. |
| Sponsored Links | ||
|
|
|
|||
|
I'm not sure about the serial number but you can run the following to get the model number. Replace eth0 with your interface name. Alternatively you can run 'ethtool -i eth0' to find the driver being used for that interface.
dmesg | grep eth0 [ 0.442982] eth0: RealTek RTL8139 at 0xd000, 00:0e:2e:e8:e4:82, IRQ 19 [ 0.443041] eth0: Identified 8139 chip type 'RTL-8100B/8139D' [ 7.429254] eth0: link up, 100Mbps, full-duplex, lpa 0x43E1 [ 17.882018] eth0: no IPv6 routers present |
|
||||
|
Model number can be found using lspci but serial number is not possible, AFAIK:
Code:
lspci | grep -i eth Code:
04:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet Controller (Copper) (rev 03) 05:02.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)
__________________
Vivek Gite Linux Evangelist |
|
||||
|
Another possibility
Code:
dmidecode --type 2,12 | grep -i serial
__________________
Vivek Gite Linux Evangelist |
|
|||
|
Hi All,
Thanks for suggestions. Neither worked to get desired output. lspci just gives you type of card installed on server. nixcraft this is output for the command which you suggested - # /usr/sbin/dmidecode --type 2,12 # dmidecode 2.7 SMBIOS 2.5 present. |
![]() |
| Tags |
| dmesg , ethernet , linux eth0 make , linux eth0 model , linux eth0 serial , lspci , model no , serial no |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| script to find repeted number/alphabet | asim.mcp | Shell scripting | 2 | 09-04-2009 01:42 PM |
| Linux Find Hard Disk Make, Serial No info | Suarj | CentOS / RHEL / Fedora | 1 | 31-05-2008 05:14 PM |
| Command to find which process is utilizing max number of resources in Red hat Linux | Santosh Sharma | Linux software | 0 | 19-01-2008 03:12 PM |
| Linux Server Administration via Serial Console | chiku | Networking, Firewalls and Security | 0 | 24-11-2007 11:15 AM |
| Finding machines S/N and Model Type | mlperry | Linux software | 3 | 05-10-2006 10:15 PM |