From owner-freebsd-questions Thu May 15 12:32:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA09878 for questions-outgoing; Thu, 15 May 1997 12:32:09 -0700 (PDT) Received: from localhost.nih.gov (poca57.capecod.net [205.230.13.57]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id MAA09872 for ; Thu, 15 May 1997 12:32:05 -0700 (PDT) Received: (from crtb@localhost) by localhost.nih.gov (8.6.12/8.6.12) id PAA00241 for questions@freebsd.org; Thu, 15 May 1997 15:31:52 -0400 Date: Thu, 15 May 1997 15:31:52 -0400 From: Chuck Message-Id: <199705151931.PAA00241@localhost.nih.gov> To: questions@freebsd.org Subject: pppd fails to clear routing table Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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