[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Waiting for scripts in /etc/ppp/ip-up.d



>From: 	Mitchell, James T1[SMTP:james-t.mitchell@sbil.co.uk]
>
>I use demon, who also use SMTP to send email while online. My 'solution' is
>based on the fact that I use diald to manage connections.

Actually, I use demon, too :-) [Are there any good web pahes about how
to set up Linux with demon?]

>diald will bringup or drop a connection based on whether there is any
>traffic that is being sent/received. So all I do is send a SIGHUP signal to
>diald (which is the "please go online" signal) and if there is no email
>waiting, diald will drop the line in about 30 seconds. If there is email,
>demon sends it to me, causing traffic, causing diald to keep the link up
>until there is no traffic left.

I didn't know about SIGHUP - that makes diald definitely more
attractive. But I still want to do a big "batch download" while I'm
having tea - if I add diald to my setup, and then change from doing pon
to "kill -HUP diald", will all the ip-up.d scripts run (I assume that
once they start, they will generate traffic so that the line stays up
until they finish).

This looks like a good answer - thanks.

Paul.

PS Is there a way to make slrn *default* to --spool mode? I'm forever
typing just "slrn", which fails because news.demon.co.uk isn't
available. With diald, I'd be dialing up every time ... :-) I guess an
alias does it...


Reply to: