From owner-freebsd-questions@FreeBSD.ORG Tue Apr 17 06:05:33 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 3CF6016A401 for ; Tue, 17 Apr 2007 06:05:33 +0000 (UTC) (envelope-from jahilliya@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id EDFFF13C46E for ; Tue, 17 Apr 2007 06:05:32 +0000 (UTC) (envelope-from jahilliya@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so2161310ana for ; Mon, 16 Apr 2007 23:05:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=TwKdLPqc/BXFMsNyBCdwzElrUlPj+rP7rClr71ilE8aYJ3w6u3yILLfuYeckaF4fBtW3sZ8If8LUeJV2OGwhcxNNbdGNjfSL4AK0SuLK3mARGU7QsMXGSjjwhcykEBAT+8RAVPObap6zNIuEOI+W30l9vZIifs/ovtY6VtaNSX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Ui7A+1lFf235h4kTYxfMDVuc6kIkfvJqZFn2VFUc+w5pTyIA3LEC4bzH9MNXDGcSO8qSESrs8oz0LUjSQ9BKl9+ePrGqALgsxQ6WlZKhba0H7f3kC+h9Nt2Ajcs5gVT93Lc2W+EWImq3fKc4geNCLc6zVLAsa8t0RUV6yT7lwGA= Received: by 10.100.44.13 with SMTP id r13mr5132969anr.1176789931991; Mon, 16 Apr 2007 23:05:31 -0700 (PDT) Received: by 10.100.45.5 with HTTP; Mon, 16 Apr 2007 23:05:31 -0700 (PDT) Message-ID: Date: Tue, 17 Apr 2007 14:05:31 +0800 From: "Daniel Marsh" To: "Ansar Mohammed" In-Reply-To: <000d01c780b2$1303f930$0105a8c0@northamerica.corp.microsoft.com> MIME-Version: 1.0 References: <000d01c780b2$1303f930$0105a8c0@northamerica.corp.microsoft.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: PPP and resolv.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 06:05:33 -0000 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...