Subject: Re: tftpd can't start
To: None <netbsd-help@netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-help
Date: 04/08/2000 14:51:46
phoffman@proper.com (Paul Hoffman) writes:
> Attempts to start tftpd with the command line '/var/libexec/tftpd -l' are
> unsuccessful. /var/log/daemon says:
>
> Apr 8 19:16:37 scruz tftpd[19002]: recvfrom: Socket operation on non-socket
>
> tftp is listed in /etc/services:
>
> tftp 69/udp # Trivial File Transfer Protocol
>
> Any thoughts?
It sounds like it is operating as expected. You started tftpd with a
stdin that was your tty. It tried to do a recvfrom() on fd 0 and got
the expected error from recvfrom().
You need to edit your services file and put tftpd in there, SIGHUP
inetd and then you can use tftp.
-wolfgang
--
Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
http://www.wsrcc.com/wolfgang/
DGPS signals via the Internet http://www.wsrcc.com/wolfgang/gps/dgps-ip.html