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

Re: Is there away to automatic finish a ppp connection?



Gal Shalif wrote:
> 
> Hello,
> 
> Try diald.
> 
> It it a ppp on demand connection:
> It dial the modem when an application make a request for an outside
> connection (i.e. netscape http://www.netvision.net.il) and
> disconnect after the ppp connection is idle for a while.
> 
> To my opinion, it is a great help that avoid all the hassle of
> connect/disconnect, and also it save me money.
> 
> -- Sincerely,
> 
>    Gal Shalif, R&D group
> 
>  /-----------------------------------------------------------------\
> |      Gal Shalif                 | Internet: gal@sd.co.il          |
> |      R&D Team Leader (Software) | Voice: +972 9-507102, ext. 209  |
> |      Summit Design (EDA) Ltd    | Fax:   +972 9-509118            |
> |                                 |                                 |
>  \------------------------------------------------------------------/
>   \             A good programmer writes good code.                /
>    \     A very good programmer re-uses good programmer's code.   /
>     \                        (Gal, 1995)                         /
>      \          Understanding the essence of the situation      /
>       \            is the first step toward frustration        /
>        \                        (Gal, 1996)                   /
>         ------------------------------------------------------
> 
> Excerpt of message (sent 12 July 1996) by Michael Kraizelman:
> > >Hi
> > >I just finished seting up my ppp to be statrted by kerneld, it's great
> > >no more batch files from x-term, well I could made a button for it in
> > >fvwm but...
> > >The kerneld way is much better.
> > >Is there a why to terminate the ppp automaticly like kerneld do to
> > >modules?
> > >I can write something that will use netstat, but if you know something
> > >thats
> > >already works...
> > >Thank's in edvance.
> > >
> > >
> >
> > Try ppp-off.
> >
> > Michael
> >
Tnank you all , but both diald and ppp-off are yesterday paper.
I looked in the request-connect script, the new pppd has a new command
(as much as I know) not found in the man or the README its :
idle-disconnect , I think it's in seconds, it had 600 next to it when I
run into it in the script.
So, I can login automatic with the help of kerneld, wich take care to
load the ppp module and to make it dial to the right place.
and the idel-disconnect in the pppd that do the ppp-off for me , after a
big d/l 
when I am in bed ( Michael)
Bye


References: