-   Linux - Networking (
-   -   DHCP config file error (

linux-rulz 08-14-2005 11:05 AM

DHCP config file error
Hello all. I am currently having a problem with my /etc/dhcpd.conf file. The system-config-services tool on CentOS 4 won't allow me to restart the service, complaining about an unexpected end of file. I cannot see what the problem is looking at the file.I have attached it here. Can someone please have a look? Thx :)


local-port 1067;
default-lease-time 21600;
max-lease-time 21600;

option subnet-mask;
option broadcast-address;
option routers;
option domain-name-servers;
option domain-name "";
option root-path "";

shared-network WORKSTATIONS {
subnet netmask {

group {
use-host-decl-names on;
option log-servers;

host ws001 {
hardware ethernet 00:48:54:6E:B7:46;
filename "/lts/vmlinuz-2.4.26-ltsp-3"

david_ross 08-14-2005 11:12 AM

IIRC every entry must end in a ";" so you need to change
filename "/lts/vmlinuz-2.4.26-ltsp-3"

filename "/lts/vmlinuz-2.4.26-ltsp-3";

linux-rulz 08-14-2005 12:13 PM

Alright, thanks it worked :)

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