On Sat, Dec 09, 2000 at 09:02:38PM -0800, Erik Steffl wrote:
>   there are scripts in /etc/ppp that are executed right after the
> connection was established and scripts that are executed right AFTER
> disconnect.
> 
>   I would like to execute stuff (set my dynamic IP to 'off-line') right
> before disconnect. is it possible? how?

the way I'd do it is with the interfaces config file. (man interfaces
for more info). The major caveat here is that this will only work
for software initiated shutdowns (ie not due to line dropouts, your
ISP punting you off the net, etc) and so will not work in all cases
where the link can go down. But then again, I know of no software that
is procognicant and this is probably why pppd does not supply an
option for this sort of thing.

-- 
CaT ([EMAIL PROTECTED])

        'We do more then just sing and dance. We've got a brain too.'
                -- The Backstreet Boys

Reply via email to