1847961 Members
4066 Online
104021 Solutions
New Discussion

Re: tftp errors

 
Kwan_1
Occasional Contributor

tftp errors

Hi,

Appreciate if someone could tell me when tftp errors occur, can I get any error codes that provides specific error details? currently I'm getting a 'tftp error' in response.

Where can I investigate further regarding this matter.

Thank you very much
3 REPLIES 3
Steve Steel
Honored Contributor

Re: tftp errors

Hi


1)What message


2)pg /usr/include/arpa/tftp.h

/*
* Error codes.
*/
#define EUNDEF 0 /* not defined */
#define ENOTFOUND 1 /* file not found */
#define EACCESS 2 /* access violation */
#define ENOSPACE 3 /* disk full or allocation exceeded */
#define EBADOP 4 /* illegalTFTP operation */
#define EBADID 5 /* unknown transfer ID */
#define EEXISTS 6 /* file already exists */
#define ENOUSER 7 /* no such user */


steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Clemens van Everdingen
Honored Contributor

Re: tftp errors

Hi,

What is the exact error number you are getting?
Is there something in syslog?

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Wodisch
Honored Contributor

Re: tftp errors

Hi,

since TFTP is really simple, not that many conditions must be met to make it work:
- the starting-directory must be passed to the daemon (by using the home-directory of user "tftp" or with option "-D")
- the file to be read must have general read permission (as must all the directories in its path, plus those need x=changedir permissions)
- the file to be writen must exist already and have general write permission (and all the direcories in its path need read and x=changedir permissions)

HTH,
Wodisch