LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dhcpd.conf (not listening error) (https://www.linuxquestions.org/questions/linux-newbie-8/dhcpd-conf-not-listening-error-103895/)

SWAT 10-14-2003 02:12 PM

DHCPd problems (config file is OK) PLZ HELP!
 
When I type "/usr/sbin/dhcpd start" I get this error message

Internet Software Consortium DHCP Server V3.0.1rc12
Copyright 1995-2003 Internet Software Consortium.
All rights reserved.
For info, please visit isc.org/products/DHCP
Wrote 0 leases to leases file.
No subnet declaration for start (0.0.0.0).
** Ignoring requests on start. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface start is attached. **
Not configured to listen on any interfaces!
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.


When I type "/usr/sbin/dhcpd eth0" the DHCP daemon starts good (haven't tested it yet). But I want it to work 'normally'. I'm using Debian Woody.

This is my dhcpd.conf file
default-lease-time 6000;
max-lease-time 720000;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
#option routers 192.168.1.1;
#option domain-name-servers 192.168.1.1, 192.168.1.2;
#option domain-name "example.com";
ddns-update-style ad-hoc;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
}

SWAT 10-15-2003 03:02 AM

What I forgot to add is that when I type "/usr/sbin/dhcpd eth0" the daemon starts, but I can't stop it with "/usr/sbin/dhcpd stop"
I just want my DHCPd working with the 'normal' start and stop commands.

Please help!!!!!!!!!!!!!!!

SWAT 11-11-2003 03:22 AM

I have a eth0 and a ppp0


All times are GMT -5. The time now is 12:16 AM.