Hallo erstmal,
ich hoffe hier bin ich richtig und nerve nicht aber ich hab da ein kleines Problem mit folgender Konfiguration:
# dhcpd.conf
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.123.255;
option routers 192.168.123.254;
option domain-name-servers 192.168.123.5;
option domain-name "Ferret.priv";
get-lease-hostnames true;
next-server 192.168.123.5;
option root-path "192.168.123.5:/opt/ltsp/i386";
subnet 192.168.123.0 netmask 255.255.255.0 {
range 192.168.123.1 192.168.123.100;
if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
filename "/tftpboot/lts/2.4.26-ltsp-3/pxelinux.0";
}
else{
filename "/tftpboot/lts/vmlinuz-2.4.26-ltsp-3";
}
}
beim Start des DHCP erscheint im Syslog folgender Fehler:
Mar 19 10:04:08 localhost dhcpd: /etc/dhcpd.conf line 16: expecting a parameter or declaration.
Mar 19 10:04:08 localhost dhcpd: if
Mar 19 10:04:08 localhost dhcpd: ^
Mar 19 10:04:08 localhost dhcpd: /etc/dhcpd.conf line 19: expecting a parameter or declaration.
Mar 19 10:04:08 localhost dhcpd: else{
Mar 19 10:04:08 localhost dhcpd: ^
Mar 19 10:04:08 localhost dhcpd: Configuration file errors encountered -- exiting
Mar 19 10:04:08 localhost dhcpd: exiting.
hat jemand einen Tip fuer mich ?
Wenn ich die Abfrage nicht stelle, und nur filename "/tftpboot/lts/vmlinuz-2.4.26-ltsp-3"; angebe, funktioniert alles einwandfrei.
Ach ja,
ich benutze Debian Sarge 3.1
Vielen Dank fuer eure Hilfe.
Gruss
Manfred
ich hoffe hier bin ich richtig und nerve nicht aber ich hab da ein kleines Problem mit folgender Konfiguration:
# dhcpd.conf
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.123.255;
option routers 192.168.123.254;
option domain-name-servers 192.168.123.5;
option domain-name "Ferret.priv";
get-lease-hostnames true;
next-server 192.168.123.5;
option root-path "192.168.123.5:/opt/ltsp/i386";
subnet 192.168.123.0 netmask 255.255.255.0 {
range 192.168.123.1 192.168.123.100;
if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
filename "/tftpboot/lts/2.4.26-ltsp-3/pxelinux.0";
}
else{
filename "/tftpboot/lts/vmlinuz-2.4.26-ltsp-3";
}
}
beim Start des DHCP erscheint im Syslog folgender Fehler:
Mar 19 10:04:08 localhost dhcpd: /etc/dhcpd.conf line 16: expecting a parameter or declaration.
Mar 19 10:04:08 localhost dhcpd: if
Mar 19 10:04:08 localhost dhcpd: ^
Mar 19 10:04:08 localhost dhcpd: /etc/dhcpd.conf line 19: expecting a parameter or declaration.
Mar 19 10:04:08 localhost dhcpd: else{
Mar 19 10:04:08 localhost dhcpd: ^
Mar 19 10:04:08 localhost dhcpd: Configuration file errors encountered -- exiting
Mar 19 10:04:08 localhost dhcpd: exiting.
hat jemand einen Tip fuer mich ?
Wenn ich die Abfrage nicht stelle, und nur filename "/tftpboot/lts/vmlinuz-2.4.26-ltsp-3"; angebe, funktioniert alles einwandfrei.
Ach ja,
ich benutze Debian Sarge 3.1
Vielen Dank fuer eure Hilfe.
Gruss
Manfred