From owner-freebsd-questions@FreeBSD.ORG Wed Apr 14 05:17:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66C8516A4CE for ; Wed, 14 Apr 2004 05:17:51 -0700 (PDT) Received: from matrix.teledomenet.gr (dns1.teledomenet.gr [213.142.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id C94BF43D46 for ; Wed, 14 Apr 2004 05:17:49 -0700 (PDT) (envelope-from nvass@teledome.gr) Received: from iris.teledomenet.gr (zoltar.teledomenet.gr [213.142.128.62]) i3ECEnWr024012; Wed, 14 Apr 2004 15:14:49 +0300 From: Nikos Vassiliadis To: Holtor , questions@freebsd.org Date: Wed, 14 Apr 2004 15:13:58 +0300 User-Agent: KMail/1.5.4 References: <20040414113653.27915.qmail@web11601.mail.yahoo.com> In-Reply-To: <20040414113653.27915.qmail@web11601.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404141513.58410.nvass@teledome.gr> Subject: Re: Telnet Operation Timed Out X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 12:17:51 -0000 You can change the non-established-connection-timeout using sysctl net.inet.tcp.keepinit=value. The default is 75000, at least on FreeBSD-4.9, which is probably a lot. Cheers, NikV On Wednesday 14 April 2004 14:36, Holtor wrote: > Hello All, > > How can I change the default telnet timeout value when connecting to remote > hosts? > > For example: > > # time telnet -N 1.2.3.4 > Trying 1.2.3.4... > telnet: connect to address 1.2.3.4: Operation timed out > telnet: Unable to connect to remote host > 0.000u 0.008s 1:15.01 0.0% 0+0k 1+0io 6pf+0w > > The timeout seems to be 75 sec, how can we make this 15 or 30 seconds? I > have been searching google to no avail but did get hints that this might be > a TCP default of somekind. > > If anyone has any idea please do e-mail back but include my in the reply as > I'm not yet subscribed to the list. > > Thanks, > > Holt G. > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online by April 15th > http://taxes.yahoo.com/filing.html > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"