From owner-freebsd-questions@FreeBSD.ORG Wed Aug 8 12:23:33 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 6236716A41A for ; Wed, 8 Aug 2007 12:23:33 +0000 (UTC) (envelope-from antennex@hotmail.com) Received: from bay0-omc3-s9.bay0.hotmail.com (bay0-omc3-s9.bay0.hotmail.com [65.54.246.209]) by mx1.freebsd.org (Postfix) with ESMTP id 48B2D13C483 for ; Wed, 8 Aug 2007 12:23:33 +0000 (UTC) (envelope-from antennex@hotmail.com) Received: from hotmail.com ([65.55.130.107]) by bay0-omc3-s9.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed, 8 Aug 2007 05:11:33 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 8 Aug 2007 05:11:33 -0700 Message-ID: Received: from 65.55.130.123 by by125fd.bay125.hotmail.msn.com with HTTP; Wed, 08 Aug 2007 12:11:28 GMT X-Originating-IP: [65.68.247.73] X-Originating-Email: [antennex@hotmail.com] X-Sender: antennex@hotmail.com In-Reply-To: <1F65B63B-94D0-4AD5-A128-D5C03875E052@gmail.com> From: "Jack Stone" To: mnslinky@gmail.com, ngharibyan@mail.ru Date: Wed, 08 Aug 2007 07:11:28 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 08 Aug 2007 12:11:33.0203 (UTC) FILETIME=[428A8230:01C7D9B5] Cc: freebsd-questions@freebsd.org, xyin@bluebottle.com Subject: Re: restart network without shutdown X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: orvilleg@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2007 12:23:33 -0000 >From: Eric Crist >To: Narek Gharibyan >CC: freebsd-questions@freebsd.org, 'Xihong Yin' >Subject: Re: restart network without shutdown >Date: Tue, 7 Aug 2007 10:42:11 -0500 > >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 > >Eric Crist > > >On Aug 7, 2007, at 10:19 AMAug 7, 2007, Narek Gharibyan wrote: > >>I think the best way is >> >>/etc/netstart >> >>but when you try it via ssh connection it outputs an fatal error and your >>ssh hangs up. You cannot connect again via ssh. >> >>But you can do it via console and everything will ok. >> >>-----Original Message----- >>From: owner-freebsd-questions@freebsd.org >>[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Xihong Yin >>Sent: Tuesday, August 07, 2007 6:02 PM >>To: freebsd-questions@freebsd.org >>Subject: restart network without shutdown >> >>How can I restart my network card without shutdown/reboot? I use DHCP. >> >>Thanks, >> When running a command from a remote connection & concerned about a disconnect, then run it via cron set to run within a few minutes. Screen sounds good too -- never used that one. HTH.... Jack _________________________________________________________________ See what you’re getting into…before you go there http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507