[syslinux] Re: TFTP: error code received - Only

Antoine Martin antoine at nagafix.co.uk
Thu Jun 10 12:53:49 PDT 2004


> gw0#cop flash:1:c820-k9osy6-mz.122-15.T5.bin tftp
> Address or name of remote host []? 10.100.0.1
> Destination filename [c820-k9osy6-mz.122-15.T5.bin]?
> TFTP: error code 2 received - Only absolute filenames allowed
tftp-hpa 0.34 handles relative paths fine here. Which version?
does not look like any error codes I have ever seen.
> %Error opening tftp://10.100.0.1/c820-k9osy6-mz.122-15.T5.bin (Permission
> denied)
> If I try and add the path:
> 
> gw0#cop run tftp
> Address or name of remote host []? 10.100.0.1
> Destination filename [gw0-confg]? usr/tftp/gw0-config
> TFTP: error code 2 received - Only absolute filenames allowed
> 
> %Error opening tftp://10.100.0.1/usr/tftp/gw0-config (Permission denied)
You are not trying to download the same file in these 2 examples, is
this intentional?
I dont know why you get a permission denied rather than a file not
found.
Are you sure you are using the tftp server that you think you are?
/usr/tftp or sometimes /usr/sbin/in.tftpd etc.

If you use "-s /usr/tfp", your relative path starts there so you should
do:
% get gw0-config
Try it from a terminal tftp client first to make it work.




More information about the Syslinux mailing list