Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The first thing I have done was remove resolvconf cause it was block chattr +i on /etc/resolv.conf But even this not helped. After install on desktop, resolv.conf is generated by NetworkManager (so why chattr not work?) with nameserver 127.0.1.1 I'm not sure where to set default one.

share|improve this question
1  
This is unclear and confusing. What are you trying to accomplish? (“Set up DNS” isn't specific enough!) What's up with chattr; are you trying to chattr +i /etc/resolv.conf; if so, why? –  Blacklight Shining Sep 21 '13 at 3:04
    
Well my bad. Of course I was trying to lock this file exactly this way. But at first it failed cause resolvconf has locked resolv.conf. –  KamilKrzes Sep 23 '13 at 5:42
2  
Why are you trying to prevent modifications to /etc/resolv.conf? We want to get to the root of what you're trying to do here. –  Blacklight Shining Sep 23 '13 at 12:06

1 Answer 1

up vote 1 down vote accepted

Finally its working!
First apt-get remove resolvconf
Second pico /etc/NetworkManager/NetworkManager.conf and comment line starting with dns
Third edit /etc/resolv.conf as You need.

After install everything is working fine.

And strange fact. Installation process is ignoring somehow chattr +i /etc/resolv.conf.

share|improve this answer

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.