find_nic_uuid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
find_nic_uuid [2024/01/18 14:28] walkeradminfind_nic_uuid [2024/01/18 14:35] (current) – [Find UUID] walkeradmin
Line 6: Line 6:
 ---- ----
 ===== Introduction ===== ===== Introduction =====
-While following a guide the other day+While following a guide the other day, one of the entries in the ifcfg-xxx config file was relating to a UUID for a network interface. 
 +\\  
 +  UUID=30892bab-fe54-4c77-9a95-8af5d77ddbd4 
 +\\  
 +Unfortunately I did not have this line in my configuration file and needed to add it, but how do I get the UUID? Luckily it is very simple. 
 +\\  
 +---- 
 +==== Find UUID ==== 
 +We can use the following command line: 
 +\\  
 +  nmcli connection show eno1 |grep connection.uuid 
 +   
 +  replace 'eno1' with the name of your interface. 
 +\\  
 +You will get an output similar to  
 +\\  
 +  connection.uuid:                        30892bab-fe54-4c77-9a95-8af5d77ddbd4 
 +\\  
 +The command<color #ed1c24>nmcli connection show eno1</color> on its own will show you quite a lot of information about that interface, but if you only want the UUID then using <color #ed1c24>|grep connection.uuid</color> will display just that.
 \\  \\ 
 \\  \\ 
- 
find_nic_uuid.1705588086.txt.gz · Last modified: 2024/01/18 14:28 by walkeradmin