0

I would like to configure and start tftpd from linux shell. If I call:

tftpd -l -a 127.0.0.0:69 ...

I get always:

tftpd: stdin is not a socket: Socket operation on non-socket

there are no tftp settings in my /etc/services.

Bartlomiej Grzeskowiak
  • 1,009
  • 5
  • 16
  • 35

2 Answers2

1

Example solution for embedded can be:

# udpsvd -E 0 [PORT] tftpd -c [DIR]
Bartlomiej Grzeskowiak
  • 1,009
  • 5
  • 16
  • 35
0

For PXE boots the solution in Python with TFTP is https://github.com/psychomario/PyPXE

anatoly techtonik
  • 19,847
  • 9
  • 124
  • 140