From owner-freebsd-questions@FreeBSD.ORG Wed May 9 12:02:22 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B1B6F16A404 for ; Wed, 9 May 2007 12:02:22 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: from pearl.ibctech.ca (pearl.ibctech.ca [208.70.104.210]) by mx1.freebsd.org (Postfix) with ESMTP id 52C7913C4AE for ; Wed, 9 May 2007 12:02:22 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: (qmail 61815 invoked by uid 1002); 9 May 2007 12:02:21 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(208.70.107.100):. Processed in 21.975296 secs); 09 May 2007 12:02:21 -0000 Received: from unknown (HELO ?192.168.1.210?) (steve@ibctech.ca@208.70.107.100) by pearl.ibctech.ca with (DHE-RSA-AES256-SHA encrypted) SMTP; 9 May 2007 12:01:58 -0000 Message-ID: <4641B838.6030104@ibctech.ca> Date: Wed, 09 May 2007 08:02:00 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Bram Schoenmakers References: <200705091231.18164.bramschoenmakers@xs4all.nl> <1A58CC26-5CAE-4834-9043-27040767CEF5@brooknet.com.au> <200705091331.56038.bramschoenmakers@xs4all.nl> In-Reply-To: <200705091331.56038.bramschoenmakers@xs4all.nl> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Network interface restart 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: Wed, 09 May 2007 12:02:22 -0000 Bram Schoenmakers wrote: > Op woensdag 09 mei 2007, schreef Sam Lawrance: > > Hi, > >>> Could someone please point out where I made the mistake? >> When your network interface went down, you lost the connection, your >> shell lost the terminal and your script was terminated before it >> could finish doing what it was supposed to. Possibly you need to use >> something like "nohup" or "screen" (from ports), or have some other >> form of terminal available. > > Thanks for your answer. > > But as I said, I ran the script from a screen session, so that makes me wonder > why the execution was aborted. > > But is running '/etc/rc.d/netif restart'' known to cause problems? I think I > shouldn't have to use scripts like these just to change a setting on the > network interface. More importantly, what *exactly* did your 'fallback' script contain? Steve