Habilitar log TFTP

Habilitar log TFTP

Mensagempor juliano.oliveira » 26 Jul 2013, 18:12

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

Juliano Oliveira Rodrigues

Departamento TI - União Sudeste Brasileira
Ramal: 1002
juliano.oliveira
 
Mensagens: 92
Registrado em: 10 Nov 2011, 14:01
Localização: Niterói,RJ

Voltar para Central Voip

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 9 visitantes

cron