Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-14-2005, 10:05 AM   #1
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
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"
Old 08-14-2005, 10:12 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
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";
Old 08-14-2005, 11:13 AM   #3
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Original Poster
Rep: Reputation: 30
Alright, thanks it worked


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Parsing Config file for X chiefreborn SUSE / openSUSE 5 08-31-2005 06:30 PM
Error when loading Patrick's config file... JustinCoyan Slackware - Installation 8 07-08-2005 04:02 AM
Where can I find Fedora Core 2's DHCP servers config file? tlawlessrr Fedora 2 07-29-2004 11:08 PM
need help w/ config file for DHCP on RedHat 7.2 The Mighty Pen Linux - Networking 0 03-05-2004 12:40 AM
mrtg: error in Config file line 18 Boudewijn Linux - Software 0 12-08-2003 06:28 AM

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration