So I've got dhcpd.conf configured as it seems I should in the documentation. I've put my own ip address and what not in there (internal network) and we're not actually using dhcp for anyhting so I set up the terminal I've got with a macaddress and ip address per the documentation, or at least I think I have done all that.

When I try to restart dhcpd I get the following error:
*****
[EMAIL PROTECTED] init.d]# /etc/rc.d/init.d/dhcpd restart
Shutting down dhcpd                                        [FAILED]
Starting dhcpd: /etc/dhcpd.conf line 7: expecting a parameter or declaration.
ddns-update-style
^
/etc/dhcpd.conf line 20: expecting string or hexadecimal data.
option option-128 code
      ^
/etc/dhcpd.conf line 21: expecting string or hexadecimal data.
option option-129 code
      ^
Configuration file errors encountered -- exiting
exiting.
                                                          [FAILED]
*****

I tried to comment out lines 20 and 21. I still got the errors from line 7. if I comment out line seven I get:
*****
[EMAIL PROTECTED] init.d]# /etc/rc.d/init.d/dhcpd restart
Shutting down dhcpd                                        [FAILED]
Starting dhcpd: Can't create new lease file: Permission denied
exiting.
                                                          [FAILED]
*****

Below is my dhcpd.conf file. Sorry for the long.

*****
#
# Sample configuration file for ISC dhcpd
#
# Make changes to this file and copy it to /etc/dhcpd.conf
#

ddns-update-style            none;

default-lease-time           21600;
max-lease-time               21600;

option subnet-mask           255.255.255.0;
option broadcast-address     100.100.100.255;
option routers               100.100.100.25;
option domain-name-servers   100.100.100.25;
option domain-name           "ltsp";          # <--Fix this domain name

option root-path             "100.100.100.25:/opt/ltsp/i386";

option option-128 code 128 = string;
option option-129 code 129 = text;

subnet 100.100.100.0 netmask 255.255.255.0 {
   use-host-decl-names      on;
   option log-servers       100.100.100.25;


##
## If you want to use static IP address for your workstations, then un-comment
## the following section and modify to suit your network.
## Then, duplicate this section for each workstation that needs a static
## IP address.

   host ws001 {
       hardware ethernet    90:12:02:50:D7:51;
       fixed-address        100.100.100.1;
       filename             "/tftpboot/lts/vmlinuz-2.4.26-ltsp-1";
   }

##
## If you want to use a dynamic pool of addresses, then un-comment the following
## lines and modify to match your network.
##
##    subnet  192.168.0.0 netmask 255.255.255.0 {
##        range dynamic-bootp 192.168.0.1 192.168.0.253;
##    }
##
}

#
# If you need to pass parameters on the kernel command line, you can
# do it with option-129.  In order for Etherboot to look at option-129,
# you MUST have option-128 set to a specific value.  The value is a
# special Etherboot signature of 'e4:45:74:68:00:00'.
#
# Add these two lines to the host entry that needs kernel parameters
#
#        option option-128     e4:45:74:68:00:00;       # NOT a mac address
#        option option-129     "NIC=ne IO=0x300";
#
*****

So.  Thoughts?  Am I missing somehting.

--

joe auerbach
systems administrator
pcb / rossman and co
614-523-4150
[EMAIL PROTECTED]



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
     https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to