From owner-freebsd-net@FreeBSD.ORG Tue Oct 24 07:16:11 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5768C16A403; Tue, 24 Oct 2006 07:16:11 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp-3.dlr.de (smtp-3.dlr.de [195.37.61.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2649C43D46; Tue, 24 Oct 2006 07:16:08 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from knop-beagle.kn.op.dlr.de ([129.247.173.6]) by smtp-3.dlr.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Tue, 24 Oct 2006 09:16:06 +0200 Date: Tue, 24 Oct 2006 09:16:07 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt_h@knop-beagle.kn.op.dlr.de To: Joe Holden In-Reply-To: <453D35AB.3000908@joeholden.co.uk> Message-ID: <20061024091523.G45134@knop-beagle.kn.op.dlr.de> References: <453C0E42.4010604@joeholden.co.uk> <453C5386.5080102@FreeBSD.org> <453C5979.4050408@yandex.ru> <453D35AB.3000908@joeholden.co.uk> X-OpenPGP-Key: harti@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 24 Oct 2006 07:16:06.0587 (UTC) FILETIME=[45AF90B0:01C6F73C] Cc: Doug Barton , "Andrey V. Elsukov" , net@freebsd.org Subject: Re: Instructing dhclient to set hostname of client X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Harti Brandt List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2006 07:16:11 -0000 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