On Thursday 30 October 2008 18:00, walter harms wrote:
> it should also be added to kconfig info text.
> 
> we should think about some cleaning of kconfig,
> putting daemons and clients in different dirs etc.
> 
> re,
>  wh
> 
> 
> Vladimir Dronnikov schrieb:
> >> Summary:                    tftpd fails to start with error "stdin is not a
> >> socket: Socket operation on non-socket"
> >> Description:
> >> In busybox 1.12.1, tftpd fails to start no matter what combination of
> >> options are used. The following error is always shown:
> >>
> >> # /usr/bin/tftpd /
> >> tftpd: stdin is not a socket: Socket operation on non-socket
> > 
> > 
> > It is meant to be run by means of ipsvd, e.g:
> > # udpsvd -E localhost 69 tftpd /home/tftpd -u tftp -c
> > 
> > This, certainly, should be reflected in usage.h

Like this?

$ busybox tftpd --help
BusyBox v1.13.0.svn (2008-10-29 04:32:05 CET) multi-call binary

Usage: tftpd [-cr] [-u USER] [DIR]

Transfer a file on tftp client's request.

tftpd should be used as an inetd service.
tftpd's line for inetd.conf:
        69 dgram udp nowait root tftpd tftpd /files/to/serve
It also can be ran from udpsvd:
        udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve

Options:
        -r      Prohibit upload
        -c      Allow file creation via upload
        -u      Access files as USER


--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to