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 just looked in /etc/network/interfaces, for the sake of learning Ubuntu better than before.

What I'm wondering is. Why does it look like this:

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

Why is my eth0, and wlan0 not in there?

share|improve this question
up vote 1 down vote accepted

Because those are managed by NetworkManager, which does not care about the interfaces file. Its configuration is stored in gconf, not in a form easily editable from the command line.

share|improve this answer
Is NetworkManager editable in a textfile, or is it only editable by GUI? – Frederik Spang Mar 30 '13 at 19:14
It is editable in a text file, for example with gedit or vim. – chili555 Mar 30 '13 at 20:32
@chili555 oh really? Tell us more please :) – Dennis Kaarsemaker Mar 30 '13 at 20:49
If you wish to edit /etc/network/interfaces, which is not recommended if you are using Network Manager, simply do: gksudo gedit /etc/network/interfaces.Make your changes, save and close gedit. For the old school among us, do: sudo vim /etc/network/interfaces. Make your changes, save and close with :wq. – chili555 Mar 30 '13 at 21:25
That's not the NetworkManager config at all. Please read questions/answers/comments carefully before responding. You had me all excited about being able to quickly edit NetworkManager config and now I'm disappointed :-) – Dennis Kaarsemaker Mar 30 '13 at 21:26

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.