From owner-freebsd-questions@FreeBSD.ORG Sun Dec 10 23:16:44 2006 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 4BCEC16A4FD for ; Sun, 10 Dec 2006 23:16:44 +0000 (UTC) (envelope-from lane@joeandlane.com) Received: from elasmtp-dupuy.atl.sa.earthlink.net (elasmtp-dupuy.atl.sa.earthlink.net [209.86.89.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B9D043DAD for ; Sun, 10 Dec 2006 23:14:21 +0000 (GMT) (envelope-from lane@joeandlane.com) Received: from [66.47.111.183] (helo=joeandlane.com) by elasmtp-dupuy.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1GtXtL-0003hk-58 for freebsd-questions@freebsd.org; Sun, 10 Dec 2006 18:15:31 -0500 Received: from joeandlane.com (localhost.localnet.local [127.0.0.1]) by joeandlane.com (8.13.8/8.13.1) with ESMTP id kBANI6Pp092506 for ; Sun, 10 Dec 2006 17:18:06 -0600 (CST) (envelope-from lane@joeandlane.com) Received: from localhost (localhost [[UNIX: localhost]]) by joeandlane.com (8.13.8/8.13.1/Submit) id kBANI60s092505 for freebsd-questions@freebsd.org; Sun, 10 Dec 2006 17:18:06 -0600 (CST) (envelope-from lane@joeandlane.com) X-Authentication-Warning: joeandlane.com: lholcombe set sender to lane@joeandlane.com using -f From: Lane To: freebsd-questions@freebsd.org Date: Sun, 10 Dec 2006 17:18:05 -0600 User-Agent: KMail/1.9.4 References: <200612102300.39424.news@budostore.de> <457C92B7.5040502@infracaninophile.co.uk> In-Reply-To: <457C92B7.5040502@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612101718.06068.lane@joeandlane.com> X-CD-SOLUTIONS-MailScanner-Information: Please contact the ISP for more information X-CD-SOLUTIONS-MailScanner: Found to be clean X-CD-SOLUTIONS-MailScanner-From: lane@joeandlane.com X-ELNK-Trace: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec797c33f75e734a515182a48811adfbce2d350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.47.111.183 Subject: Re: Networkdevice configuration: reboot necessary? 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: Sun, 10 Dec 2006 23:16:44 -0000 On Sunday 10 December 2006 17:05, Matthew Seaman wrote: > Karl Sinn wrote: > > I went on with the configuration of my first FreeBSD computer. And I > > found something amazing: > > > > After the configuration of the network device with sysinstall the network > > did not work immediately. > > In the handbook it is written to reboot after configuration. > > Hmmm... sysinstall will usually prompt you to bring up a network interface > after you've filled out the appropriate menu stuff. > > What sysinstall is doing behind the scenes is rewriting the settings in > /etc/rc.conf. As you've discovered, that only has any effect when running > the scripts in /etc/rc.d (or /usr/local/etc/rc.d) -- ie. generally when > rebooting. In fact, what sysinstall does is append new settings to the > end of rc.conf, confusingly leaving the old ones still at the top of the > file. You would be well advised (for the sake of your own sanity, if > nothing else) to learn how to edit rc.conf directly to make such > configuration changes, plus keep the file trimmed of old entries and > extraneous fluff. > > > Is this really necessary? > > Is there no other way to change the configuration without turning of the > > computer? > > Of course there is. You just run ifconfig from the command line, > like you would with any other unix system. Of course, that pre-supposes > you know what to put onto the ifconfig command line: the ifconfig(8) > manual page is a good place to start. > > Cheers, > > Matthew Maybe /etc/rc.d/netif restart is a quick way to apply the configuration changes in /etc/rc.conf. Of course nothing is as good as knowing ifconfig(8) ... and one day I will scratch that off my "to do" list :) lane