Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Periodically I stop being able to browse the Internet because some application rewrites my /etc/resolv.comf.
Initially this was Networkmanager, but I've installed wicd which apparently removes networkmanager.
Any idea which program it is and how to stop it?
This typically happens if you run a DHCP client that periodically renews the DHCP lease and together with that it gets the search entries for your resolv.conf.
If so, you can configure the dhcp client to not request/ignore some data from the DHCP server.
This is such a common requirement that there is actually a system call for doing it properly (which is to manage a stack of resolv.confs and not simply overwrite the current one)... As well as DHCP, PPP can do this.
Usually, if you look at the changed resolv.conf there is a comment included telling you which program required it to be done. Is that not true here?
This is such a common requirement that there is actually a system call for doing it properly (which is to manage a stack of resolv.confs and not simply overwrite the current one)... As well as DHCP, PPP can do this.
Usually, if you look at the changed resolv.conf there is a comment included telling you which program required it to be done. Is that not true here?
No, not currently.
When NetworkManager was installed it did indeed issue a comment acknowledging that the resolv.conf had been rewritten and claiming responsibility, but currently no app is owning up.
I've actually allocated myself a static IP now anyway, which solves the problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.