From owner-freebsd-questions Mon Mar 3 18:10:17 2003 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 D2BC037B401 for ; Mon, 3 Mar 2003 18:10:15 -0800 (PST) Received: from mf1.bredband.net (mf1.bredband.net [195.54.106.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 613CC43F3F for ; Mon, 3 Mar 2003 18:10:14 -0800 (PST) (envelope-from mk-freebsd@bredband.net) Received: from c-483a70d5.036-23-6f72652.cust.bredbandsbolaget.se ([213.112.58.72]) by mf1.bredband.net with ESMTP id <20030304021013.YNOD269.mf1@c-483a70d5.036-23-6f72652.cust.bredbandsbolaget.se>; Tue, 4 Mar 2003 03:10:13 +0100 Received: by c-483a70d5.036-23-6f72652.cust.bredbandsbolaget.se (Postfix, from userid 1001) id 20C7B2E027; Tue, 4 Mar 2003 03:10:13 +0100 (CET) Date: Tue, 4 Mar 2003 03:10:13 +0100 From: Martin Karlsson To: Martin Karlsson Cc: Hostmaster@Video2Video.Com, questions@freebsd.org, sdbug@sdbug.org Subject: Please ignore (Was: Re: SBC DSL vs Fbsd 4.7 PPPoE?) Message-ID: <20030304021013.GA59850@c-483a70d5.036-23-6f72652.cust.bredbandsbolaget.se> Mail-Followup-To: Martin Karlsson , Hostmaster@Video2Video.Com, questions@freebsd.org, sdbug@sdbug.org References: <20030304010550.F214264C2E@mail.cloud9.net> <20030304020104.GJ1487@c-483a70d5.036-23-6f72652.cust.bredbandsbolaget.se> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20030304020104.GJ1487@c-483a70d5.036-23-6f72652.cust.bredbandsbolaget.se> X-Powered-by: FreeBSD User-Agent: Mutt/1.5.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Martin Karlsson [2003-03-04 03.01 +0100]: > > * Hostmaster@Video2Video.Com [2003-03-03 17.05 -0800]: > [SNIP] > > Also, how do I know what hostname to set in my rc.conf file ... before > > I've been assigned a dynamic IP?? > > Hi. Using DHCP you should be assigned a hostname automatically. No > need to set HOSTNAME manually in /etc/rc.conf. > > If not assigned one (sadly, this happens with some ISPs), > whip up a script that finds your IP in /var/db/dhclient.leases and > runs it through host(1) and then sets it as your hostname. > Have it run on startup by naming it whatever.sh, make it executable > and put it in /usr/local/etc/rc.d. Sorry, I see now you're asking about something else. *blushes* -- Martin Karlsson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message