Image

Imageanivair wrote in Imagelinux nap-time

Listens: some fusion thing recommended by corvidean

dhcpd startup

So here's an issue that I can't solve. I'm trying to run LTSP (see linux format from May 05 for details or ltsp.org). I've got all the packages installed (or so I thought). I needed DHCPD, which, as it turns out, was just DHCP server. I got it. I can't make it work. That si the daemon won't start.

I asked the ltsp lists and they suggested I download version 3. So I got dhcp3-3.0b1pl0-4.i386.rpm and ran it. Still no good. Is there somehting I need to do to make this version take over for the other version, maybe? I'm getting the same errors now.

below is a transcript of my orighional problem.

-----

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:
*****

[root@localhost 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:
*****

[root@localhost 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.