From owner-freebsd-doc@FreeBSD.ORG Fri Apr 8 02:50:03 2005 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E946A16A4CE for ; Fri, 8 Apr 2005 02:50:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 753A143D3F for ; Fri, 8 Apr 2005 02:50:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j382o3Vi090890 for ; Fri, 8 Apr 2005 02:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j382o3kP090889; Fri, 8 Apr 2005 02:50:03 GMT (envelope-from gnats) Resent-Date: Fri, 8 Apr 2005 02:50:03 GMT Resent-Message-Id: <200504080250.j382o3kP090889@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Josh Paetzel" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE07216A4CE for ; Fri, 8 Apr 2005 02:48:56 +0000 (GMT) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9085B43D41 for ; Fri, 8 Apr 2005 02:48:55 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from twinmp.tcbug.org (12-218-21-193.client.mchsi.com[12.218.21.193]) by sccmmhc91.asp.att.net (sccmmhc91) with SMTP id <20050408024854m9100pvou5e>; Fri, 8 Apr 2005 02:48:55 +0000 Message-Id: <1112928535.0@twinmp.tcbug.org> Date: Thu, 7 Apr 2005 21:48:55 -0500 From: "Josh Paetzel" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.4 Subject: docs/79667: Some sections of the handbook refer to /etc/ppp/ppp.conf and others just ppp.conf This patch makes it consistant throughout X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 02:50:04 -0000 >Number: 79667 >Category: docs >Synopsis: Some sections of the handbook refer to /etc/ppp/ppp.conf and others just ppp.conf This patch makes it consistant throughout >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 08 02:50:03 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Josh Paetzel >Release: FreeBSD 5.3-RELEASE-p8 i386 >Organization: >Environment: System: FreeBSD 5.3-RELEASE-p8 #2: Wed Apr 6 18:08:11 CDT 2005 jpaetzel@twinmp.tcbug.org:/usr/obj/usr/src/sys/TWINMP >Description: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html uses ppp.conf and /etc/ppp/ppp.conf somewhat haphazardly. This patch makes the usage "uniform" >How-To-Repeat: >Fix: --- chapter.sgml.old Thu Apr 7 21:27:10 2005 +++ chapter.sgml Thu Apr 7 21:40:13 2005 @@ -193,7 +193,7 @@ Normally, you will be given two IP addresses by your ISP to use for this. If they have not given you at least one, then you can use the enable dns command in - ppp.conf and + /etc/ppp/ppp.conf and ppp will set the name servers for you. This feature depends on your ISPs PPP implementation supporting DNS negotiation. @@ -401,7 +401,8 @@ Note that this command continues onto the next line for readability. Any command in - ppp.conf may do this if the last + /etc/ppp/ppp.conf may do this +if the last character on the line is a ``\'' character. @@ -587,7 +588,8 @@ guessing an IP address and allowing ppp to set it up correctly using the IP Configuration Protocol (IPCP) after connecting. The - ppp.conf configuration is the same as + /etc/ppp/ppp.conf configuration is the same +as PPP and Static IP Addresses, with the following change: @@ -640,7 +642,7 @@ ppp will look for an entry in ppp.linkup according to the following rules: First, try to match the same label - as we used in ppp.conf. If + as we used in /etc/ppp/ppp.conf. If that fails, look for an entry for the IP address of our gateway. This entry is a four-octet IP style label. If we still have not found an entry, look @@ -808,7 +810,8 @@ - Setting Up <filename>ppp.conf</filename> for Dynamic-IP Users + Setting Up <filename>/etc/ppp/ppp.conf</filename> for +Dynamic-IP Users The /etc/ppp/ppp.conf file should contain something along the lines of: @@ -838,7 +841,8 @@ - Setting Up <filename>ppp.conf</filename> for Static-IP + <title>Setting Up <filename>/etc/ppp/ppp.conf</filename> for +Static-IP Users Along with the contents of the sample @@ -2046,10 +2050,10 @@ - Setting Up <filename>ppp.conf</filename> + Setting Up <filename>/etc/ppp/ppp.conf</filename> Here is an example of a working - ppp.conf: + /etc/ppp/ppp.conf: default: set log Phase tun command # you can add more detailed logging if you wish @@ -2109,7 +2113,8 @@ ISP. The profile name (service tag) will be used in the PPPoE - configuration entry in ppp.conf as the provider + configuration entry in /etc/ppp/ppp.conf as the +provider part of the set device command (see the &man.ppp.8; manual page for full details). It should look like this: @@ -2226,7 +2231,8 @@ ppp_profile="adsl" For this to work correctly you will need to have used the - sample ppp.conf which is supplied with the + sample /etc/ppp/ppp.conf which is supplied +with the net/pppoa port. @@ -2347,8 +2353,9 @@ connect to a DSL service, install the port or package and edit your /etc/ppp/ppp.conf. You will need to be root to perform both of these operations. An - example section of ppp.conf is given - below. For further information on ppp.conf + example section of /etc/ppp/ppp.conf is given + below. For further information on +/etc/ppp/ppp.conf options consult the ppp manual page, &man.ppp.8;. @@ -2372,7 +2379,8 @@ Because you must put your account's password in the - ppp.conf file in plain text form you should + /etc/ppp/ppp.conf file in plain text form you +should make sure than nobody can read the contents of this file. The following series of commands will make sure the file is only readable by the root account. Refer to the >Release-Note: >Audit-Trail: >Unformatted: