Date: Mon, 19 Jun 2000 09:00:40 +1000 (EST) From: Ernie Elu <ernie@spooky.eis.net.au> To: shashi@shift-f1.com (shashi) Cc: freebsd-isp@freebsd.org Subject: Re: 4.0 and ppp not working? Message-ID: <200006182300.JAA25115@spooky.eis.net.au> In-Reply-To: <20000618122828.A11420@Shift-F1.com> from shashi at "Jun 18, 0 12:28:28 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> > Hello, > I am not sure exactly which list this belongs to, so I am posting it on > net, isp and stable. Forgive me for the extra bandwidth used. > > I have been using FreeBSD for 3 years now, and touch wood, things have > always been smooth enough. So I haven't made much use of the mailing lists. > For the current issue I have spent over 5 hours in the archives with no > success. I found similar situations but no answers to the problem, at least > none that apply to my situation. > > > Here is the description: > > 1. ppp has always worked for dialing out on previous versions, 2x, 3.2(?) ppp has changed a bit here is a working ppp.conf, insert your own phone, login, password at the XXXX ------------------------------- ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.2 1999/08/27 23:24:08 peter Exp $ ################################################################# default: # # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa0 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1L1Q0X1 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 0 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone XXXXXX set authname XXXXXX set authkey XXXXXX --------------------------------------------------------------------------------- now in /etc/rc.conf you must have the following: ppp_enable="YES" ppp_nat="NO" As you can see I turn nat off as I have a class-C The main difference is the lack of a default entry, it now uses the papchap entry, and is invoked from rc.conf like other networking. Hope this helps - Ernie. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006182300.JAA25115>