Hi Friends,
I am trying to configure a tftp server on Centos 5.0. get command is
working fine but not the put command. I searched on the google and
tried few things like 777 on /tftpboot, changing ownership to nobody
on /tftpboot and also in /etc/xinetd.d/tftp, adding -c as server_args
but still the problem persists.
tftp -v localhost
Connected to localhost.localdomain (127.0.0.1), port 69
tftp> put wine-core-0.9.50-1.el5.rf.i386.rpm
putting wine-core-0.9.50-1.el5.rf.i386.rpm to
localhost.localdomain:wine-core-0.9.50-1.el5.rf.i386.rpm [netascii]
Error code 1: File not found
tftp localhost
tftp> get wine-core-0.9.50-1.el5.rf.i386.rpm
ls -la /etc/xinetd.d/tftp
-rw-r--r-- 1 root root 509 Feb 28 03:09 /etc/xinetd.d/tftp
cat /etc/xinetd.d/tftp | grep -v "#"
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
rpm -qa | grep tftp
tftp-server-0.42-3.1.el5.centos
tftp-0.42-3.1.el5.centos
Please let me know if you need any further inputs.
Thanks & Regards
Ankush