Date: Tue, 17 May 2005 01:14:33 -0300 From: =?ISO-8859-1?Q?Jos=E9_de_Paula_Rodrigues?= <espinafre@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: changing from dhcp to static ip, changing hostname, etc. Message-ID: <5ef8c2f005051621143a9f4076@mail.gmail.com> In-Reply-To: <NFBBJMMIKLKCDJIPOPLFGEPKFNAA.bagus@cox.net> References: <NFBBJMMIKLKCDJIPOPLFGEPKFNAA.bagus@cox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/17/05, Bagus <bagus@cox.net> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ef8c2f005051621143a9f4076>