nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Linux find serial number, make, model for ethernet cards

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 ...


Go Back   nixCraft Linux Forum > Linux Distribution > CentOS / RHEL / Fedora

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 15-12-2009, 01:37 AM
Junior Member
User
 
Join Date: Dec 2009
OS: Ubuntu/CentOS/Redhat
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
liony is on a distinguished road
Default Linux find serial number, make, model for ethernet cards

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.
Reply With Quote
  #2 (permalink)  
Old 15-12-2009, 04:19 AM
Junior Member
User
 
Join Date: Dec 2009
OS: Gentoo
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Gelob is on a distinguished road
Default

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
Reply With Quote
  #3 (permalink)  
Old 15-12-2009, 03:10 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Model number can be found using lspci but serial number is not possible, AFAIK:
Code:
lspci  | grep -i eth
O/P
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
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #4 (permalink)  
Old 15-12-2009, 03:18 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Another possibility
Code:
dmidecode --type 2,12 | grep -i serial
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #5 (permalink)  
Old 16-12-2009, 04:46 AM
Junior Member
User
 
Join Date: Dec 2009
OS: Ubuntu/CentOS/Redhat
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
liony is on a distinguished road
Default

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.
Reply With Quote
Reply

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

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


All times are GMT +5.5. The time now is 02:38 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38