From owner-freebsd-questions@FreeBSD.ORG Mon Jul 10 07:45:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7675C16A5A0 for ; Mon, 10 Jul 2006 07:45:11 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoot.lafn.org (zoot.lafn.ORG [206.117.18.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7970A43E1F for ; Mon, 10 Jul 2006 07:44:26 +0000 (GMT) (envelope-from bc979@lafn.org) Received: from [10.0.1.2] (pool-71-109-244-179.lsanca.dsl-w.verizon.net [71.109.244.179]) (authenticated bits=0) by zoot.lafn.org (8.13.4/8.13.4) with ESMTP id k6A7iLQC026382 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Mon, 10 Jul 2006 00:44:23 -0700 (PDT) (envelope-from bc979@lafn.org) In-Reply-To: <002a01c6a3f0$127a6ed0$3c01a8c0@coolf89ea26645> References: <20060708031809.H1799@ganymede.hub.org> <002a01c6a3f0$127a6ed0$3c01a8c0@coolf89ea26645> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <87172611-52D9-4395-8D42-0BF198DBDE9C@lafn.org> Content-Transfer-Encoding: 7bit From: Doug Hardie Date: Mon, 10 Jul 2006 00:44:21 -0700 To: freebsd-questions X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: ClamAV 0.88/1590/Sun Jul 9 22:34:09 2006 on zoot.lafn.org X-Virus-Status: Clean Cc: User Freebsd Subject: Re: Linksys router and ssh time outs ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2006 07:45:11 -0000 On Jul 10, 2006, at 00:11, Ted Mittelstaedt wrote: > > From: "User Freebsd" >> >> I just put a linksys router in place, so that we could use our >> wireless >> laptop, well, wireless ... now, I seem to be getting timeouts on >> my ssh >> connections when they are idle, but timeouts that I never received >> when I >> had my desktop directly connected to the cable modem ... >> >> I've looked at the settings for the Linksys, and can't find >> anything that >> might be related ... is there some keepalive that the linksys >> might be >> blocking, or something else that I can do to keep the connection from >> dropping? >> > > Some of the Netgear routers allow you to telnet into the router and > change > a config setting for the timeouts for specific protocols. But I've > never > heard the linksys allowing this. > > You might be lucky and your linksys might be one of the ones that can > run an alternative firmware. If so, flash it to one of the open > source > firmwares and it should fix the problem. You can also put lines like: ServerAliveInterval 300 ServerAliveCountMax 3 in ssh_config. That will cause ssh to send periodic alive messages. I use those to avoid the same problem.