Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 1995 16:58:02 +0900 (JST)
From:      Atsushi Murai <amurai@spec.co.jp>
To:        Nik.Clayton@brunel.ac.uk, questions@freebsd.org
Subject:    Re: PPP and demand start
Message-ID:  <199507090758.QAA01189@tama.spec.co.jp>
In-Reply-To: <199507081739.CAA01566@specgw.spec.co.jp> from "Atsushi MURAI" at Jul 9, 95 02:39:43 am

next in thread | previous in thread | raw e-mail | index | archive | help
> >>>>> "Atsushi" == Atsushi Murai <amurai@spec.co.jp> 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.

Well.. I am getting into confusion world what you want do ;-)
 
What do you mean "start on demand, and not hungup if in use" and
"active connection"? If you mean "Just dial and make a connection
whenever packet sending to peer and then never disconnect unless you
did disconnect manually", the only way is using -auto(dial on demand)
with "set timeout 0 0". In general case, they prefer to disconnect
peer by any/paticular packet is NOT sending/receiving to peer period
time with setting up various function filters..


> -- 
>                            Virtually,
>                            Edward Wolpert

Atsushi.
-- 
Atsushi Murai                                       Internet: amurai@spec.co.jp
System Planning and Engineering Co,.Ltd.            Voice   : +81-33833-5341



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