Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 May 2007 08:02:00 -0400
From:      Steve Bertrand <iaccounts@ibctech.ca>
To:        Bram Schoenmakers <bramschoenmakers@xs4all.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Network interface restart
Message-ID:  <4641B838.6030104@ibctech.ca>
In-Reply-To: <200705091331.56038.bramschoenmakers@xs4all.nl>
References:  <200705091231.18164.bramschoenmakers@xs4all.nl>	<1A58CC26-5CAE-4834-9043-27040767CEF5@brooknet.com.au> <200705091331.56038.bramschoenmakers@xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4641B838.6030104>