Hallo Liste!

Ich möchte über TFTP booten. :-) In der Folge geht es um FAI, aber zunächst 
muss ich einmal booten können. ;-)

Derzeit scheint der TFTPd nicht so zu tun, wie er soll.

Habe mir erst einmal "aftpd" und "aftp" installiert. Die Installation 
von "aftpd" hat noch folgendes gemeldet:

"Wähle vormals abgewähltes Paket atftpd.
(Lese Datenbank ... 208424 Dateien und Verzeichnisse sind derzeit 
installiert.)
Entpacke atftpd (aus .../atftpd_0.7.dfsg-1_i386.deb) ...
Richte atftpd ein (0.7.dfsg-1) ...
--------- IMPORTANT INFORMATION FOR XINETD USERS ----------
The following line will be added to your /etc/inetd.conf file:

tftp            dgram   udp     wait    
nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 
5     --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 
1 --maxthread 100 --verbose=5  /srv/tftp

If you are indeed using xinetd, you will have to convert the
above into /etc/xinetd.conf format, and add it manually. See
/usr/share/doc/xinetd/README.Debian for more information.
-----------------------------------------------------------


Drücken Sie zum Fortsetzen die Eingabetaste."

So weit, so gut. Also ein Blick in "/usr/share/doc/xinetd/README.Debian" 
geworfen:

"README.Debian for xinetd
 ========================

  - xinetd features an inetd.conf compatibility mode. When started with the
    -inetd_compat option, xinetd first reads its own configuration file
    (/etc/xinetd.conf), then /etc/inetd.conf.

  - If you need to run both netkit-inetd and xinetd, with different service
    definitions, you can :
     * Remove -inetd_compat from /etc/default/xinetd so that xinetd doesn't 
read
       inetd.conf anymore.
     * Run "/var/lib/dpkg/info/xinetd.postrm remove"
     * Run "update-rc.d inetd defaults"

        -- Thomas Seyrat <[EMAIL PROTECTED]>
           Sun, 18 Apr 2004 13:30:04 +0200"

"dpkg" meint zum Thema xinetd:

"dpkg --status xinetd
Package: xinetd
Status: install ok installed"

Also einen Blick nach "/etc/xinetd.conf" geworfen. Hilft mir nicht viel 
weiter. Zur Sicherheit "dpkg --status netkit-inetd" aufgerufen:

"Package: netkit-inetd
Status: install ok installed"

Ein kurzer Blick nach "/etc/default/xinetd" bringt Klarheit, dass 
nur "XINETD_OPTS="-stayalive"" gestzt ist.

Jetzt kommt der aftp Client ins Spiel:

"atftp --get --verbose --remote-file fai/pxelinux.0 --local-file pxelinux.0 
192.168.1.10" ausgeführt und gleich einmal mit "Wireshark" mitgeschnitten. 
Die atftp-Versuche sehen wie folgt aus:

"[EMAIL PROTECTED]:~$ atftp --get --verbose --remote-file fai/pxelinux.0 
--local-file 
pxelinux.0 192.168.1.100
Verbose mode on.
timeout: retrying...
timeout: retrying...
timeout: retrying...
timeout: retrying...
timeout: retrying...
tftp: unknown error.
tftp: aborting"

Wireschark sagt dazu im wesentlichen folgendes:

1-A) Internet Protocol, Src: 192.168.1.100 (192.168.1.100), Dst: 192.168.1.100 
(192.168.1.100)
1-B) User Datagram Protocol, Src Port: 32796 (32796), Dst Port: tftp (69)
1-C) Trivial File Transfer Protocol
1-C-a) Opcode: Read Request (1)
1-C-b) Source File: fai/pxelinux.0
1-C-c) Type: octet

2-A) Internet Protocol, Src: 192.168.1.100 (192.168.1.100), Dst: 192.168.1.100 
(192.168.1.100)
2-B) Internet Control Message Protocol
2-B-a) Type: 3 (Destination unreachable)
2-B-b) Code: 3 (Port unreachable)
2-B-c) Checksum: 0x7c4d [correct]
2-B-d) Internet Protocol, Src: 192.168.1.100 (192.168.1.100), Dst: 
192.168.1.100 (192.168.1.100)
2-B-e) User Datagram Protocol, Src Port: 32796 (32796), Dst Port: tftp (69)
2-B-f) Trivial File Transfer Protocol
2-B-f-1) Opcode: Read Request (1)
2-B-f-2) Source File: fai/pxelinux.0
2-B-f-3) Type: octet

Diese Einträge (TFTP Anfrage Client und ICMP Antwort (?) Server) wiederholen 
sich dann.

Fakt ist, dass ich keine Datei über TFTP erhalte.

Was muss ich prüfen bzw. machen, um TFTP zum laufen zu bekommen?

LG,
Leonhard.

Reply via email to