Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a clean installation of Ubuntu 12.04 Server. I would like to find the UUID for a network connection. How do I find this?

ifconfig -a does not list it:

eth0      Link encap:Ethernet  HWaddr 00:1e:67:6a:78:a8  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::21e:67ff:fe6a:78a8/64 Scope:Link
          RX packets:572287 errors:0 dropped:0 overruns:0 frame:0
          TX packets:70324 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:222908307 (222.9 MB)  TX bytes:7982096 (7.9 MB)
          Interrupt:16 Memory:c2300000-c2320000 

nmcli is not installed (because this is Ubuntu server):

user@server# nmcli
The program 'nmcli' is currently not installed.  You can install it by typing:
apt-get install network-manager

From a desktop install, I can do:

user@desktop# nmcli c list
NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    
Wired connection 2        d00a6778-80d6-4812-ad54-041de24e47fe   802-3-ethernet    Mon 16 Dec 2013 12:20:09 EST      
Wired connection 1        4fb95570-1922-495a-b498-846b7a6b0655   802-3-ethernet    Tue 17 Dec 2013 11:20:03 EST      
miwifi                    f3182ff5-81c2-44c4-9c4b-d3a1f0a550e9   802-11-wireless   never   

How do I find it when network-manager isn't installed? Surely I don't have to install network-manager?

share|improve this question
uuid for what? In linux, network connections don't have uuid. Its possible dbus assigns a uuid to a network connection in ubuntu. Is this what you mean? – Jay _silly_evarlast_ Wren Feb 24 '13 at 0:49
Apologies for the delay. I have added extra info from a desktop machine. It's possible that the UUID is created by Network-Manager which would be frustrating. I also saw UUIDs being used for network connections in OpenStack Quantum and thought it might be lower-level, but perhaps they're both implementing their own UUIDs for the connections. – tudor Dec 17 '13 at 0:30
up vote 0 down vote accepted

The UUID is part of Network Manager. If you don't have Network Manager installed and enabled, then you don't have this UUID.

It is not related to OpenStack Quantum UUID at all.

Therefore, you cannot find the UUID. It does not exist.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.