Slackware 13.0 DHCP server - Configuration file errors encountered
Hi!
Have come to a dead end here...
I'm trying to set up a PXE boot server on a PC running Slackware 13.0 using the default apps and info shipped with that Slackware version but to no avail...
Carefully reading the Slackware 13.0 README_PXE I've put together this
dhcpd.conf file:
# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
#
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
ddns-update-style none
group {
allow bootp;
next-server 192.168.0.1;
use-host-decl-names on;
if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
filename "/slackware-13.0/pxelinux.0";
}
host dhcp_server_pc {
hardware ethernet 00:12:34:56:78:9a;
fixed-address 192.168.0.3;
}
}
# Default lease is 1 week (604800 sec.)
default-lease-time 604800;
# Max lease is 4 weeks (2419200 sec.)
max-lease-time 2419200;
subnet 192.168.0.0 netmask 255.255.255.0 {
option domain-name "my.lan";
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.0.1;
option routers 192.168.0.10;
range dynamic-bootp 192.168.0.50 192.168.0.100;
use-host-decl-names on;
if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
filename "/slackware-13.0/pxelinux.0";
}
}
Problem is, when running /etc/rc.d/rc.dhcpd, I get this error message:
/etc/dhcpd.conf line 11: semicolon expected.
group
^
/etc/dhcpd.conf line 37: expecting a parameter or declaration
}
^
Configuration file errors encountered -- exiting
I really have no idea what's causing this? The above dhcpd.conf is pretty much copied right out of the Slackware 13.0 README_PXE, I just changed the host name to the name of the pc where the DHCP server is
(supposed to be) running. So it should work but it doesn't.
Anyone got some idea?
|