LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-20-2013, 03:03 AM   #1
Terminator3000
Member
 
Registered: Jun 2012
Distribution: Centos 6 & Fluxbox
Posts: 86

Rep: Reputation: Disabled
Finding UUID of a network card


Is there a command similar to ls -l /dev/disk/by-uuid or blkid

BUT specifically for finding the UUID of a newly installed network card ?

Background:

I am setting up two devices with Static IPs and channel bonding them into one, but I can't find the UUID of the new card.

I use Centos 6

Thanks
 
Old 07-20-2013, 03:52 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 9,368

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
The mac address is unique - some of your hardware tools should pick that out. uuid is for disks.
That aside, the box will find one first - that's eth0. Next one is eth1 and that info should be in the logs. If they're both exactly the same cards, you'll have to dig for the mac address and try

ifconfig -a

and look for the HWaddress
 
Old 07-20-2013, 08:06 AM   #3
Terminator3000
Member
 
Registered: Jun 2012
Distribution: Centos 6 & Fluxbox
Posts: 86

Original Poster
Rep: Reputation: Disabled
There isn't one

You are right, no UUID for network cards, Thanks
 
Old 09-24-2015, 11:52 AM   #4
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Rep: Reputation: 107Reputation: 107
This is an old thread, but I just wanted to ascertain we do have UUIDs for network cards, which can be found as below.

Code:
# uuidgen ifcfg-eth0
e62680c3-f5f5-4f06-b862-68e00e3b4506
#
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help finding network card drivers for EW-7722In Janek566 Slackware 3 07-14-2011 03:16 PM
Finding the right kernel modules for my network card. Travis86 Linux - Newbie 5 02-26-2006 05:48 AM
2.6.13 not finding network card 2.4 did nutthick Slackware - Installation 2 11-07-2005 12:39 PM
Finding out network card settings Paul_assheton Linux - Networking 3 09-17-2003 01:11 PM
Not finding my Network card Gorbash Linux - Networking 7 09-03-2003 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration