Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2003 23:18:45 -0400
From:      Rod Person <rod.person@hotpop.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Dynamic Hostname Assignment
Message-ID:  <20030725231845.2530275f.rod.person@hotpop.com>
In-Reply-To: <1059104955.630.25.camel@CPE-65-26-140-154.kc.rr.com>
References:  <1059098593.630.13.camel@CPE-65-26-140-154.kc.rr.com> <20030724233757.37012918.rod.person@hotpop.com> <1059104955.630.25.camel@CPE-65-26-140-154.kc.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25 Jul 2003 03:49:15 +0000
Shawn <drevil@warpcore.org> wrote:

> On Fri, 2003-07-25 at 03:37, Rod Person wrote:
> > I assume your isp uses DHCP. If so, did you try ifconfig_xl0="DHCP" in your /etc/rc.conf.
> 
> First that's already set, I selected DHCP configuration of the network
> interface during setup and installation. That's how my IP address gets
> assigned. It's only the hostname that isn't being dynamically assigned
> for some reason. This is what puzzles me because previous Linux
> distributions I've used have all done this without any extra
> intervention on my part.

Does you host name get set to anything at all? Did you accidently set the hostname in your rc.conf in /etc or /etc/defaults? If that not set may host name becomes a hostname set by DHCP which is a long string containing the ip address. Only if I've set hostname to something else do it give me something else.


-- 
Rod

@ Home So No Cool Signature
http://opensourcebeef.bsd.st



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030725231845.2530275f.rod.person>