From owner-freebsd-questions@FreeBSD.ORG Tue Aug 7 17:12:28 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 660F916A420 for ; Tue, 7 Aug 2007 17:12:28 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by mx1.freebsd.org (Postfix) with ESMTP id 1043513C442 for ; Tue, 7 Aug 2007 17:12:27 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: by wr-out-0506.google.com with SMTP id 67so680514wri for ; Tue, 07 Aug 2007 10:12:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:x-x-sender:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:from:sender; b=mTah3KEnM/TmVn7sAwzfniDLxd/Uf24D8rCUmKNndKcpUFAfboCuJAi81R2IiXYg47lovHRmFIDlOuyH75HWyJ4Yp4zwvwWLiJw9IZ3I20nnJ9HKDM5ZFUIHD0OFEz4Wobk+x+aHvWtH2jp9D6kCmVD1U6Cf57DM8TtSBX8YFzo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:x-x-sender:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:from:sender; b=Efk4XJEeGi7Mca1vdAhA5wbS4ZMazQfCdz2G56TCe/S7jetUwfwPAQZv3kzBVITGtDNu08URr2PTdYOnmyIbmQTsq7V4wmUzVO/g4oA+wVLdoS0oatJtsTp6uM+sx5IWkCLuGmngQcwRHRLwti9bfyo7uTTLZXMW9+Xd1+8/d3o= Received: by 10.90.100.2 with SMTP id x2mr6274224agb.1186506747056; Tue, 07 Aug 2007 10:12:27 -0700 (PDT) Received: from smtp.home.rakhesh.com ( [82.178.137.21]) by mx.google.com with ESMTPS id m33sm8868768ele.2007.08.07.10.12.18 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Aug 2007 10:12:26 -0700 (PDT) Received: from obelix.home.rakhesh.com (obelix.home.rakhesh.com [192.168.17.13]) by smtp.home.rakhesh.com (Postfix) with ESMTP id E7AC311420; Tue, 7 Aug 2007 21:11:47 +0400 (GST) Date: Tue, 7 Aug 2007 21:11:29 +0400 (GST) X-X-Sender: rakhesh@obelix.home.rakhesh.com To: Eric Crist In-Reply-To: <1F65B63B-94D0-4AD5-A128-D5C03875E052@gmail.com> Message-ID: <20070807210914.P84583@obelix.home.rakhesh.com> References: <001201c7d906$58e8ee40$180ca8c0@arm.synisys.com> <1F65B63B-94D0-4AD5-A128-D5C03875E052@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Rakhesh Sasidharan Sender: Rakhesh Sasidharan Cc: Narek Gharibyan , freebsd-questions@freebsd.org, 'Xihong Yin' Subject: Re: restart network without shutdown 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: Tue, 07 Aug 2007 17:12:28 -0000 Eric Crist wrote: > Install screen from ports, run it from within screen. > > You'll still get disconnected, but you should be able to reconnect after it's > done. Screen will allow the script to complete, whereas your ssh session is > killing it half/part way through... > > HTH > Just curious -- how come screen works in such situations? I recollect someone else too recommending screen a few days ago (instead of "watch" to connect to another terminal) coz it doesn't get cut. The SSH session in which screen runs gets disconnected, but screen still works ... useful! Regards, Rakhesh