[syslinux] Can't get hpa-tftpd working on Slackware 9.1

Denis Grannell denisg at online.de
Mon Feb 7 09:14:53 PST 2005


Hi,

I have a question on tftpd on Slackware - I know this is an embedded 
Linux forum,  but I think it still must be the appropriate place to ask.

I have hpa-tftpd V0.40 on Slackware 9.1. No matter what I do, I can't 
get files transferred to the tftp server. I just get timeouts - no
messages 
in /var/log/messages or in /var/log/syslog - just dealthly silence. 
This is the configuration line from /etc/inetd.conf

tftp    dgram   udp     wait    nobody  /usr/sbin/tcpd  -s /tftpboot
/usr/local/tftp/sbin/in.tftpd

All the files and directories on the above line exist -  and I believe 
the permissions should be OK:
 ls -axl  /
total 1980
drwxrwxrwx    2 nobody   daemon       4096 Oct  1 00:28 tftpboot

ls -axl /usr/local/tftp/sbin/in.tftpd
-rwxr-xr-x    1 root     root       142391 Feb  6 13:53
/usr/local/tftp/sbin/in.tftpd


ls -axl /usr/sbin/tcpd
-rwxr-xr-x    1 root     bin         20016 Sep 25  2003 /usr/sbin/tcpd

When I try to transfer a file  
(which already exists in /tftpboot with permission set to 777) I can see

that the tftpd is being started:

ps -ef | grep tft
nobody   11589  1058  0 16:25 ?        00:00:00 -s /tftpboot
/usr/local/tftp/sbin/in.tftpd

Yet nothing is  transferred. 
I have tried changing all the directories to be owned by 'root' and then

configuring the daemon to be launched as root, but the effect is exactly

the same. I've also tried having  the daemon run standalone rather than 
have it triggered by inetd, but again, the affect is the same. I've also

tried running the daemon standalone in verbose mode like this:  
/usr/local/tftp/sbin/in.tftpd -v 5 -l

Then when I try a transfer,  I get:

# tftp localhost
tftp> put /tmp/test.txt  /tftpboot/test.txt
Error code 2: Forbidden directory
tftp>

Any ideas about what's wrong?

Thanks,
Denis

-- 
Denis Grannell, Kapuzinerstr. 45, D-80469 Muenchen
Tel:  +49 89 2013672          Fax:  +49 89 2022875
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/




More information about the Syslinux mailing list