• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

DHCP will einfach nicht !!!

Switchit

Newbie
Hallo erstmal,

Wollte mir ein LTSP Server unter Suse Linux 10.1 einrichten hat auch alles super geklappt bis auf den DHCP wenn ich den starten will dann spuckt er mir ne Fehler Meldung aus mit der ich nicht allzu viel anfangen kann(Linux anfänger ^^).

Ich poste hier mal meine Dhcpd.conf und meine darauffolgende Fehlermeldung die immer erscheint wenn ich ihn starten will. Die dhcpd.conf habe ich mit dem ltspadmin tool erstellen lassen.

DHCP.CONF :


option subnet-mask 255.255.255.0;
option broadcast-address 192.168.178.255;
option option-128 code 128 = string;
option option-129 code 129 = text;
option root-path "192.168.178.20:/opt/ltsp/i386";
option domain-name-servers 192.168.178.20;
option routers 192.168.178.20;
# dhcpd.conf
ddns-update-style ad-hoc;
get-lease-hostnames 1;
next-server 192.168.178.20;
default-lease-time 14400;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.199;
if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
filename "/lts/2.6.16.1-ltsp-1/pxelinux.0";
}
else {
filename "/lts/vmlinuz-2.6.16.1-ltsp-1";
}
}



DIE FEHLERMEDLUNG:


Martin:/etc/init.d # ./dhcpd restart
Shutting down DHCP server done
Starting DHCP server Internet Systems Consortium DHCP Server V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
/var/lib/dhcp///etc/dhcpd.conf line 10: expecting identifier.
get-lease-hostnames 1;
^
/var/lib/dhcp///etc/dhcpd.conf line 10: expecting a parameter or declaration
get-lease-hostnames 1;
^
Configuration file errors encountered -- exiting

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
failed
Martin:/etc/init.d #


Ich hoffe ihr versteht davon etwas mehr wie ich und könnt mir dabei helfen das ding zum LAUFEN zu bringen :lol:
 
OP
S

Switchit

Newbie
Also mein DHCP läuft jetzt :D
Danke für die schnelle antwort
Habe aber jetzt noch ein Problem wenn ich einen client anschließe dann vergibt er keine IPs also erfüllt er seinen sinn nicht ganz....
Muss ich in der Dhcpd.conf die Pcs mit der mac adresse definieren oder kann ich ihm sagen das er das vollautomatisch machen soll, also das ich keine mac adressen eintragen muss???
 
Oben