Página 1 de 1

Habilitar log TFTP

MensagemEnviado: 26 Jul 2013, 18:12
por juliano.oliveira
Edit the tftp configuration file

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