Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2006 09:16:07 +0200 (CEST)
From:      Harti Brandt <hartmut.brandt@dlr.de>
To:        Joe Holden <joe@joeholden.co.uk>
Cc:        Doug Barton <dougb@FreeBSD.org>, "Andrey V. Elsukov" <bu7cher@yandex.ru>, net@freebsd.org
Subject:   Re: Instructing dhclient to set hostname of client
Message-ID:  <20061024091523.G45134@knop-beagle.kn.op.dlr.de>
In-Reply-To: <453D35AB.3000908@joeholden.co.uk>
References:  <453C0E42.4010604@joeholden.co.uk> <453C5386.5080102@FreeBSD.org> <453C5979.4050408@yandex.ru> <453D35AB.3000908@joeholden.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Oct 2006, Joe Holden wrote:

JH>Andrey V. Elsukov wrote:
JH>> Doug Barton wrote:
JH>>> If you're talking about a laptop where you're not sure what the DHCP
JH>>> server is going to send you, then I have this in /etc/rc.local:
JH>> 
JH>> Hi, Doug.
JH>> 
JH>> What you think about adding a new feature to dhclient - Alternate IP
JH>> Configuration. This configuration can be specified in dhclient.conf
JH>> and take effect when a DHCP server not respond. MS Windows have a
JH>> similar feature.
JH>> 
JH>Really I was hoping dhclient would have this sort of functionality where
JH>it would resolve the ip given and set that as hostname, as as far as im
JH>aware, isc-dhcpd will not send hostnames?

Sure it does. On my machines I set hostname to "" in rc.conf and let 
dhclient set it. Works fine.

harti



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061024091523.G45134>