From owner-freebsd-questions Mon Oct 28 14:42: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5BA237B404 for ; Mon, 28 Oct 2002 14:42:05 -0800 (PST) Received: from cypress.adhesivemedia.com (cypress.adhesivemedia.com [207.202.159.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05ED343E4A for ; Mon, 28 Oct 2002 14:42:05 -0800 (PST) (envelope-from philip@adhesivemedia.com) Received: from cypress.adhesivemedia.com (localhost [127.0.0.1]) by cypress.adhesivemedia.com (8.12.3/8.12.3) with ESMTP id g9SMg4Fk024589; Mon, 28 Oct 2002 14:42:04 -0800 (PST) (envelope-from philip@adhesivemedia.com) Received: from localhost (philip@localhost) by cypress.adhesivemedia.com (8.12.3/8.12.3/Submit) with ESMTP id g9SMg41Q024586; Mon, 28 Oct 2002 14:42:04 -0800 (PST) X-Authentication-Warning: cypress.adhesivemedia.com: philip owned process doing -bs Date: Mon, 28 Oct 2002 14:42:04 -0800 (PST) From: Philip Hallstrom To: Paulo Roberto Cc: freebsd-questions@FreeBSD.ORG Subject: Re: dhcp option to *not* overwrite /etc/resolv.conf In-Reply-To: <20021028221148.4304.qmail@web14909.mail.yahoo.com> Message-ID: <20021028144130.V21119-100000@cypress.adhesivemedia.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Never tried it, but you could look for the spot in the various rc* files that setup dhcp and once it's done re-write /etc/resolv.conf with what you want it to be... ? On Mon, 28 Oct 2002, Paulo Roberto wrote: > Hi, > > I have read the man pages, searched a few forums, but I did not found a > way to prevent dhcp to do not change my /etc/resolv.conf. I do not have > access to the dhcp server configuration, so I need to change it on my > client. I also tried to chmod it to only read mode, but that did not > work out. Any tips? > > thanks > > Paulo > > __________________________________________________ > Do you Yahoo!? > Y! Web Hosting - Let the expert host your web site > http://webhosting.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message