From owner-freebsd-hackers Fri Feb 16 10:32:30 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA22580 for hackers-outgoing; Fri, 16 Feb 1996 10:32:30 -0800 (PST) Received: from border.com (janus.border.com [199.71.190.98]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA22487 Fri, 16 Feb 1996 10:30:55 -0800 (PST) Received: by janus.border.com id <20481-1>; Fri, 16 Feb 1996 13:32:27 -0500 Date: Fri, 16 Feb 1996 13:30:04 -0500 From: Jerry Kendall To: FreeBSD Questions , Wes Santee Cc: FreeBSD Hackers Subject: Re: Solution: Telling if User PPP is up or down In-Reply-To: <199602161700.JAA21548@wsantee.oz.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <96Feb16.133227est.20481-1@janus.border.com> Sender: owner-hackers@freebsd.org Precedence: bulk Hey all. Sounds to me like mayby it is the time to modify the ppp program to create a file that has the times that the link was established and when it was last broken. If the broken down time is, say perhaps a string 'FUTURE', in the future, then as far as the system is concerned, the link is active. When the link is broken, it puts the date and time it was dropped.. Maybe even something as simple as the creation of '/tmp/ppp.up' when the link is created and deleted when the link is broken... The second option is easier to implement, but, the first option allows for more fexibility. I have cc'd the hackers to get feed back from them... I could do the changes if it generaly excepted as the 'best' possible solution... Hey all you hackers: what do you think???? On Fri, 16 Feb 1996, Wes Santee wrote: > > Whoops. I read that as posing the question "isn't there a lockfile > that can be checked first?". At any rate, I've had people e-mail me > to say that even doing that doesn't always work. Looks like it's > back to the drawing board. > > Cheers, > -- -------------------------------------------------------------------------------- Any comments or opinions in this message are my own and may or may not reflect the comments or opinions of my present or previous employers. Jerry Kendall Border Network Technologies Inc. System Software Engineer Tel +1-416-368-7157 ext 303 jerry@border.com Fax +1-416-368-7178