From owner-freebsd-questions Thu Jun 3 18:11:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id EF1D514C84 for ; Thu, 3 Jun 1999 18:11:10 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id CAA10020; Fri, 4 Jun 1999 02:10:52 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id CAA04059; Fri, 4 Jun 1999 02:10:11 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199906040110.CAA04059@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Danny Cc: freebsd-questions@FreeBSD.ORG Subject: Re: "connection closed due to inactivity" In-reply-to: Your message of "Thu, 03 Jun 1999 13:13:01 CDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 04 Jun 1999 02:10:08 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hello! I have a (hopefully) quick questions for someone. > > I usually telnet to my computer from work and stay logged in. However, I > usually go for quite a while idle. It's not uncommon for me to come back > and see that my connection was closed due to inactivity. > > I've looked through the telnetd man pages, and can't seem to figure out > how to turn this off. Any ideas? If your company uses ``Fireall1'', it's probably the culprit. It disconnects idle sessions after 15 minutes by default ! You may want to look at using something like: while :; do printf " \b"; sleep 30; tty >&/dev/null || break; done & > thanks! -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message