Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 1997 15:31:52 -0400
From:      Chuck <crtb@capecod.net>
To:        questions@freebsd.org
Subject:   pppd fails to clear routing table
Message-ID:  <199705151931.PAA00241@localhost.nih.gov>

next in thread | raw e-mail | index | archive | help
Sometimes, perhaps half the time, when my line drops (almost always by
the ISP because of a timeout), pppd fails to clear the routes.  I tried
to add scripting in /etc/ppp/ip-down to clear the routes, and always
get permission denied; "you must be root to fiddle with route".  Now,
man pppd says that ip-down is exec'ed by pppd upon disconnection, as
root.  Well, the route command feels differently!

So there are two issues:
1. Why is the route table sometimes not cleared?  The IP address for the
ppp link will remain sometimes after the line has gone.

2. Why does route(8) deny ip-down permission to alter routes?

        Chuck Bacon -- crtb@capecod.net
                ABHOR SECRECY -- DEFEND PRIVACY



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705151931.PAA00241>