Date: Sat, 17 Apr 2004 18:51:36 +0800 From: Robert Storey <y2kbug@ms25.hinet.net> To: freebsd-questions@freebsd.org Subject: Re: pppoe ..., newbie Message-ID: <20040417185136.39b52008.y2kbug@ms25.hinet.net> In-Reply-To: <001301c42425$bd3b3360$7433fea9@diy> References: <001301c42425$bd3b3360$7433fea9@diy>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 16 Apr 2004 22:43:17 -0400 "Rainer" <littlecloud@vif.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040417185136.39b52008.y2kbug>