From owner-freebsd-questions@FreeBSD.ORG Mon Jul 17 13:47:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1C7E16A4DA for ; Mon, 17 Jul 2006 13:47:17 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C354543D6E for ; Mon, 17 Jul 2006 13:47:08 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 17919 invoked from network); 17 Jul 2006 13:47:08 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Jul 2006 13:47:08 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id A3F6428449; Mon, 17 Jul 2006 09:47:07 -0400 (EDT) To: Chris Hill References: <20060716202133.E13176@tripel.monochrome.org> <44wtad3uue.fsf@be-well.ilk.org> <20060716211249.I13176@tripel.monochrome.org> From: Lowell Gilbert Date: Mon, 17 Jul 2006 09:47:07 -0400 In-Reply-To: <20060716211249.I13176@tripel.monochrome.org> (Chris Hill's message of "Sun, 16 Jul 2006 21:34:45 -0400 (EDT)") Message-ID: <44sll0ny1w.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Start dhcpd on boot 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: Mon, 17 Jul 2006 13:47:17 -0000 Chris Hill writes: > On Sun, 16 Jul 2006, Lowell Gilbert wrote: > >> Chris Hill writes: >>> Again, the issue is *not* that dhcpd doesn't work - IT WORKS >>> PERFECTLY. The issue is that the daemon doesn't start when the >>> machine boots. >> >> Can you use the startup script to start it by hand? > > Yes. As I said in the original post, > "After boot I can do a > # /usr/local/etc/rc.d/isc-dhcpd.sh start > ...and the daemon runs and works" Oops. Sorry I missed that. Well, it almost *has* to be something small and silly, then. What you have configured is almost exactly the same as what works for me. My settings come directly out of the pkg-message for the port, and are: # ### recommended settings for running isc-dhcpd dhcpd_enable="YES" dhcpd_flags="-q" # command option(s) dhcpd_conf="/usr/local/etc/dhcpd.conf" # configuration file dhcpd_ifaces="vr0" # ethernet interface(s) dhcpd_withumask="022" # file creation mask Assuming that other scripts from that directory are starting properly, my next step would be to inject debugging output into the script and look at what actually gets printed to the console at boot. If you haven't looked at the existing console output already, that may have some messages that didn't go into any log files. Good luck, and sorry I can't be more helpful. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/