From owner-freebsd-net@FreeBSD.ORG Mon Oct 23 21:36:02 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 CFB5116A412; Mon, 23 Oct 2006 21:36:02 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from claire.ber.rewt.org.uk (claire.ber.rewt.org.uk [217.160.200.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6291143D69; Mon, 23 Oct 2006 21:35:56 +0000 (GMT) (envelope-from joe@joeholden.co.uk) Received: from localhost (localhost [127.0.0.1]) by claire.ber.rewt.org.uk (Postfix) with ESMTP id C1AB0140036B; Mon, 23 Oct 2006 22:35:54 +0100 (BST) X-Virus-Scanned: Scanned at claire.ber.rewt.org.uk Received: from claire.ber.rewt.org.uk ([127.0.0.1]) by localhost (claire.ber.rewt.org.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TTyGZPFPB3aj; Mon, 23 Oct 2006 22:35:46 +0100 (BST) Received: from [82.152.108.189] (dyn189.stf.rewt.org.uk [82.152.108.189]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: joe) by claire.ber.rewt.org.uk (Postfix) with ESMTP id 2E22F1400343; Mon, 23 Oct 2006 22:35:46 +0100 (BST) Message-ID: <453D35AB.3000908@joeholden.co.uk> Date: Mon, 23 Oct 2006 22:35:39 +0100 From: Joe Holden User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: "Andrey V. Elsukov" References: <453C0E42.4010604@joeholden.co.uk> <453C5386.5080102@FreeBSD.org> <453C5979.4050408@yandex.ru> In-Reply-To: <453C5979.4050408@yandex.ru> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: Doug Barton , 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: joe@joeholden.co.uk List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2006 21:36:02 -0000 Andrey V. Elsukov wrote: > Doug Barton wrote: >> If you're talking about a laptop where you're not sure what the DHCP >> server is going to send you, then I have this in /etc/rc.local: > > Hi, Doug. > > What you think about adding a new feature to dhclient - Alternate IP > Configuration. This configuration can be specified in dhclient.conf > and take effect when a DHCP server not respond. MS Windows have a > similar feature. > Really I was hoping dhclient would have this sort of functionality where it would resolve the ip given and set that as hostname, as as far as im aware, isc-dhcpd will not send hostnames? Ta, Joe