1

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.

3
  • 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? Sep 21, 2013 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, 2013 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. Sep 23, 2013 at 12:06

1 Answer 1

1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .