There are some options on pppd that allow you to execute scripts. One
command executes a script once the PPP connection is made, and the other
is executed when the PPP connection goes down. I think the options are
"ip-up" and "ip-down". I don't have a Linux system to look at the pppd
man pages to make sure I'm 100% correct on the option names.

I'm not sure how this affects the use of the SuSE PPP scripts as I use
diald in conjunction with pppd instead. When I ran a Slackware system I
had to run chat and pppd directly from a script and so that why I know
the options I mention exist in some form with pppd.

Tony

Steve Crane wrote:
> 
> Hi All,
> 
> I am running SuSE 5.3 and have become quite tired of using Netscape
> Communicator for e-mail.  I am now using sendmail and fetchmail with
> mutt.  I have created the following script:
> 
>         /etc/suseppp/scripts/ppp-up generic
>         sendmail -q
>         fetchmail -v >> /var/log/fetchmail
>         /etc/suseppp/scripts/ppp-down
> 
> to send and receive but it has a problem.  The commands after the ppp-up
> execute immediately and the entire script finishes (with errors from
> sendmail & procmail) before the modem even begins to connect.
> 
> How can I pause the script and test that the connection was made before
> continuing with execution?
> 
> ---
> Steve Crane
> [EMAIL PROTECTED]
> http://www.datapro.co.za/~stevec
> --
> To get out of this list, please send email to [EMAIL PROTECTED] with
> this text in its body: unsubscribe suse-linux-e
> Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
> archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html

-- 
Tony Schlemmer
mailto:[EMAIL PROTECTED]
http://www.sequeltech.com
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to