Brauche Hilfe beim Booten mit netstation!
Bootdiskette für Client ist erstellt (syslinux) und LTSP läuft auf dem Server
DHCP vergibt richtig die IP an den Client aber dann sagt er beim Hochfahren das er tftp File not found( nehme mal an das er den kernel sucht??)
In der DHCP config Datei hab ich aber das file zur verfügung gestellt!
Normaler Download per tftp klappt hab ich ausprobiert!
Woran kann es denn jetzt noch liegen??
Wäre über jeden Tip dankbar!
netstation
Re: netstation
Bist du dir sicher dass kernel liegt in der richtigen Verzeichniss z.B. /tftp
Was sagt .log? Wie ist tftpd konfiguriert ( auszug aus inetd.conf bzw. xinetd.conf)
CU
moses
Was sagt .log? Wie ist tftpd konfiguriert ( auszug aus inetd.conf bzw. xinetd.conf)
CU
moses
Re: netstation
In der inetd.conf des Servers steht:
tftp dgram udp wait root /usr/sbin/tcpd in.tftpd -s /tftpboot
bootps dgram udp wait root /usr/sbin/bootpd bootpd -c /tftpbootin
In der dhcpd.conf steht drin:
option domain-name-servers IP
.
.
option root-path "192.168.1.2:/opt/ltsp/i386";
option root-path "192.168.1.3:/opt/ltsp/i386";
.
.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.3;
default-lease-time 3600;
max-lease-time 7200;
filename "/vmlinuz";
}
Der Kernel liegt im Verzeichnis /tftpboot
und heißt vmlinuz
tftp dgram udp wait root /usr/sbin/tcpd in.tftpd -s /tftpboot
bootps dgram udp wait root /usr/sbin/bootpd bootpd -c /tftpbootin
In der dhcpd.conf steht drin:
option domain-name-servers IP
.
.
option root-path "192.168.1.2:/opt/ltsp/i386";
option root-path "192.168.1.3:/opt/ltsp/i386";
.
.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.3;
default-lease-time 3600;
max-lease-time 7200;
filename "/vmlinuz";
}
Der Kernel liegt im Verzeichnis /tftpboot
und heißt vmlinuz
Re: netstation
Ich glaube da liegt dein problem:
Du schreibst dass in dhcpd.conf
-----------snip------------------
filename "/vmlinuz";
^
-----------snap------------------
Soll das nicht einfach vmlinuz heissen und in /tftpbootin (wie in inetd.conf steht) liegen
CU
moses
Du schreibst dass in dhcpd.conf
-----------snip------------------
filename "/vmlinuz";
^
-----------snap------------------
Soll das nicht einfach vmlinuz heissen und in /tftpbootin (wie in inetd.conf steht) liegen
CU
moses
Re: netstation
/vmlinuz muß da rein weil sich durch den Eintrag in der inetd.conf:
tftp dgram udp wait root /usr/sbin/tcpd in.tftpd -s /tftpd
alles auf das Verzeichnis tftpboot bezieht!
bootps hab ich mal auskommentiert der Fehler tritt aber immernoch auf! ( Zeile hat LTSP automatisch geschrieben)
tftp dgram udp wait root /usr/sbin/tcpd in.tftpd -s /tftpd
alles auf das Verzeichnis tftpboot bezieht!
bootps hab ich mal auskommentiert der Fehler tritt aber immernoch auf! ( Zeile hat LTSP automatisch geschrieben)
Re: netstation
Schau dir doch mit einem Network Sniffer (z.B. Ethereal) an wie der Traffic zwischen Server und Client aussieht.
Wie sieht deine /etc/hosts.allow aus ??
Ich musste bei mir übrigends den kompletten Pfad angeben des Kernels in der dhcpd.conf angeben.
/etc/inetd.conf:
....
tftp dgram upd wait root /usr/sbin/tcpd in.ftpd /rplboot
...
/etc/hosts.allow:
in.tftpd: 192.168.0.
/etc/dhcpd.conf:
....
subnet 192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.5 192.168.0.20;
filename "/rplboot/kernel.2800.tr";
...
Bernd
Wie sieht deine /etc/hosts.allow aus ??
Ich musste bei mir übrigends den kompletten Pfad angeben des Kernels in der dhcpd.conf angeben.
/etc/inetd.conf:
....
tftp dgram upd wait root /usr/sbin/tcpd in.ftpd /rplboot
...
/etc/hosts.allow:
in.tftpd: 192.168.0.
/etc/dhcpd.conf:
....
subnet 192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.5 192.168.0.20;
filename "/rplboot/kernel.2800.tr";
...
Bernd
Re: netstation
Also in meiner hosts.allow steht der eintrag mit in.tftpd:192.168.0. auch drin
der Pfad zum Kernel ist wie oben schon gesagt durch das -s Attribut relativ und muß deshalb mit /vmlinuz angegeben werden!
Hab es allerdings auch schon mit kompletter Pfadangabe versucht und das klappt auch nicht!
Kann das denn noch an etwas anderem liegen??
der Pfad zum Kernel ist wie oben schon gesagt durch das -s Attribut relativ und muß deshalb mit /vmlinuz angegeben werden!
Hab es allerdings auch schon mit kompletter Pfadangabe versucht und das klappt auch nicht!
Kann das denn noch an etwas anderem liegen??