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

My internet connections works well, but where can i find it's configuration files?

I tried to find it here:
but, there is nothing relevant to my eth0 connection.


share|improve this question
What are you specifically looking for? – Thomas Ward Mar 16 '13 at 1:20
I would like to see connection parameters. If uses dhcp, DNS server, etc... – madox2 Mar 16 '13 at 1:30
Are you using the GUI (GNOME/Unity/etc.), or server/commandline only? – Thomas Ward Mar 16 '13 at 1:43
The first one. Unity especially – madox2 Mar 16 '13 at 1:46
give me a few minutes to deploy a destructable VM so I can graphically show you what to do. As for determining DHCP/Static, that isn't usually revealed by the network/router unless you ahve admin on that router/network. – Thomas Ward Mar 16 '13 at 1:48

Since you mentioned that you are using the GUI, I thought I'd show you how to do this through Unity.

When you use Unity, the networking stuff is handled by Network Manager. There is a GUI method to access the connection details.

(1) Click on the connection icon on the top bar. It may look like a plug, or parallel arrows, if you're using Ethernet and not Wifi. Left click it.
enter image description here

(2) Then, you click "Connection Information".
enter image description here

(3) When you click that, a window with connection information will show up. It will look similar to this. Note that I'm on WiFi so the information you have MAY NOT MATCH exactly.
enter image description here

This will contain information INCLUDING the DNS servers used, the IP your computer has (NOTE: This will be whatever DHCP/ISP/Source of the IP address sets, not necessarily your public IP.), and other information.

You did mention that you wanted to tell if it's DHCP or static. Unfortunately, unless you know how your network is set up, you can't easily tell whether the IP your computer receives is static or dynamic or DHCP-assigned.

share|improve this answer
Thanks. I suppose that this information is stored in some files. Where are they placed? Furthermore i found out that "Default Route" in this table is the same as DHCP server, which show me windows ipconfig(Is it right?) – madox2 Mar 16 '13 at 9:18
I don't have Windows around, can't help you with comparison between them. Default route usually means the default gateway though. As for where this data is stored, I don't think it is stored anywhere, I believe the data's running from memory and the system itself, rather than being stored anywhere. Why specifically do you want the file if any of where this information is stored? – Thomas Ward Mar 16 '13 at 19:55
It's just for my interest. Is it difficult to find it out? – madox2 Mar 17 '13 at 13:20
@madox2 if all you're interested is seeing the information, just use the GUI, because network manager kind of doesn't really use any textual files to list the configuration. Those textual files you looked at are good if you don't really use networkmanager. network manager kind of messes with all of that. – Thomas Ward Mar 17 '13 at 18:15
Ok. Thanks for information and for your interest! – madox2 Mar 17 '13 at 23:03

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.