Cannot download from tftp server
Hi,
I'm trying to make my PC diskless, so I've set up a
tftpd server (currently atftpd, but I've also tried
tftpd and tftpd-hpa with the same results)
I've created the directory /tftpboot with 755
permissions of all files included
The problem is that when I connect with tftp from
localhost or my laptop I only get 0 byte files
doing "tftp 192.168.1.1" gives
# tftp 192.168.1.1
tftp> mode octet
tftp> verbose
Verbose mode on.
tftp> trace
Packet tracing on.
tftp> get pxelinux.0
getting from 192.168.1.1:pxelinux.0 to pxelinux.0
[octet]
sent RRQ <file=pxelinux.0, mode=octet>
received DATA <block=1, 0 bytes>
tftp>
and all I get is a zero byte file, this makes my
diskless PC stall without error messages
The weird thing is that I can upload files correctly
(if I do chmod 777 /tftpboot )
The router (firewall, dhcp and tftp) server is a
Debian unstable box running Linux 2.6.4 and Arno's
Iptables script (may that interfere?)
Here's the debug output from aftpd:
Mar 20 14:25:32 reuterskoog tftpd[5026]: Serving
pxelinux.0 to 192.168.1.11:32800
Mar 20 14:25:32 reuterskoog tftpd[5026]: received RRQ
<filename: pxelinux.0, mode: octet, >
Mar 20 14:25:32 reuterskoog tftpd[5026]: sent DATA
<block: 1, size 0>
Mar 20 14:25:32 reuterskoog tftpd[5026]: received ACK
<block: 1>
Mar 20 14:25:32 reuterskoog tftpd[5026]: End of
transfer
Mar 20 14:25:32 reuterskoog tftpd[5026]: Server thread
exiting
Mar 20 14:30:32 reuterskoog tftpd[5026]: atftpd
terminating after 300 seconds
Mar 20 14:30:32 reuterskoog tftpd[5026]: Load
measurements:
Mar 20 14:30:32 reuterskoog tftpd[5026]: User:
0.060s Sys: 0.020s
Mar 20 14:30:32 reuterskoog tftpd[5026]: Total:
423.372s CPU: 0.019%
Mar 20 14:30:32 reuterskoog tftpd[5026]: Time
between connections:
Mar 20 14:30:32 reuterskoog tftpd[5026]: Min:
123.414s Max: 123.414s
Mar 20 14:30:32 reuterskoog tftpd[5026]: Thread
stats:
Mar 20 14:30:32 reuterskoog tftpd[5026]:
simultaneous threads: 1
Mar 20 14:30:32 reuterskoog tftpd[5026]: number of
servers: 2
Mar 20 14:30:32 reuterskoog tftpd[5026]: number of
aborts: 0
Mar 20 14:30:32 reuterskoog tftpd[5026]: number of
errors: 0
Mar 20 14:30:32 reuterskoog tftpd[5026]: number of
files sent: 2
Mar 20 14:30:32 reuterskoog tftpd[5026]: number of
files received: 0
Mar 20 14:30:32 reuterskoog tftpd[5026]: Main thread
exiting
Any ideas?
/Thomas Eriksson
Höstrusk och grå moln - köp en resa till solen på Yahoo! Resor på adressen http://se.docs.yahoo.com/travel/index.html
Reply to: