From owner-freebsd-questions Mon Mar 3 18: 1: 8 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 53FDE37B401 for ; Mon, 3 Mar 2003 18:01:07 -0800 (PST) Received: from mf2.bredband.net (mf2.bredband.net [195.54.106.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBDC243FDF for ; Mon, 3 Mar 2003 18:01:05 -0800 (PST) (envelope-from mk-freebsd@bredband.net) Received: from c-483a70d5.036-23-6f72652.cust.bredbandsbolaget.se ([213.112.58.72]) by mf2.bredband.net with ESMTP id <20030304020105.ZERX273.mf2@c-483a70d5.036-23-6f72652.cust.bredbandsbolaget.se>; Tue, 4 Mar 2003 03:01:05 +0100 Received: by c-483a70d5.036-23-6f72652.cust.bredbandsbolaget.se (Postfix, from userid 1001) id 793F52E027; Tue, 4 Mar 2003 03:01:04 +0100 (CET) Date: Tue, 4 Mar 2003 03:01:04 +0100 From: Martin Karlsson To: Hostmaster@Video2Video.Com Cc: questions@freebsd.org, sdbug@sdbug.org Subject: Re: SBC DSL vs Fbsd 4.7 PPPoE? Message-ID: <20030304020104.GJ1487@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> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20030304010550.F214264C2E@mail.cloud9.net> 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 * 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. HTH -- Martin Karlsson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message