From owner-freebsd-newbies Sun May 12 8:21:13 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from relay.pair.com (relay1.pair.com [209.68.1.20]) by hub.freebsd.org (Postfix) with SMTP id 231B937B40B for ; Sun, 12 May 2002 08:21:10 -0700 (PDT) Received: (qmail 91730 invoked from network); 12 May 2002 15:21:08 -0000 Received: from pd90058df.dip.t-dialin.net (HELO laptop) (217.0.88.223) by relay1.pair.com with SMTP; 12 May 2002 15:21:08 -0000 X-pair-Authenticated: 217.0.88.223 Message-ID: <02b901c1f9c8$978166a0$0901a8c0@system> From: "Tom Beer" To: "Jon Craig" , "FBSD newbies" References: <000401c1f7bb$38531ac0$2137a418@tampabay.rr.com> Subject: Re: "hostname" question Date: Sat, 11 May 2002 12:39:16 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > I am trying to set up a firewall using "How to Build a FreeBSD-STABLE > Firewall with IPFILTER" by Marty Schlacter. I just have one simple > question that has been confusing me for the longest time. Many points > throughout the document require that I enter or know my "hostname". This > system will be on a cable modem that is using a DCHP address. From what > I understand, my hostname is assigned by my ISP (RR.COM) Your IP address will be assigned through your isp and has nothing (in this scenario) to do with your hostname. Take a look in /etc/defaults/rc.conf there is the specification for setting the hostname on every boot up in /etc/rc.conf Alternatively you can do a hostname this_is_the_name_of_my host and test it simply with hostname. Don't get confused! Greets Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message