From owner-freebsd-questions@FreeBSD.ORG Tue May 17 04:14:39 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 7809516A4CE for ; Tue, 17 May 2005 04:14:39 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB11843D8A for ; Tue, 17 May 2005 04:14:37 +0000 (GMT) (envelope-from espinafre@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so1811782wri for ; Mon, 16 May 2005 21:14:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d+lVbBFJ7xk12gCUEPXFcJKoGhlcA04B7O3caRkbcMPCWRGdd1uNI+rs4M0JGS9VepaTt0dN4nj+ks4IlyiNZtIKFhY+8dLA3q2rRc1BcwlD0qLKAYMcUuVRhTDVijnWKRvmtEq5E7ACItxaoc8FOOiyj4fvWIuzN78RFmJWQ4k= Received: by 10.54.157.16 with SMTP id f16mr4070274wre; Mon, 16 May 2005 21:14:33 -0700 (PDT) Received: by 10.54.2.45 with HTTP; Mon, 16 May 2005 21:14:33 -0700 (PDT) Message-ID: <5ef8c2f005051621143a9f4076@mail.gmail.com> Date: Tue, 17 May 2005 01:14:33 -0300 From: =?ISO-8859-1?Q?Jos=E9_de_Paula_Rodrigues?= To: freebsd-questions@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: 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 Reply-To: =?ISO-8859-1?Q?Jos=E9_de_Paula_Rodrigues?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2005 04:14:39 -0000 On 5/17/05, Bagus wrote: >=20 > Hi, >=20 > I'm using FreeBsd 5.3 and I'm switching to a static ip, but am not sure o= f > all the syntax. >=20 > If not, here's what I had in my rc.conf. > hostname=3D"john" > ifconfig_fxp0=3D"DHCP" >=20 > now I'm hoping to have a >=20 > hostname of bagus.org > gateway of 204.251.1.185 > ip address of 204.251.1.186 > netmask of 255.255.255.248 >=20 > I'm guessing I need to change my resolve.conf, too. what does the 'search= ' > line in there do? >=20 > Any other considerations? >=20 > Thanks, >=20 > Bagus >=20 > 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=3D"inet 192.168.200.8 netmask 255.255.255.0" defaultrouter=3D"192.168.200.254" hostname=3D"uirapuru.pinguim" HTH.