From: Clive McBarton on 18 Mar 2010 19:30 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stephen Powell wrote: > What kinds of changes do you see happening and what changes are you > trying to prevent? What harm is being caused by those changes? > In other words, what is the real world problem you are trying to solve? I carefully type a domain name and some decent nameservers into resolv.conf. Then all of it gets deleted and replaced by one single nameserver, which is the router and the nameserver of my provider. > If you have your machine configured with a static > IP address, for example, you won't need DHCP. For servers, that's the > usual way to do it. User desktop machines normally use DHCP. I use dial-up internet. The provider gives me a (different) address each time. Presumably that means that I must have DHCP? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkuitZAACgkQ+VSRxYk440+FWQCfVrqqELqVO2iQZvM9o8JQMfsk ZGYAnA6VcWz+bKDWBvjG7ILemaY9DsoR =J5EV -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BA2B590.6000004(a)web.de
From: John Hasler on 18 Mar 2010 20:10 Clive writes: > I use dial-up internet. How did you configure it? -- John Hasler -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/87ljdpnqlw.fsf(a)thumper.dhh.gt.org
From: Michael Biebl on 18 Mar 2010 20:10 On 18.03.2010 16:53, Clive McBarton wrote: > My /etc/resolv.conf gets overwritten periodically. Any ideas why? > > I thought network-manager was the culprit and deinstaled it, but the > problem persists. If you are using network-manager, you can easily Open nm-connection-editor and select the connection your are using, got to the ipv4 settings tab In the "Method" dropdown box, specify "Automatic (DHCP) adressess only", and set set your dns server and search domain to you wishes. When you then activate that connection in nm-applet, network-manager will not use the settings from the dhcp server but the one you've setup manually. hth, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
From: Ron Johnson on 18 Mar 2010 21:50 On 2010-03-18 18:21, Clive McBarton wrote: > > Stephen Powell wrote: >> What kinds of changes do you see happening and what changes are you >> trying to prevent? What harm is being caused by those changes? >> In other words, what is the real world problem you are trying to solve? > > I carefully type a domain name and some decent nameservers into > resolv.conf. > > Then all of it gets deleted and replaced by one single nameserver, which > is the router and the nameserver of my provider. Well, yeah, that's how dial-up works! >> If you have your machine configured with a static >> IP address, for example, you won't need DHCP. For servers, that's the >> usual way to do it. User desktop machines normally use DHCP. > > I use dial-up internet. The provider gives me a (different) address each > time. Presumably that means that I must have DHCP? > That's the overwhelming likelihood. You've still never answered why you *care* about whether resolv.conf gets overridden on a regular basis. As long as The Internet Just Works, why do you care what's in resolv.conf? -- Obsession with "preserving cultural heritage" is a racist impediment to moral, physical and intellectual progress. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BA2D830.6060808(a)cox.net
From: Stephen Powell on 18 Mar 2010 22:10
On Thu, 18 Mar 2010 19:21:52 -0400 (EDT), Clive McBarton wrote: > Stephen Powell wrote: >> What kinds of changes do you see happening and what changes are you >> trying to prevent? What harm is being caused by those changes? >> In other words, what is the real world problem you are trying to solve? > > I carefully type a domain name and some decent nameservers into > resolv.conf. > > Then all of it gets deleted and replaced by one single nameserver, which > is the router and the nameserver of my provider. > > I use dial-up internet. The provider gives me a (different) address each > time. Presumably that means that I must have DHCP? Dial-up? That sounds like the point-to-point protocol daemon (pppd). Traditionally, it is started by "pon" and stopped by "poff". There are configuration settings for ppp which control this. Here's a link to some information about configuring ppp: http://www.wowway.com/~zlinuxman/tp600.htm#Config. This is in the overall context of my "Linux on ThinkPad 600" webpage, and it does not address your specific concern, but it does provide some basic information on configuring ppp. In particular, /etc/ppp/peers/provider looks like the file you need to edit. The "usepeerdns" option is apparently what you *don't* want. As to the domain name and IP address, that's pretty much up to your ISP. They control their own domain name, and they assign you an IP address. They probably control your hostname too, as seen by outsiders. But you *can* supply your own DNS servers if you want. You just have to make sure that you're not using the "usepeerdns" option. -- .''`. Stephen Powell <zlinuxman(a)wowway.com> : :' : `. `'` `- -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/1732707419.20195981268964014973.JavaMail.root(a)md01.wow.synacor.com |