Subject: Re: small panic, pppd help needed
To: =?iso-8859-1?Q?P=E5llen?= <pollen@astrakan.hig.se>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-net
Date: 07/02/2000 14:51:31
On Sat, Jul 01, 2000 at 03:07:02PM +0200, Pållen wrote:
> Help!
> 
> I need to get pppd working to call my isp. I know they are using chap,
> then I don't know much more how to get it working.
> Some times I've managed to get hte modem dial the number and conenct, but
> I never get a connection.
> 
> (There is a little problem browsing online documents without a connection,
> and the man pages just don't help me this time.)
> 
> Can somebode please help me with some options and a chat script to call my
> chap using isp?

So, in /etc/ppp/options I have something like:
/dev/tty00 115200 modem debug
connect "/usr/sbin/chat -v -t 1800 -f /etc/ppp/isp.chat"
noauth
user <chap-user-name>
netmask 255.255.255.254
defaultroute

/etc/ppp/isp.chat:
ABORT ERROR
ABORT BUSY
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
REPORT CONNECT
'' 
atm1 OK
atdt<phone number here> CONNECT

/etc/ppp/chap-secrets:
<chap-user-name> * <chap passwd>

--
Manuel Bouyer <bouyer@antioche.eu.org>
--