Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Aug 2007 07:11:28 -0500
From:      "Jack Stone" <antennex@hotmail.com>
To:        mnslinky@gmail.com, ngharibyan@mail.ru
Cc:        freebsd-questions@freebsd.org, xyin@bluebottle.com
Subject:   Re: restart network without shutdown
Message-ID:  <BAY125-F27393B84C72B1F564D48A0CCE70@phx.gbl>
In-Reply-To: <1F65B63B-94D0-4AD5-A128-D5C03875E052@gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
>From: Eric Crist <mnslinky@gmail.com>
>To: Narek Gharibyan <ngharibyan@mail.ru>
>CC: freebsd-questions@freebsd.org, 'Xihong Yin' <xyin@bluebottle.com>
>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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?BAY125-F27393B84C72B1F564D48A0CCE70>