Incase you have trouble with the way Eric does his PAP, you may consider the
way my diald goes about this.. Because diald is supposed to dialup and load
the PPP program on the remote computer before loading PPP on its own box, i
had to make my connection script run in the background.  Reason being:  My
provider cans the connection if there is no PAP peer to authenticate with it
right away, and the only way to do this was to have PPP loaded on my
computer.. by adding a & after my dialing script under diald, diald was able
to dial out and think it has established a connection, hence loading PPP
which would wait for the moment when it was to authenticate itself.. This is
all assuming that you can of course connect to your provider using PAP and
PPP without diald...

Jim
[EMAIL PROTECTED]

----- Original Message -----
From: Eric Estabrooks <[EMAIL PROTECTED]>
To: Alex H. Vandenham <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, April 30, 1999 11:47 AM
Subject: Re: Can I use pap or chap with diald?


> Alex H. Vandenham wrote:
>
> > I want to add diald to a system that is already using pppd with pap
> > authentication.  I simply use 'pppd call myisp' on the command line to
use the
> > chat script and options I have placed in the ./peers/myisp file. Is
there a way
> > to use pap (or chap) in this way with diald or must I use the chat
script
> > login - password - ppp activation method? My options file for ppp
conflicts
> > with that and I'm having trouble figuring out what I can do to get diald
> > running.
> >
> > alex
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-diald"
in
> > the body of a message to [EMAIL PROTECTED]
>
> I got pap to work by adding the following to my ppp options file
>
> login user <username>
>
> You also need to have the user in the pap-secrets file
>
> example options file
> noipdefault login user bob
>
> example pap-secrets file
> bob    ppp0    bobssecret
>
> This is the chat script I use
>
> 'ABORT'  'BUSY'
> 'ABORT'  'ERROR'
> 'ABORT'  'NO CARRIER'
> 'ABORT'  'NO DIALTONE'
> ''  'ATZM2'
> 'OK'  'ATDTphonenumber'
> 'CONNECT'  ''
>
> You can leave out the M2 it turns up the speaker volume on my modem
>
> Eric
>   [EMAIL PROTECTED]
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]
>
>


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to