Kenneth,

Thanks for the advice.  I'll try to figgure it out.  Your advice gives me   
a direction to look, so even if I can't figgure it out, I'm grateful.

Thanks again.

Peace favor your sword,
Kirk Lawson

 ----------
From:  Kenneth P. Persing
Sent:  Saturday, November 21, 1998 12:50 PM
To:  Kirk Lawson
Cc:  "Linux Diald"
Subject:  RE: chat script problem

Kirk,
   I forgot to mention in my last post, in order to use chap with diald,   
you
simply have to edit your /etc/ppp/options.ttySx, and your chap-secrets   
file
to utilize chap and diald with your ISP. (see diald man page under   
heading
COMMAND LINE ARGUMENTS, paragraph 5 (the last paragraph of the section))

    In sum, the pppd command does not go in your connect script, since   
it's
diald's job to execute pppd, not the script's. This is most likely the
reason why diald fails with a ppp-on script. You should be using the
standard connect script. Diald has no direct connection with chap. The
question of whether chap is to be used is specified in the
/etc/ppp/options.ttySx file. When diald executes pppd,  the options.ttySx
file and the chap-secrets file are read to determine the status for chap.

I hope this makes sense,

Kenneth Persing

 -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Kirk Lawson
Sent: Friday, November 20, 1998 6:57 AM
To: Keith
Cc: Linux Diald
Subject: RE: chat script problem


Keith,

Thank you for the offer.  If I'm still having trouble, I may take you up
on your offer in a day or two.  I tried modifying the example scripts
that came with diald, but I couldn't get those to work.  Anyway, thanks
for the info.

 -Kirk Lawson

 ----------
From:  Keith
Sent:  Thursday, November 19, 1998 6:49 PM
To:  Kirk Lawson
Cc:  Linux Diald
Subject:  Re: chat script problem



Kirk Lawson wrote:

> Here is my ppp-on file:
> <------------start of /etc/diald/ppp-on --------->
> #!/bin/sh
> # Modified 11-16-98 lklawson
> # Script to initiate a ppp connection. This is the first part of the
> # pair of scripts. This is not a secure pair of scripts as the codes
> # are visible with the 'ps' command.  However, it is simple.
> #
> # These are the parameters. Change as needed.
> TELEPHONE=8,4491444 # The telephone number for the connection
> ACCOUNT=george  # Unused but left in anyway
> PASSWORD=gracie  # Unused but left in anyway
> LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
> REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
> NETMASK=255.255.255.0 # The proper netmask if needed
> #
> # Export them so that they will be available at 'ppp-on-dialer' time.
> export TELEPHONE ACCOUNT PASSWORD
> #
> # This is the location of the script which dials the phone and logs
> # in.  Please use the absolute file name as the $PATH variable is not
> # used on the connect option.  (To do so on a 'root' account would be
> # a security hole so don't ask.)
> #
> DIALER_SCRIPT=/etc/diald/ppp-on-dialer
> #
> # Initiate the connection
> #
> # I put most of the common options on this command. Please, don't
> # forget the 'lock' option or some programs such as mgetty will not
> # work. The asyncmap and escape will permit the PPP link to work with
> # a telnet or rlogin connection. You are welcome to make any changes
> # as desired. Don't use the 'defaultroute' option if you currently
> # have a default route to an ethernet gateway.
> #

Everyone seems to have their own way of setting up diald and ppp. Your
scripts are
a lot different then mine. If you look in the man page for diald it says
not
use modem, crtscts and a bunch of other things. This may be what is
screwing
up diald. If you can't get it working I can send you my scripts and you
can
just modifiy them for yourself, that usually works.


 -
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