LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-14-2005, 10:05 AM   #1
linux-rulz
Member
 
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 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.155;
option domain-name-servers 192.168.2.155;
option domain-name "ltsp.org";
option root-path "192.168.2.155:/opt/ltsp/i386";

shared-network WORKSTATIONS {
subnet 192.168.2.0 netmask 255.255.255.0 {
}
}

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

host ws001 {
hardware ethernet 00:48:54:6E:B7:46;
fixed-address 192.168.2.222;
filename "/lts/vmlinuz-2.4.26-ltsp-3"
}
}
 
Old 08-14-2005, 10:12 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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

To:
filename "/lts/vmlinuz-2.4.26-ltsp-3";
 
Old 08-14-2005, 11:13 AM   #3
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

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


Reply


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/Novell 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 10:49 PM.

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