From owner-freebsd-questions@FreeBSD.ORG Fri May 8 11:47:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93DCA106566C for ; Fri, 8 May 2009 11:47:15 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 2771A8FC1F for ; Fri, 8 May 2009 11:47:15 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.3/8.14.3) with ESMTP id n48BlK6G094811; Fri, 8 May 2009 06:47:21 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20090508064144.026c0fe0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 08 May 2009 06:46:49 -0500 To: Pieter Donche , "mail.list freebsd-questions" From: Derek Ragona In-Reply-To: References: Mime-Version: 1.0 X-Antivirus: avast! (VPS 090507-0, 05/07/2009), Outbound message X-Antivirus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: n48BlK6G094811 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: isc-dhcpd server, HOSTNAME X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2009 11:47:16 -0000 At 09:42 AM 5/7/2009, Pieter Donche wrote: >FreeBSD7 with isc-dhcp30-server. >It hands out an IP address, OK, >but the BASH environment variable HOSTNAME is not set. Why? > >(A DNS server is active on the network and can succesfully be queried from >a FreeBSD bash command (nslookup or host) to see the hostname associated >with the IP-address) I have a later version of dhcpd running on FreeBSD without problems. If your DHCP scope is setup correctly and your DHCP clients are getting settings that work, I'm not sure what is the problem you are experiencing. You hostname variable can be set in the startup bash (or any other shell's startup scripts) scripts on login. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.