Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2003 12:50:46 -0000
From:      "G D McKee" <freebsd@gdmckee.com>
To:        "Freebsd-Questions@Freebsd. Org (E-mail)" <freebsd-questions@freebsd.org>
Subject:   DHCPD 3 R11 Config Errors
Message-ID:  <021501c2bef0$382962a0$c800a8c0@p1000>

next in thread | raw e-mail | index | archive | help
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

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?021501c2bef0$382962a0$c800a8c0>