Keep Xubuntu Network Manager from overwriting resolv.conf

Posted by leeand00 on Ask Ubuntu See other posts from Ask Ubuntu or by leeand00
Published on 2011-11-16T21:00:33Z Indexed on 2011/11/17 2:04 UTC
Read the original article Hit count: 469

How do I keep Xubuntu 11.10 from overwriting resolv.conf everytime I reboot my machine?

Everytime I reboot, I get an overwritten resolv.conf that has the words # Generated by Network Manager and no nameservers specified.

I ran the following to get rid of Network Manager, but it's still replacing my resolv.conf when I restart the machine.

sudo apt-get --purge remove network-manager
sudo apt-get --purge remove network-manager-gnome
sudo apt-get --purge remove network-manager-pptp
sudo apt-get --purge remove network-manager-pptp-gnome

© Ask Ubuntu or respective owner

Related posts about network-manager

Related posts about xubuntu