From owner-freebsd-ports Fri Apr 12 16:50:16 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9AB4A37B416 for ; Fri, 12 Apr 2002 16:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3CNo1T20147; Fri, 12 Apr 2002 16:50: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 DB42237B404; Fri, 12 Apr 2002 16:47:29 -0700 (PDT) Received: by host213-123-130-182.in-addr.btopenworld.com (Postfix, from userid 1001) id 5953A95; Sat, 13 Apr 2002 00:47:44 +0100 (BST) Message-Id: <20020412234744.5953A95@host213-123-130-182.in-addr.btopenworld.com> Date: Sat, 13 Apr 2002 00:47:44 +0100 (BST) From: Dominic Marks Reply-To: Dominic Marks To: FreeBSD-gnats-submit@FreeBSD.org Cc: keramida@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/37030: Addition to PPPoA section of the Handbook Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37030 >Category: ports >Synopsis: Addition to PPPoA section of the Handbook >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 12 16:50: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: I've bulked out the PPPoA section and reworded the previous information. The previous information makes it sound like the only use of PPPoA is with the Alcatel SpeedTouch USB. My new version includes the original information about the net/pppoa port but also extends the section to cover using the net/pptpclient port to connect to DSL services using PPPoA with other devices, in this case an Alcatel SpeedTouch Home (Ethernet DSL router). An example configuration is also given. >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.70 diff -u -3 -r1.70 chapter.sgml --- chapter.sgml 2002/04/04 23:32:50 1.70 +++ chapter.sgml 2002/04/12 23:33:16 @@ -2104,24 +2104,79 @@ PPP, over ATM - The following describes how to set up PPP over ATM, a.k.a, - PPPoA. Currently, the only hardware supported is the Alcatel - Speedtouch USB ADSL modem + The following describes how to set up PPP over ATM, (PPPoA). + PPPoA is a popular choice among European DSL providers. - Installing PPPoA + Using PPPoA with the Alcatel Speedtouch USB - PPPoA is supplied as a port in FreeBSD because the firmware - is not distributable under - Alcatel's license agreement. - - To install the port, simply use the - ports collection to install the net/pppoa - port and follow - the instructions provided there. + PPPoA support for this device is supplied as a port in + FreeBSD because the firmware is not distributable under + Alcatel's license agreement. + To install the software, simply use the + ports collection. Install the + net/pppoa port and follow the + instructions provided with it. + + Using pptpclient + + It is also possible to use FreeBSD to connect to other PPPoA + sevices using net/pptpclient. + + To use net/pptpclient to + 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. + + adsl: + set log phase chat lcp ipcp ccp tun command + set timeout 0 + enable dns + set authname username + set authkey password + set ifaddr 0 0 + add default HISADDR + + 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 10.0.0.138. Your + routers documentation should tell you which address your device + uses. To open the tunnel and start a + ppp session execute the following + command. + + &prompt.root; pptp address isp + + You may wish to add a & to the end of the previous + command because pptp will not return + your prompt to you otherwise. + + A tun virtual tunnel device will be + created for interaction between the pptp + and ppp processes. Once you have been + returned to your prompt, or the pptp + process has confirmed a connection can you examine the tunnel like + so. + + &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 + + + If you are unable to connect check that the configurations + on your router, which are usually accessible via + telnet or with a web browser. If you + still cannot connect you should examine the output of the + pptp command and the contents of the + ppp log file, + /var/log/ppp.log for clues. + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message