From owner-freebsd-doc Sat Apr 13 10:20:26 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9C61537B440 for ; Sat, 13 Apr 2002 10:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3DHK1L39393; Sat, 13 Apr 2002 10:20:01 -0700 (PDT) (envelope-from gnats) Received: from host213-123-130-182.in-addr.btopenworld.com (host213-123-130-182.in-addr.btopenworld.com [213.123.130.182]) by hub.freebsd.org (Postfix) with ESMTP id C0ABB37B416 for ; Sat, 13 Apr 2002 10:15:20 -0700 (PDT) Received: by host213-123-130-182.in-addr.btopenworld.com (Postfix, from userid 1001) id 0F52760E; Sat, 13 Apr 2002 18:15:35 +0100 (BST) Message-Id: <20020413171535.0F52760E@host213-123-130-182.in-addr.btopenworld.com> Date: Sat, 13 Apr 2002 18:15:35 +0100 (BST) From: Dominic Marks Reply-To: Dominic Marks To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/37042: Further additions to PPPoA section of the Handbook Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37042 >Category: docs >Synopsis: Further additions to PPPoA section of the Handbook >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 13 10:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dominic Marks >Release: FreeBSD 4.5-STABLE i386 >Organization: Student >Environment: System: FreeBSD gallium 4.5-STABLE FreeBSD 4.5-STABLE #2: Mon Apr 8 21:19:28 BST 2002 dom@gallium:/usr/obj/usr/src/sys/GALLIUM i386 >Description: Added: 1. tags where appropriate 2. section regarding passwords in ppp.conf 3. several manual page references 4. callouts in the ppp.conf example section >How-To-Repeat: NA. >Fix: Index: chapter.sgml =================================================================== RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml,v retrieving revision 1.71 diff -u -r1.71 chapter.sgml --- chapter.sgml 2002/04/13 00:40:12 1.71 +++ chapter.sgml 2002/04/13 17:10:31 @@ -2134,17 +2134,40 @@ /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. + below. For further information on ppp.conf + options consult the ppp manual page, + &man.ppp.8;. adsl: set log phase chat lcp ipcp ccp tun command set timeout 0 enable dns - set authname username - set authkey password + set authname username + set authkey password set ifaddr 0 0 add default HISADDR + + + The username of your account with the DSL provider. + + + The password for your account. + + + + + Because you must put your account's password in the + 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 + manuals pages for &man.chmod.1; and &man.chown.8; for further + information. + &prompt.root; chown root:wheel /etc/ppp/ppp.conf +&prompt.root; chmod 600 /etc/ppp/ppp.conf + + This will open a tunnel for a PPP session to your DSL router. Ethernet DSL modems have a preconfigured LAN IP address which you connect to. In the case of the Alcatel Speedtouch Home this address is @@ -2153,7 +2176,7 @@ start a ppp session execute the following command. - &prompt.root; pptp address isp + &prompt.root; pptp address isp You may wish to add an ampersand (&) to the @@ -2168,7 +2191,7 @@ process has confirmed a connection you can examine the tunnel like so. - &prompt.user; ifconfig tun0 + &prompt.user; ifconfig tun0 tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 inet 216.136.204.21 --> 204.152.186.171 netmask 0xffffff00 Opened by PID 918 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message