Date: Tue, 4 Mar 2003 03:10:13 +0100 From: Martin Karlsson <mk-freebsd@bredband.net> To: Martin Karlsson <mk-freebsd@bredband.net> 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> In-Reply-To: <20030304020104.GJ1487@c-483a70d5.036-23-6f72652.cust.bredbandsbolaget.se> References: <20030304010550.F214264C2E@mail.cloud9.net> <20030304020104.GJ1487@c-483a70d5.036-23-6f72652.cust.bredbandsbolaget.se>
next in thread | previous in thread | raw e-mail | index | archive | help
* Martin Karlsson <mk-freebsd@bredband.net> [2003-03-04 03.01 +0100]: > > * Hostmaster@Video2Video.Com <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030304021013.GA59850>