From owner-freebsd-questions Tue Sep 12 20:23: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.ufl.edu (sp28fe.nerdc.ufl.edu [128.227.128.108]) by hub.freebsd.org (Postfix) with ESMTP id 778DE37B423 for ; Tue, 12 Sep 2000 20:23:01 -0700 (PDT) Received: from ufl.edu (neti.eng.ufl.edu [128.227.235.15]) by smtp.ufl.edu (8.9.3/8.9.3/2.2.1) with ESMTP id XAA61384; Tue, 12 Sep 2000 23:22:47 -0400 Message-ID: <39BEF30D.C1BA52FF@ufl.edu> Date: Tue, 12 Sep 2000 23:22:54 -0400 From: Bob Johnson X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.1-RELEASE i386) X-Accept-Language: en-US, en, en-GB, eo, de, es MIME-Version: 1.0 To: hiddink@galileo.or.cr Cc: questions@freebsd.org Subject: Re: ppp.conf Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Date: Tue, 12 Sep 2000 16:08:30 -0600 > From: "Bert Hiddink" > Subject: Re: ppp.conf > > Hello, Matthew, > > El 12 Sep 00, a las 17:01, Matthew Emmerton escribi=F3: > > > On Tue, 12 Sep 2000, Bert Hiddink wrote: > > > > > Hello, > > > > > > Could someone help me out with the configuration of my ppp. My > > > ppp.conf looks like this: > > > > > > > > It's because when you load ppp and type 'dial', all it does is execute > > the stuff under the default: label. > > > > If you want to dial the number you've specified under the papchap > > label, you need to say 'dial papchap'. I would also consider changing > > the label name to something a bit mor informative (perhaps relating to > > the ISP?) > I think you can also accomplish this by starting ppp with the command "ppp papchap", but it doesn't really matter which you use. > Thanks for this! Indeed now it marks the number and seems to do the > handshaking... but after a while it says: Warning: chat script > failed! > Look in the file /var/log/ppp.log to see what errors are logged. That should help you (or us) figure out what is going on. > I checked a manual of Steve Sims > http://www.freebsd.org/tutorials/ppp/index.html > > He explains to add a second file, apart from ppp.conf, to the > /etc/ppp/ directory. Might that be tthe problem here? > http://www.freebsd.org/tutorials/ppp/x340.html#AEN530 You shouldn't need that file in most cases if you have a recent version of ppp (i.e. recent FreeBSD). Have you read the ppp man page (i.e. "man ppp")? It is a very good explanation that is comparable to the tutorial but more up-to-date. > > Would it be helpful to add the DNS entries of my ISP somewhere? If > positive, where should I put these? The "enable dns" statement in ppp.conf tells ppp to get DNS information from your ISP when it sets up the ppp connection, but if your ISP doesn't have that information configured on their ppp server, you may want to add it to /etc/resolv.conf. ppp edits this file to update this information when it connects if your ISP provides the information. If not, the values you put there will be used. > > Could you help me some more? > Information for /var/log/ppp.log would probably help figure out what the problem is. > Many thank in advance!!! > > Regards, > > - -brt > > > Bert Hiddink, FUNDACION GALILEO > Correo electronico: hiddink@galileo.or.cr > Sitio: http://www.galileo.or.cr > Tel. (506) 280 8683, telefax. (506) 280 8847 > Good luck! - Bob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message