Date: Thu, 19 Dec 2002 18:45:37 -0000 From: "G D McKee" <freebsd@gdmckee.com> To: "Moti Levy" <moti@flncs.com> Cc: "Freebsd-Questions@Freebsd. Org (E-mail)" <freebsd-questions@freebsd.org> Subject: Re: DHCPD 3 Message-ID: <007b01c2a78e$d2b8b470$c800a8c0@p1000> References: <003d01c2a783$78678600$c800a8c0@p1000> <3E020324.9080508@flncs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <moti@flncs.com>
To: "G D McKee" <freebsd@gdmckee.com>
Cc: "Freebsd-Questions@Freebsd. Org (E-mail)"
<freebsd-questions@freebsd.org>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007b01c2a78e$d2b8b470$c800a8c0>
