Re: Edits to `etc/resolv.conf` being overwritten

2021-04-10 Thread Bone Baboon
Vincent Legoll writes: > Have a look at the "LEASE REQUIREMENTS AND REQUESTS" > section from man dhclient.conf, you should be able to make > it *NOT* require "name-servers"... Thanks you for this helpful suggestion. After looking at the section you pointed out in man page for dhclient.conf I have

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-10 Thread Vincent Legoll
Hello, On Sat, Apr 10, 2021 at 5:40 AM Bone Baboon wrote: > Vincent Legoll writes: > > I'd try the "-R" command line option without giving "domain-name-servers" > > > > See details in the dhclient's man page > > Thank you for the suggestion. Reading dhclient's man page it looks like > `-R` is re

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-09 Thread Bone Baboon
Vincent Legoll writes: > I'd try the "-R" command line option without giving "domain-name-servers" > > See details in the dhclient's man page Thank you for the suggestion. Reading dhclient's man page it looks like `-R` is related to IPV6. I have IPV6 disabled. When I try running `sudo dhclien

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-09 Thread Bone Baboon
Vladimir Sedach writes: > That is in fact what dhclient does. There is a list of workarounds on > Debian Wiki: > > https://wiki.debian.org/resolv.conf > > I use the file attribute one on my Debian system. > > The ideal solution is to re-implement dhclient in Guile, and make it > a configurable al

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-08 Thread Vladimir Sedach
Bone Baboon writes: > It is almost like `sudo dhclient ` is taking > instruction from the router (provided by my internet service provider) > to overwrite `/etc/resolv.conf` to the DNS of my internet service > provider. That is in fact what dhclient does. There is a list of workarounds on Debia

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-08 Thread Vincent Legoll
Hello, On Thu, Apr 8, 2021 at 9:08 PM Bone Baboon wrote: > It is almost like `sudo dhclient ` is taking > instruction from the router (provided by my internet service provider) > to overwrite `/etc/resolv.conf` to the DNS of my internet service > provider. I'd try the "-R" command line option wi

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-08 Thread Bone Baboon
Gary Johnson writes: > That's unfortunate to hear. Perhaps you could check out the > network-manager-service-type? I believe it includes a parameter that > lets you tell NetworkManager not to overwrite /etc/resolv.conf. The > command-line interface for NetworkManager is called nmtui. This is what

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-07 Thread Gary Johnson
Bone Baboon writes: > Thank you for the explanation and detailed examples. > > I now have my system configuration providing the contents of > `/etc/resolv.conf` with a service. > > However the contents of `/etc/resolv.conf` is still being overwritten > with entries for my internet service provide

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-06 Thread Bone Baboon
Thank you for the explanation and detailed examples. I now have my system configuration providing the contents of `/etc/resolv.conf` with a service. However the contents of `/etc/resolv.conf` is still being overwritten with entries for my internet service provider's DNS. After some testing it ap

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-02 Thread Gary Johnson
Bone Baboon writes: >> Any suggestion on how to stop my edits of `etc/resolv.conf` from being >> overwritten? >> >> `/etc/resolv.conf` is being overwritten removing changes I save to it. >> My edits to `etc/resolv.conf` specify some name servers. Some time >> after my edits are saved the file is

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-02 Thread Bone Baboon
In this case I am not using Gnome or NetworkManager. There are no comment on the first line of `resolv.conf`. I am connecting to the internet using `wpa_supplicant` and `dhclient`. p...@beadling.co.uk writes: > I found when using GuixSD with Gnome that the network manager would > periodically o

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-02 Thread phil
I found when using GuixSD with Gnome that the network manager would periodically overwrite my DNS changes made directly to resolv.conf. If you experience this issue it should leave a comment on the first line. I was able to make it work by changing it through Gnome's Settings GUI, rather than e

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-01 Thread Jérémy Korwin-Zmijowski
Hey Bone ! If I am right: you have to set the content of /etc/resolv.conf in your system configuration file. Anytime you reconfigure the system this file is regenerated based on your system configuration. Jérémy -- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma