From owner-freebsd-questions Thu Dec 19 10:45:22 2002 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 77E3B37B401 for ; Thu, 19 Dec 2002 10:45:18 -0800 (PST) Received: from blueyonder.co.uk (pcow057o.blueyonder.co.uk [195.188.53.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A3E643EC2 for ; Thu, 19 Dec 2002 10:45:17 -0800 (PST) (envelope-from freebsd@gdmckee.com) Received: from gdmckee.local ([62.30.47.46]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.757.75); Thu, 19 Dec 2002 18:45:16 +0000 Received: from [192.168.0.200] (helo=p1000) by gdmckee.local with smtp (Exim 3.36 #1) id 18P5fK-000EvV-00; Thu, 19 Dec 2002 18:45:02 +0000 Message-ID: <007b01c2a78e$d2b8b470$c800a8c0@p1000> From: "G D McKee" To: "Moti Levy" Cc: "Freebsd-Questions@Freebsd. Org (E-mail)" References: <003d01c2a783$78678600$c800a8c0@p1000> <3E020324.9080508@flncs.com> Subject: Re: DHCPD 3 Date: Thu, 19 Dec 2002 18:45:37 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 Hi My dhcpd config file is as follows: greeneville# vi /usr/local/etc/dhcpd.conf # $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; #failover peer "gdm" { #primary; #address greeneville.gdmckee.local; #port 519; #peer address kursk.gdmckee.local; #peer port 520; #max-response-delay 60; #max-unacked-updates 10; #mclt 3600; #split 128; #load balance max seconds 3; #} 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; #pool { #failover peer "gdm" ; #deny dynamic bootp clients ; 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; } #host diskless { # hardware ethernet 00:B0:D0:23:4F:E8; # fixed-address 192.168.0.50; # filename "/tftpboot/disklesskernel"; # option root-path "192.168.0.2:/usr/diskless/rootfs"; #} #} } subnet 62.30.209.0 netmask 255.255.255.0 { } Trust this helps!! Many thanks once again. Gordon ----- Original Message ----- From: "Moti Levy" To: "G D McKee" Cc: "Freebsd-Questions@Freebsd. Org (E-mail)" Sent: Thursday, December 19, 2002 5:34 PM Subject: Re: DHCPD 3 > G D McKee wrote: > > >Hi > > > >I have been running this for a while and I get the following error every > >time I start dhcpd as below. If I hit enter at the password if goes past > >and dies. If I kill it off at boot I can do a dhcpd and the server starts > >up fine. How can I resolve this - it is a pain when I reboot the box and > >forget to manually start dhcpd!!! > > > >greeneville# /usr/local/etc/rc.d/isc-dhcpd.sh start > >ddns-update-style: not found > >subnet: not found > >option: not found > >option: not found > >option: not found > >option: not found > >option: not found > >range: not found > >Reminder - Do not use this program while logged in via telnet or rlogin. > >Enter secret password: > >ROOF LYE OF ARID SONG LEW > >algorithm: not found > >secret: not found > >/usr/local/etc/rc.isc-dhcpd.conf: 39: Syntax error: "}" unexpected > >greeneville# > > > >Many thanks > > > >Gordon > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > > well > your dhcpd.conf had an error in it > probably you dont have a "}" on line 39 .... > post the file and we might have a more precise explantion > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message