It seems that dchp3-server is trying to start during normal boot, but it fails, here it is my syslog:
Code:
Mar 15 11:31:58 domlevski dhcpd: Internet Systems Consortium DHCP Server V3.1.1
Mar 15 11:31:58 domlevski dhcpd: Copyright 2004-2008 Internet Systems Consortium.
Mar 15 11:31:58 domlevski dhcpd: All rights reserved.
Mar 15 11:31:58 domlevski dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Mar 15 11:31:58 domlevski dhcpd: Wrote 1 leases to leases file.
Mar 15 11:31:58 domlevski dhcpd:
Mar 15 11:31:58 domlevski dhcpd: Not configured to listen on any interfaces!
The /etc/ltsp/dhcpd.conf file is setup correctly:
Code:
#
# Default LTSP dhcpd.conf config file.
#
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.20 192.168.1.50;
option domain-name "example.com";
option domain-name-servers 192.168.1.1;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
# next-server 192.168.0.1;
# get-lease-hostnames true;
option subnet-mask 255.255.255.0;
option root-path "/opt/ltsp/i386";
if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
filename "/ltsp/i386/pxelinux.0";
} else {
filename "/ltsp/i386/nbi.img";
}
}
I found a thread where they advise to edit the /etc/default/dhcp3-server file and add the correct interface:
Code:
# Find this line
... INTERFACES=""
# Replace with the following line
INTERFACES="eth0"
in my case it is eth2.
I did this but then the syslog says:
Code:
dhcpd: Internet Systems Consortium DHCP Server V3.1.1
Mar 15 11:21:28 domlevski dhcpd: Copyright 2004-2008 Internet Systems Consortium.
Mar 15 11:21:28 domlevski dhcpd: All rights reserved.
Mar 15 11:21:28 domlevski dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Mar 15 11:21:28 domlevski dhcpd: Wrote 1 leases to leases file.
Mar 15 11:21:28 domlevski dhcpd:
Mar 15 11:21:28 domlevski dhcpd: No subnet declaration for eth2 (0.0.0.0).
Mar 15 11:21:28 domlevski dhcpd: ** Ignoring requests on eth2. If this is not what
Mar 15 11:21:28 domlevski dhcpd: you want, please write a subnet declaration
Mar 15 11:21:28 domlevski dhcpd: in your dhcpd.conf file for the network segment
Mar 15 11:21:28 domlevski dhcpd: to which interface eth2 is attached. **
Mar 15 11:21:28 domlevski dhcpd:
Mar 15 11:21:28 domlevski dhcpd:
Mar 15 11:21:28 domlevski dhcpd: Not configured to listen on any interfaces!
What I need to do?
Bookmarks