On Thu, Jul 24, 2008 at 04:35:59PM +0100, Rodolfo Medina wrote: >> [...] I want to fill the file /etc/resolv.conf with the proper dns >> servers but the file changes automatically during the connection being filled >> with values different from the ones I want.
"Mumia W.." <[EMAIL PROTECTED]> writes: > If you use pppd, removing the "usepeerdns" option from /etc/ppp/options should > work; however, on my Etch system, pppd writes its file to > /etc/ppp/resolv.conf, and the script /etc/ppp/ip-up.d/0000userpeerdns merges > the data into /etc/resolv.conf, so I would remove execute permissions on > /etc/ppp/ip-up.d/0000usepeerdns. > > You probably only need to do one of those things--not both. > > What OS/distribution are you using? > > P.S. > I'm using dialup, and my /etc/resolv.conf is unchanged from when I last set it > up. Thanks: this worked. Very simple: I just deleted the line `usepeerdns' in the file /etc/ppp/peers/<my-modem>. Now /etc/resolv.conf keeps unchanged whatever stuff I put in it. I have Debian Etch and am using ppp. Cheers Rodolfo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]