From owner-freebsd-stable@FreeBSD.ORG Sun Nov 27 19:56:47 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1742C16A41F for ; Sun, 27 Nov 2005 19:56:47 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 831BA43D78 for ; Sun, 27 Nov 2005 19:56:37 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by wproxy.gmail.com with SMTP id i30so1572493wra for ; Sun, 27 Nov 2005 11:56:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=av2hZQJKUOsuWn7QDyDPBapcOo6hypaCE716wMp+xvxNNIYiDuRDP3JpJ9PFzDG6nlqxy3XmmrbwI8SU3FneYfPyE5SCRIhymF9cbXXowMXDHUG2Oi/+axwRXJbgNuXOtvnDjmOKOmTdfB6MDmVj52f4RREHWA7XsSTjMKqj8ko= Received: by 10.54.100.6 with SMTP id x6mr1108789wrb; Sun, 27 Nov 2005 11:56:35 -0800 (PST) Received: from ?192.168.1.10? ( [71.102.14.129]) by mx.gmail.com with ESMTP id 39sm2531164wrl.2005.11.27.11.56.34; Sun, 27 Nov 2005 11:56:35 -0800 (PST) From: "Michael C. Shultz" To: freebsd-stable@freebsd.org Date: Sun, 27 Nov 2005 11:46:59 -0800 User-Agent: KMail/1.8.3 References: <438A0FBE.7090408@sbcglobal.net> In-Reply-To: <438A0FBE.7090408@sbcglobal.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511271147.00383.ringworm01@gmail.com> Cc: Mark Space Subject: Re: Handbook DHCPD needs update? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 19:56:47 -0000 On Sunday 27 November 2005 11:57, Mark Space wrote: > (This missive is going to both freebsd-stable and freebsd-doc.) > > Hi all, I just got done setting up my brand spankin' new FreeBSD 6 > (release) server for DHCPD, and I found an ommision in the online > handbook. I'm a newbie at FreeBSD but I'm pretty sure about this. > > In short, the handbook never mentions that one needs to add the > following lines to /etc/rc.conf: > > dhcpd_enable="YES" > dhcpd_ifaces="dc0" > > If one doesn't do that, the script that the handbook says to use to > start dhcpd won't work, even if you do it manually as the handbook > instructs: > > # /usr/local/etc/rc.d/isc-dhcpd.sh start > > > This won't work. This script snarfs values out of /etc/rc.conf, and > the default (in the script above) for dhcpd_enable is NO. Hence the > script alone won't start anything. (When you check the handbook, make > sure you scrolldown to section 24.5.7. The first part of the DHCP > section explains how to set up the client (dhclient). That part does > have the correct setup for /etc/rc.conf. Scroll down to the server > section, dhcpd, to see what I'm talknin' about.) > > Anyhoo, what's the best way to fix this? I could submit a patch, but it > might be faster for someone else. I've never submitted a patch to the > documentation. > > Peace, out. Might be better to post this in freebsd-doc@freebsd.org -Mike