TFTP Timeout

Holger Schurig hs4233 at mail.mn-solutions.de
Wed Oct 27 15:21:41 CEST 2004


> Oct 27 15:58:00 aracne in.tftpd[351]: recvfrom: Socket operation on
> non-socket

in.tftpd is written so that it is normally run from inetd, via /etc/inetd.conf.

When you call in.tftpd from the command line, you have to add the -l command
line switch, as "man in.tftpd" will tell you:

OPTIONS
       -l     Run  the server in standalone (listen) mode, rather than run from inetd. ...


When called via inetd, the stdin is not a terminal, but a socket (the one that
inetd opened), so in.tftpd can do socket operations on stdin.

When you call it from commandline, without -l, then stdin is a tty. And tty's won't
allow socket operations.




More information about the linux-fai mailing list