From owner-freebsd-questions@FreeBSD.ORG Fri Aug 27 17:24:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C95616A4CE for ; Fri, 27 Aug 2004 17:24:47 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id E103E43D39 for ; Fri, 27 Aug 2004 17:24:46 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 27 Aug 2004 12:28:21 -0500 Message-ID: <412F6E56.9010701@daleco.biz> Date: Fri, 27 Aug 2004 12:24:38 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040712 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruben de Groot References: <34b425c504082705446816dc77@mail.gmail.com> <200408271817.19544.nvass@teledome.gr> <34b425c5040827090448542797@mail.gmail.com> <20040827165718.GA31477@ei.bzerk.org> In-Reply-To: <20040827165718.GA31477@ei.bzerk.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Aug 2004 17:28:22.0039 (UTC) FILETIME=[4035B270:01C48C5B] cc: Soo-Hyun Choi cc: freebsd-questions@freebsd.org Subject: Re: editing the rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 17:24:47 -0000 Ruben de Groot wrote: >On Fri, Aug 27, 2004 at 05:04:08PM +0100, Soo-Hyun Choi typed: > > >>A couple of people suggested to read the ifconfig man page. I do >>understand the ifconfig, and I can change the IP settings using >>ifconfig without re-booting the system. >> >>What I wondered was a way of editing rc.conf directly and how I can it >>be working without re-boot the system. As Nikos suggested, it would >>not be a good way if there is only one way to go for it by using >>'shutdown now' command; as it kills all the running processes. >> >> > >I believe in FreeBSD 5.x, soon to become -stable, all you need to >do in this case is /etc/rc.d/netif restart > >Ruben > > Also look at the "netstart" script in /etc/. What the "man ifconfig" guys were trying to say was something like this (using xl0 as an example interface): $ifconfig xl0 down $ifconfig xl0 new.ip.add.ress -options $ifconfig xl0 up However, if you're changing another setting (like defaultrouter, etc.) you'll want to use one of the scripts; that could be what you meant, I guess ... although there are other ways to do most of those things as well.... Kevin Kinsey DaleCo, S.P.