From owner-freebsd-questions Thu May 15 18:29:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA29552 for questions-outgoing; Thu, 15 May 1997 18:29:13 -0700 (PDT) Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id SAA29544 for ; Thu, 15 May 1997 18:29:08 -0700 (PDT) Received: from archive.cs.virginia.edu by mail.virginia.edu id aa17657; 15 May 97 21:29 EDT Received: from stretch.cs.Virginia.edu (atf3r@stretch-fo.cs.Virginia.EDU [128.143.136.14]) by archive.cs.Virginia.EDU (8.7.5/8.7.3) with SMTP id VAA07178; Thu, 15 May 1997 21:29:02 -0400 (EDT) Received: by stretch.cs.Virginia.edu (4.1/SMI-2.0) id AA08610; Thu, 15 May 97 21:28:59 EDT Date: Thu, 15 May 1997 21:28:59 -0400 (EDT) From: "Adrian T. Filipi-Martin" Reply-To: adrian@virginia.edu To: Chuck Cc: questions@freebsd.org Subject: Re: pppd fails to clear routing table In-Reply-To: <199705151931.PAA00241@localhost.nih.gov> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 15 May 1997, Chuck wrote: > 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 I too have seen this. I do not have an answer, but I would like to amplify this problem report. Aside from the routing, I also find stale ARP entries in the kernel. ip-down cannot remove these for some reason, probablt the same as above. I am forced to go i ans the a 'arp -d' to clear the entry. BTW, I am talkng about on the server side, not the dail-up client. Adrian -- adrian@virginia.edu ---->>>>| Support your local programmer, System Administrator --->>>| STOP Software Patent Abuses NOW! Neurosurgical Visualzation Lab -->>| For an application and information Member: League for Programming Freedom ->| see: http://www.lpf.org/