Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2000 23:22:54 -0400
From:      Bob Johnson <bobj@ufl.edu>
To:        hiddink@galileo.or.cr
Cc:        questions@freebsd.org
Subject:   Re: ppp.conf
Message-ID:  <39BEF30D.C1BA52FF@ufl.edu>

next in thread | raw e-mail | index | archive | help
> Date: Tue, 12 Sep 2000 16:08:30 -0600
> From: "Bert Hiddink" <hiddink@galileo.or.cr>
> 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:
> > 
> > <snip>
> > 
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39BEF30D.C1BA52FF>