[3641] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: Is there a ppp on demand that executes /etc/ppp/ppp-up?

daemon@ATHENA.MIT.EDU (Kevin M Bealer)
Fri Jul 12 03:11:19 1996

Date: 	Sat, 29 Jun 1996 21:49:53 -0400 (EDT)
From: Kevin M Bealer <kmb203@psu.edu>
To: David Flood <dcflood@u.washington.edu>
cc: linux-ppp@vger.rutgers.edu, linux-net@vger.rutgers.edu
In-Reply-To: <Pine.OSF.3.92a.960629160430.21039B-100000@saul7.u.washington.edu>

On Sat, 29 Jun 1996, David Flood wrote:

> I have ppp working quite well and maskerading working as well.  Now what I
> need is ppp on demand that dials my ISP when I need it to.  I've seen and
> tried diald but it tries to execute pppd on its own and I don't want to have
> to go though debugging another way of executing pppd.  So is there a way
> to have /etc/ppp/ppp-up executed automaticly (since it now works by hand) and
> then have ppp-off executed after a sufficently inactive period?
> 
> Or should I tear into the diald stuff and try to make it just execute ppp-up?
> 
> 
> =============================================================================
> dcflood@u.washington.edu
> 

Yes, in recent ppp or recent kernel/modules (?) there exists a way of doing
this.  The method is /sbin/request-route, a script that is run whenever a
non-existant route is requested by a program.  The script can put up the
route in any way it wants (mine uses pppd).

I don't know how you would terminate the link after a time interval, however
kerneld may do this by removing the serial module, if you use kerneld, have
serial as a module, and don't use LCP.  (it may do so even if you don't use
it -- I don't know, since I leave my serial module firmly strapped in).

I tried diald when I got PPP but there were bugs in it that I didn't find
out about until I went crazy twice.  IMHO 3 things to configure is better
than 4 things to configure -- especially since I had no idea what I was
doing.

__kmb203@psu.edu_________________________Debian__1.1___Linux__2.0.0___
Pascal, n.:  A programming language named after a man who would turn over in
his grave if he knew about it.




home help back first fref pref prev next nref lref last post