### Troubleshooting TFTP

Here are some things to check if you encounter TFTP problems.

#### Procedure

- Verify that the /tftpboot directory exists and has read, write and execute (777) permissions with this command:

  `ls -l /tftpboot`

  If necessary, use this command to create the directory:

  `mkdir /tftpboot`

  If necessary, use this command to change permissions of the directory to read, write and execute:

  `chmod 777 /tftpboot`

- Verify that the file /tftpboot/ftp_file_name exists and has read and execute permissions with this command:

`ls -l /tftpboot/ftp_file_name`

where `ftp_file_name` is the name of the firmware boot image specified by the Digi Device.

If necessary, use this command to change permissions of the file to read and execute:

`chmod 666 /tftpboot/ftp_file_name`

- Verify that the inetd.conf file is properly configured for tftp by displaying the file /etc/inetd.conf.

An entry similar to this should be uncommented:

`tftp dgram udp something`

where something will vary with each operating system.

For controlled TFTP access, make sure that the file /etc/tftpaccess.ctl exists and verify that it only allows access to public directories. If this file is not present, tftp will allow full access. A sample file is located in the directory /usr/lpp/tcpip/samples.

- Restart the inetd process with these two commands:

  `ps -ef | grep inetd`

  This will report back the inetd process number.

  `Kill -1 inetd_PID`

  Where inetd_PID is the process number for the inetd process reported by the previous command.