root@ggp-desktop:~# tftp
tftp> verbose
Verbose mode on.
tftp> binary
mode set to octet
tftp> trace
Packet tracing on.
tftp> rexmt 1
tftp> timeout 60
tftp> connect 192.168.1.1
tftp> put /home/ggp/firmware.tftp
tftp: firmware.tftp: No such file or directory
As you can see the file exists and has the correct permissions set.
I remember I did the job one year ago on this machine, but I think I used another syntax, and unfortunately I don't remember it.
Does someone can help me, please?
Resolved.
I was calling tftp as "root", so this is the procedure that has worked for me
root@ggp-desktop:~# cp firmware.tftp /root/
root@ggp-desktop:~# tftp 192.168.1.1
tftp> verbose
Verbose mode on.
tftp> binary
mode set to octet
tftp> trace
Packet tracing on.
tftp> rexmt 1
tftp> timeout 60
tftp> connect 192.168.1.1
tftp> status
Connected to 192.168.1.1.
Mode: octet Verbose: on Tracing: on
Rexmt-interval: 1 seconds, Max-timeout: 60 seconds
tftp> put firmware.tftp
putting firmware.tftp to 192.168.1.1:firmware.tftp [octet]
sent WRQ <file=firmware.tftp, mode=octet>
etc.
Now my problem is that boot time on my router is very minimal, and I cannot change it. But I have one problem less :)
Perhaps the fact that the file must be in the directory is something discounted. Anyway, the fact that I could not find any trace of this in the tftp manual or in the Google is too bad!!!