From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KqG1E-0007fX-EB for garchives@archives.gentoo.org; Wed, 15 Oct 2008 23:43:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD497E0383; Wed, 15 Oct 2008 23:43:05 +0000 (UTC) Received: from mail.newbread.tj.cn (unknown [117.11.97.99]) by pigeon.gentoo.org (Postfix) with ESMTP id 30763E0383 for ; Wed, 15 Oct 2008 23:43:05 +0000 (UTC) Received: from biztripper-lgecw (unknown [203.247.145.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: davidwei) by mail.newbread.tj.cn (Postfix) with ESMTPSA id 263B292CFD for ; Thu, 16 Oct 2008 07:39:56 +0800 (CST) Date: Thu, 16 Oct 2008 08:43:47 +0900 From: David Wei To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Prevent sshd from stopping? Message-Id: <20081016084347.1de125ca.davidwei@newbread.tj.cn> In-Reply-To: <49bf44f10810151624l4cfc92e9n797b2a11dfc4ae4e@mail.gmail.com> References: <49bf44f10810151624l4cfc92e9n797b2a11dfc4ae4e@mail.gmail.com> Organization: Newbread X-Mailer: Sylpheed 2.5.0 (GTK+ 2.10.14; i686-pc-mingw32) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8eff0436-e409-4297-a397-00c35695883a X-Archives-Hash: 41b7d3c41cf1eaa4919afd94a76b93e9 I think one passive way is to use "screen" ,and detach the "screen" when = you donot communicate with it. It can at least keep you program running i= n the background. This will not help if you need to have continual communication with your = console. On my laptop,i use ndiswrapper as the wireless module,the wireless lancar= d so named wlan0. It's never stopped or restarted no mater how weak the s= ignal was. On Wed, 15 Oct 2008 16:24:42 -0700 Grant wrote: > One of my Gentoo systems is located in a separate building from the > router. The wireless connection always seems to be strong, but > periodically the services that depend on net.ath0 stop because it > loses the connection. Issuing 'rc' always brings them back. Is there > any way to prevent this from happening? I'm mainly concerned about > sshd. >=20 > - Grant >=20 ------------------------------- =CE=BA=C1=C1 David Wei =C4=FA=BF=C9=D2=D4=CD=A8=B9=FD=CF=C2=C3=E6=B5=C4=B7=BD=CA=BD=BA=CD=CE=D2=C1= =AA=CF=B5=A3=BA MSN: inadavid@hotmail.com Gtalk: inadavid@gmail.com Email: davidwei@newbread.tj.cn