From owner-freebsd-questions@FreeBSD.ORG Tue May 17 04:23:00 2005 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 5120A16A4CE for ; Tue, 17 May 2005 04:23:00 +0000 (GMT) Received: from styx.qala.com.sg (styx.qala.com.sg [210.193.2.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3CC943D54 for ; Tue, 17 May 2005 04:22:59 +0000 (GMT) (envelope-from jhfoo@nexlabs.com) Received: from [192.168.1.200] (110.210-193-15.adsl.qala.com.sg [210.193.15.110]) by styx.qala.com.sg (Postfix) with ESMTP id 4F92F344CE; Tue, 17 May 2005 12:21:56 +0800 (SGT) Message-ID: <4289728D.7070805@nexlabs.com> Date: Tue, 17 May 2005 12:26:53 +0800 From: Foo Ji-Haw User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Jos=E9_de_Paula_Rodrigues?= References: <5ef8c2f005051621143a9f4076@mail.gmail.com> In-Reply-To: <5ef8c2f005051621143a9f4076@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: changing from dhcp to static ip, changing hostname, etc. 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: Tue, 17 May 2005 04:23:00 -0000 This brings to mind a question, I've been wanting to ask: How does one get the system to read the rc.conf changes without rebooting the system? José de Paula Rodrigues wrote: >On 5/17/05, Bagus wrote: > > >>Hi, >> >>I'm using FreeBsd 5.3 and I'm switching to a static ip, but am not sure of >>all the syntax. >> >>If not, here's what I had in my rc.conf. >>hostname="john" >>ifconfig_fxp0="DHCP" >> >>now I'm hoping to have a >> >>hostname of bagus.org >>gateway of 204.251.1.185 >>ip address of 204.251.1.186 >>netmask of 255.255.255.248 >> >>I'm guessing I need to change my resolve.conf, too. what does the 'search' >>line in there do? >> >>Any other considerations? >> >>Thanks, >> >>Bagus >> >>p.s. I can't for the life of me find a simple >>how-to-get-your-freebsd-box-online guide. The handbook seems to only have >>"11.3 Core Configuration" which has a little bit about cluster >>configurations. What's up with that? I just want to get one box online! >> >> >> > >I use the following on my rc.conf: > >ifconfig_xl0="inet 192.168.200.8 netmask 255.255.255.0" >defaultrouter="192.168.200.254" >hostname="uirapuru.pinguim" > >HTH. >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > >