Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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"

Thanks

share|improve this question

1 Answer 1

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

 
discard

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.