Hi,
I am a beginner im TFTP protocol in Linux and I habe been trying to make U-boot via TFTP. But first I will test my TFTP server in my host. my host works in Ubuntu 12.04 in a virtual box (VMware Player)
Configuration:
# 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 = /tftpboot
disable = no
}
# cat /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"
RUN_DAEMON="yes"
when I see the /tftpboot file in my host this is the result:
# ls -l /tftpboot/
insgesamt 3096
-rwxrwxrwx 1 root root 174 Dez 4 14:50 test
-rwxrwxrwx 1 nobody root 3163680 Dez 7 08:59 uImage-am335x-evm.bin
Next I will try to obtain locally via TFTP in my Host some file:
# tftp localhost
tftp> get uImage-am335x-evm.bin
Error code 1: File not found
tftp> quit
Why is it? Because the file exists and i believe that the TFTP configuration is good. When I make a extra test like, that it shows:
# ps aux| grep tftp
root 5218 0.0 0.0 10928 916 pts/5 S+ 12:45 0:00 grep --color=auto tftp
# grep tftp /etc/services
tftp 69/udp
netstat -na | grep LIST | grep 69--------- this command shows nothing
And I had been communicating properly over TFTP yesterday before that happened. The only significant change was ./setup.sh made a update for tftp-hpa and tftpd.
I have not idea what it happens, any help would be greatly appreciated
-Regards