From owner-freebsd-questions@FreeBSD.ORG Tue Apr 17 07:04:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCC3316A401 for ; Tue, 17 Apr 2007 07:04:01 +0000 (UTC) (envelope-from ivan@careytech.com.au) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id 6D07E13C44B for ; Tue, 17 Apr 2007 07:04:01 +0000 (UTC) (envelope-from ivan@careytech.com.au) X-IronPort-AV: E=Sophos;i="4.14,417,1170595800"; d="scan'208";a="115843639" Received: from ppp154-213.static.internode.on.net (HELO [192.168.1.2]) ([150.101.154.213]) by ipmail01.adl2.internode.on.net with ESMTP; 17 Apr 2007 16:33:53 +0930 Message-ID: <46247157.7080006@careytech.com.au> Date: Tue, 17 Apr 2007 17:03:51 +1000 From: Ivan Carey User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Daniel Marsh References: <000d01c780b2$1303f930$0105a8c0@northamerica.corp.microsoft.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ansar Mohammed , freebsd-questions@freebsd.org Subject: Re: PPP and resolv.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ivan@careytech.com.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 07:04:01 -0000 Daniel Marsh wrote: > On 4/17/07, Ansar Mohammed wrote: >> >> How can I stop ppp from modifying my /etc/resolv.conf? >> Everytime I establish a pppoe session, my resolv.conf file gets >> reconfigured >> to my ISPs DNS Servers. >> > > You could make resolv.conf to what you want it to be and then do: chflags > schg /etc/resolv.conf > > That will stop anything from modifying it, if you're in securelevel 1 or > more you can't take schg off, you need to reboot into securelevel 0. > > Other than that, check the ppp man page for an option... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > . > do you have enable dns in your ppp.conf file? I had the same thing and commented the enable dns to resolve Ivan