From owner-freebsd-questions@FreeBSD.ORG Sat Apr 17 03:54:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C667516A4CE for ; Sat, 17 Apr 2004 03:54:59 -0700 (PDT) Received: from msr65.hinet.net (msr65.hinet.net [168.95.4.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BE5E43D1F for ; Sat, 17 Apr 2004 03:54:59 -0700 (PDT) (envelope-from y2kbug@ms25.hinet.net) Received: from sonic.utopia.com (61-227-219-7.dynamic.hinet.net [61.227.219.7]) by msr65.hinet.net (8.9.3/8.9.3) with SMTP id SAA22791 for ; Sat, 17 Apr 2004 18:54:56 +0800 (CST) Date: Sat, 17 Apr 2004 18:51:36 +0800 From: Robert Storey To: freebsd-questions@freebsd.org Message-Id: <20040417185136.39b52008.y2kbug@ms25.hinet.net> In-Reply-To: <001301c42425$bd3b3360$7433fea9@diy> References: <001301c42425$bd3b3360$7433fea9@diy> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: pppoe ..., newbie X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 10:54:59 -0000 On Fri, 16 Apr 2004 22:43:17 -0400 "Rainer" wrote: > any pointers would be useful, Dear Ranier, I'll give you below my entire ppp.conf file. There are four things you'll need to change: ISP_NAME MY_FREEBSD_USER_NAME MY_NAME@MY_ISP.COM MY_PASSWORD That ought to do it. Then to start a connection, open an Xterm and type: ppp -background ISP_NAME Of course, for ISP_NAME substitute whatever name you used in the ppp.conf file. Actually, you can use any name you like, it doesn't have to be your ISP's real name, "aardvark" would be fine, you just have to be consistent. To shut down the connection: killall ppp So without further ado, the ppp.conf file: ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $ ################################################################# default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # # set device /dev/cuaa1 # set speed 115200 # set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ # \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 600 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) ISP_NAME: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # allow users MY_FREEBSD_USER_NAME set device PPPoE:rl0 set authname MY_NAME@MY_ISP.COM set authkey MY_PASSWORD # set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set ifaddr 0 0 add default HISADDR # Add a (sticky) default route