Habilitar log TFTP

Edit the tftp configuration file
Add the "–verbose" startup option
## Customization: add the "--verbose" command-line option to see when TFTP files are requested by clients to aid in troubleshooting
Restart xinitd
Tail syslog and only look at messages from in.tftpd
If any TFTP log events have occurred in the last 10 messages in /var/log/messages, they will be displayed
New messages will be displayed as they are logged
Reboot a phone and watch for TFTP requests
Press Control-C to return to the shell prompt
- Código: Selecionar todos
vi /etc/xinetd.d/tftp
Add the "–verbose" startup option
## Customization: add the "--verbose" command-line option to see when TFTP files are requested by clients to aid in troubleshooting
- Código: Selecionar todos
#server_args = -s /tftpboot
server_args = -s /tftpboot --verbose
Restart xinitd
- Código: Selecionar todos
service xinetd restart
Tail syslog and only look at messages from in.tftpd
- Código: Selecionar todos
tail -f /var/log/messages | grep in.tftpd
If any TFTP log events have occurred in the last 10 messages in /var/log/messages, they will be displayed
New messages will be displayed as they are logged
Reboot a phone and watch for TFTP requests
Press Control-C to return to the shell prompt