From owner-freebsd-questions Sat Jan 18 12:21:54 2003 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 026CD37B401 for ; Sat, 18 Jan 2003 12:21:51 -0800 (PST) Received: from truman.datasphereweb.com (12-231-81-122.client.attbi.com [12.231.81.122]) by mx1.FreeBSD.org (Postfix) with SMTP id 2E1AA43ED8 for ; Sat, 18 Jan 2003 12:21:50 -0800 (PST) (envelope-from ryallsd@datasphereweb.com) Received: (qmail 17050 invoked from network); 18 Jan 2003 20:21:49 -0000 Received: from 12-229-238-38.client.attbi.com (HELO bartxp) (12.229.238.38) by 12-231-81-122.client.attbi.com with SMTP; 18 Jan 2003 20:21:49 -0000 From: "Derrick Ryalls" To: "'Freebsd-Questions@Freebsd. Org (E-mail)'" Subject: RE: DHCPD 3 R11 Config Errors Date: Sat, 18 Jan 2003 12:21:38 -0800 Message-ID: <000601c2bf2f$38114820$0200a8c0@bartxp> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <021501c2bef0$382962a0$c800a8c0@p1000> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of G D McKee > Sent: Saturday, January 18, 2003 4:51 AM > To: Freebsd-Questions@Freebsd. Org (E-mail) > Subject: DHCPD 3 R11 Config Errors > > > Hi > > recompiled dhcpd r11 today and thought my old config file > would work - and it doesn't. Can anyone see what is wrong? > > Here is the error: > > dhcpd > Internet Software Consortium DHCP Server V3.0.1rc11 > Copyright 1995-2003 Internet Software Consortium. > All rights reserved. > For info, please visit http://www.isc.org/products/DHCP > /usr/local/etc/dhcpd.conf line 7: semicolon expected. > dhcpd_ifaces "dc0" > ^ > /usr/local/etc/dhcpd.conf line 11: semicolon expected. > subnet > ^ > /usr/local/etc/dhcpd.conf line 34: expecting a parameter or > declaration > > ^ > Configuration file errors encountered -- exiting > > If you did not get this software from ftp.isc.org, please > get the latest from ftp.isc.org and install that before > requesting help. > > If you did get this software from ftp.isc.org and have not > yet read the README, please read it before requesting help. > If you intend to request help from the dhcp-server@isc.org > mailing list, please read the section on the README about > submitting bug reports and requests for help. > > Please do not under any circumstances send requests for > help directly to the authors of this software - please > send them to the appropriate mailing list as described in > the README file. > > exiting. > > > > and here is my config file: > > # $FreeBSD: > ports/net/isc-dhcp3/files/rc.isc-dhcpd.conf.sample,v 1.1 > 2001/10/15 13:33:15 roam Exp $ # # isc-dhcpd startup > configuration file. # > > #dhcpd_options="" # command option(s) > dhcpd_ifaces "dc0" ; # ethernet > interface(s) > > ddns-update-style interim Just a shot in the dark, but try terminating the above line with a ; > > subnet 192.168.0.0 netmask 255.255.255.0 { > option domain-name "gdmckee.local"; > option domain-name-servers 192.168.0.1, 192.168.0.2; > option broadcast-address 192.168.0.255; > option subnet-mask 255.255.255.0; > option routers 192.168.0.1; > range 192.168.0.55 192.168.0.200; > > key DHCP_UPDATER { > algorithm HMAC-MD5.SIG-ALG.REG.INT; > secret pRP5FapFoJ95JEL06sv4PQ==; > } > > zone gdmckee.local. { > primary 192.168.0.1; > key DHCP_UPDATER; > } > > zone 0.168.192.in-addr.arpa. { > primary 192.168.0.1; > key DHCP_UPDATER; > } > > } > > > May thanks > > Gordon > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message