From owner-freebsd-questions@FreeBSD.ORG Wed May 9 11:32:06 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 B742316A4E7 for ; Wed, 9 May 2007 11:32:06 +0000 (UTC) (envelope-from bramschoenmakers@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id 51A6E13C44B for ; Wed, 9 May 2007 11:32:06 +0000 (UTC) (envelope-from bramschoenmakers@xs4all.nl) Received: from s040391.lan (a80-100-31-69.adsl.xs4all.nl [80.100.31.69]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id l49BW09C083310 for ; Wed, 9 May 2007 13:32:02 +0200 (CEST) (envelope-from bramschoenmakers@xs4all.nl) From: Bram Schoenmakers To: freebsd-questions@freebsd.org Date: Wed, 9 May 2007 13:31:54 +0200 User-Agent: KMail/1.9.6 References: <200705091231.18164.bramschoenmakers@xs4all.nl> <1A58CC26-5CAE-4834-9043-27040767CEF5@brooknet.com.au> In-Reply-To: <1A58CC26-5CAE-4834-9043-27040767CEF5@brooknet.com.au> X-Face: &[!|}QvdlkzFIu, |mW.\-Ci1t2d@CEo+#Q14@XM9*@`S, @l*5r-m!\, , kFc:ZlD62]6/>=?utf-8?q?=5B=0A=09Ovg=3BN=5Bqk=3B=60w6=3D5abys2!H+EUYcEDJ?==?utf-8?q?=25lo=26d67gO=2E!/=0A=09w?=@YD{YH]Ebe{@|(qtKgoum%{-=qXlf.+/`^E<'!m"?5d<&C(:B+p*KjP'-Knv!6U<=?utf-8?q?1W!=7EZ=0A=09P3ee-=7BfAb-i+MsJHM?=@ MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705091331.56038.bramschoenmakers@xs4all.nl> X-Virus-Scanned: by XS4ALL Virus Scanner 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 11:32:06 -0000 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. Kind regards, -- Bram Schoenmakers BOFH Excuse #8: static buildup