From owner-freebsd-questions Thu Jul 6 05:06:03 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA15723 for questions-outgoing; Thu, 6 Jul 1995 05:06:03 -0700 Received: from relay.philips.nl (relay.philips.nl [130.144.65.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id FAA15714 for ; Thu, 6 Jul 1995 05:06:00 -0700 Received: from knox.pcec.philips.com ([130.140.74.243]) by relay.philips.nl (8.6.9/8.6.9-950414) with SMTP id NAA25108; Thu, 6 Jul 1995 13:55:58 +0200 Received: from eis16.philips.com by knox.pcec.philips.com (4.1/SMI-4.1) id AA17123; Thu, 6 Jul 95 07:55:06 EDT Received: by eis16.philips.com (5.x/SMI-SVR4) id AA18089; Thu, 6 Jul 1995 07:55:07 -0400 Date: Thu, 6 Jul 1995 07:55:07 -0400 From: wolperte@knox.pcec.philips.com (ED WOLPERT ) Message-Id: <9507061155.AA18089@eis16.philips.com> To: amurai@spec.co.jp Cc: Nik.Clayton@brunel.ac.uk, questions@freebsd.org In-Reply-To: <9507060354.AA00097@tama3.spec.co.jp.spec.co.jp> (message from Atsushi Murai on Thu, 06 Jul 1995 12:54:35 +0900) Subject: Re: PPP and demand start Sender: questions-owner@freebsd.org Precedence: bulk >>>>> "Atsushi" == Atsushi Murai writes: -Atsushi> wolperte@knox.pcec.philips.com (ED WOLPERT ) wrote: -Atsushi> :A different problem I have: The timeout would occur even with an -Atsushi> :active connection. It seems that if I don't keep pinging something -Atsushi> :while I'm connected (Either through an 'slurp' or long ftp session) it -Atsushi> :will timeout. Most strange. Ideas anyone? -Atsushi> Try "timeout 0" -Atsushi> Atsushi. Sure, that will cause the line to not hang up, but then pppd does the same thing. It would be nice to have it start on demand, and not hangup if in use. I short fix I gues is to set the timeout to 300 (5 mins) and write a shell script to do a netstat every 4 mins. If netstat returns a non- local connection, ping some random remote hosts (ping -c 1 random.host). That 'would' work too, but not an optimal solution. -- Virtually, Edward Wolpert ------------------------------- "The best way out is always wolperte@knox.pcec.philips.com | through." - Robert Frost wolpert@utk.edu | =============================== 'Give me a shell, and I'll Truth is what you believe. | give you the world.' (tm) ------------------------------- Fnord.