LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, Slarm64 & Android
Posts: 17,529

Rep: Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604
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.
Old 01-03-2019, 08:52 AM   #5
thaylin
LQ Newbie
 
Registered: Oct 2015
Posts: 22

Rep: Reputation: Disabled
Quote:
Originally Posted by vikas027 View Post
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
#
Umm, no it is not, that is how you change the UUID, not how you find it.
 
1 members found this post helpful.
Old 02-19-2019, 07:51 AM   #6
domaniqs
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 2
I know it is an old thread, I add this for the reference since it is still hard to find this correct answer to the question in subject:
nmcli connection show
 
2 members found this post helpful.
Old 03-01-2020, 11:50 PM   #7
yasir.elsharif
LQ Newbie
 
Registered: Sep 2012
Location: Abu Dhabi
Distribution: RHEL, CentOS, Fedora, Ubuntu
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by domaniqs View Post
I know it is an old thread, I add this for the reference since it is still hard to find this correct answer to the question in subject:
nmcli connection show
exactly, and you could grep it:
Code:
nmcli connection show eth0 |grep connection.uuid
 
  


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 02:22 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
Open Source Consulting | Domain Registration