Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed tftpd and xinetd on Ubuntu 13.10 and I have problems with writing to tftp server. /etc/xinetd.d/tftp file content:

service tftp
{
protocol        = udp
port            = 69
socket_type     = dgram
wait            = yes
user            = nobody
server          = /usr/sbin/in.tftpd
server_args     = -c -s /srv/tftp
disable         = no
}

File permissions for both /etc/xinetd.d/tftp and /srv/tftp are set on 777.

When I try to put to tftp server or get something from it i get "Transfer timed out." message.

When I change server_args to '-s /srv/tftp' get works fine and put works fine when file which is being put already exists on tftp server.

It is local PC

What should I do to be able to put files, which don't exist on tftp server?

share|improve this question

Files do not get created by the tftp server, you have to create them (with proper, writable permission bits) before the upload. See man touch.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.