tftp Error code 256

Hello everyone,

When trying to get a file from tftp as follows:
Code:
xxx-xxx-xxx# tftp 10.0.0.1
tftp> get /tftpboot/pxeboot
Got ERROR packet: File not found
Error code 256: File not found
tftp>
I get the above error. This was working earlier on my system. I am not sure where to look for what may be causing this.
 
Yes, it worked before, I had it pxe-booting. I even changed the permissions of both the directory and the file with chmod 777. It just seems to have stopped working?
 
What I meant was that something may have deleted the file. Is the tftp daemon running?
# ps axw | grep tftp
 
tftpd can also be run from the command line, giving it the same options as in inetd.conf. That would show if inetd is the problem.
 
Vizard said:
Yes, it worked before, I had it pxe-booting. I even changed the permissions of both the directory and the file with chmod 777. It just seems to have stopped working?

Resist the urge to chmod(1) something to 777! Now anybody with access to your TFTP server can upload a (backdoored) pxeboot.
 
Back
Top