From owner-freebsd-questions Thu Mar 15 8:51:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freyr.cba.ualr.edu (freyr.cba.ualr.edu [144.167.120.20]) by hub.freebsd.org (Postfix) with ESMTP id E51BB37B718 for ; Thu, 15 Mar 2001 08:51:11 -0800 (PST) (envelope-from joe@freyr.cba.ualr.edu) Received: by freyr.cba.ualr.edu (Postfix, from userid 1000) id 14736248; Thu, 15 Mar 2001 10:51:48 -0600 (CST) Date: Thu, 15 Mar 2001 10:51:47 -0600 From: "Joseph E. Royce" To: FreeBSD mailing list Cc: freebsd-questions@FreeBSD.ORG Subject: Re: dhcpd Message-ID: <20010315105147.A12088@freyr.cba.ualr.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bsd@righi.df.unibo.it on Thu, Mar 15, 2001 at 05:47:05PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Mar 15, 2001 at 05:47:05PM +0100, FreeBSD mailing list wrote: > > Hello I installed dhcpd from ports. > I was used to the dhcpd of OpenBSD and I was a little bit in difficulty. > This isc-dhcps asks me for a lease file which I do not seem to have on > OpenBSD, I Thought that it was enough to dhcpd -cf /usr/local/etc/dhcpd.conf > but the program exists. > Anyone could help me a little with some hint ? > thanks > > Rick > Hi Rick, dhcpd.leases is the database file used by dhcpd to store lease information. On FreeBSD, it's stored in /var/db. Just do a "touch /var/db/dhcpd.leases" at the command prompt and it should solve your problem. "man 5 dhcpd.leases" for more info. -Joe R. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message