Hi guys,
I am trying to setup a tftp server.
Edit: Running Ubuntu 8.04 Server
Here is the output of /etc/xinetd.d/tftp
root@ubuntutftp:/home/dachinster# cat /etc/xinetd.d/tftp
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = -s /tftp/
disable = no
}
ls -la / gives:
drwxrwxrwx 2 nobody root 4096 2008-05-02 14:02 tftp
and ls -la /tftp gives:
root@ubuntutftp:/home/dachinster# ls -la /tftp
total 12
drwxrwxrwx 2 nobody root 4096 2008-05-02 14:02 .
drwxr-xr-x 22 root root 4096 2008-05-02 12:41 ..
-rwxrwxrwx 1 nobody dachinster 27 2008-05-02 14:02 test2.txt
My problem is that when I do:
tftp 10.0.9.20
tftp> binary
tftp> put test2.txt
I get this:
tftp: test2.txt: No such file or directory
However, if I create another file in my /home directory named hda.txt for instance and i say:
put hda.txt
I will see the file transfer across
The problem is that I want the server to read and write to the folder /tftp
Any idea how to accomplish that?
Bookmarks