From owner-freebsd-questions@FreeBSD.ORG Sat Mar 6 07:01:26 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 2D77916A4CE for ; Sat, 6 Mar 2004 07:01:26 -0800 (PST) Received: from lillith-iv.ovirt.dyndns.ws (ppp36-152.lns1.adl1.internode.on.net [150.101.36.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FF2E43D2F for ; Sat, 6 Mar 2004 07:01:25 -0800 (PST) (envelope-from ws+freebsd-questions@au.dyndns.ws) X-Envelope-From: ws+freebsd-questions@au.dyndns.ws X-Envelope-To: freebsd-questions@freebsd.org Received: from [192.168.100.132] (ppp36-152.lns1.adl1.internode.on.net [150.101.36.152])i26F1Ja8091556; Sun, 7 Mar 2004 01:31:19 +1030 (CST) (envelope-from ws+freebsd-questions@au.dyndns.ws) From: Wayne Sierke To: Chuck Swiger In-Reply-To: <4049E2A9.9010604@mac.com> References: <40496C83.80605@cal.berkeley.edu> <1078563364.657.10.camel@ovirt.dyndns.ws> <4049E2A9.9010604@mac.com> Content-Type: text/plain; charset=ISO-8859-1 Message-Id: <1078585316.657.201.camel@ovirt.dyndns.ws> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 07 Mar 2004 01:31:56 +1030 Content-Transfer-Encoding: 8bit X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.38 cc: Rishi Chopra cc: freebsd-questions@freebsd.org Subject: Re: ssh disconnecting [WAS: Getting Cut-Off] 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: Sat, 06 Mar 2004 15:01:26 -0000 On Sun, 2004-03-07 at 01:09, Chuck Swiger wrote: > Wayne Sierke wrote: > [ ... ] > > I've been having a similar problem, afaict since I moved my server to > > 5.2-RELEASE from 4.8-RELEASE and to a EPIA 5000 board (from a Pentium > > system). > > > > I've not had a disconnection while I've been actively using the > > connection but most connections that are left idle get disconnected > > after a while (seems to be around 10 to 15 minutes). > > [a light blinks!] By any chance are you enabling APCI and having your machine > go into power-saving mode after 15 minutes or so? Your ssh connection won't > wake up even if your machine does when you come back later... :-) Ah! Très intéressant! Damn, I don't know why it didn't occur to me to check, I have to boot my workstation without ACPI because of problems with X on my graphics card but it never occured to me to ensure it was disabled on the server. Ok, time to go rummaging but in the meantime (in case a response turns up before I find the answers)... Can I disable ACPI with the server running, or am I going to have to restart? What's the best way to disable ACPI (for unattended booting)? (eg. a hint setting, or requires a recompile, etc.). Incidentally, this isn't the case for the workstation(s), I've definitely had (user) sessions where not even the screensaver has kicked in but ssh connections have still died when left idle for long enough. Besides which I get the same behaviour when running putty.exe under Windows.