Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

During the initial Debian setup, we are asked simple questions to configure network interfaces. I would like to know is there are some interactive (but something terminal-based, no X11) tools to do the same but after this initial installation.

For example I would like a tool to configure /etc/resolv.conf and /etc/network/interfaces at once. If not, one can for sure develop a tool like that in a few minutes. I am just curious and do not want to miss something that already exists, like a "dpkg-reconfigure something"


share|improve this question
up vote 4 down vote accepted

Is something wrong with just opening up /etc/network/interfaces with your favorite text editor? It has a pretty simple syntax. If you install the resolvconf package you can place your DNS configuration in your /etc/network/interfaces file as well by using the dns-nameservers and dns-search options.

share|improve this answer
nothing wrong with editing /etc/network/interfaces, but if you don't do it regulary it always takes some time to find correct options (like changing mac address). I just wanted to save some time to do more interesting things. – ascobol Jul 7 '10 at 22:29
since it's a simple text file, you could always script it. – sybreon Jul 8 '10 at 0:57

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.