[asterisk-users] OT: Aastra 57i configuration via TFTP problem

Jared Smith jsmith at digium.com
Wed Nov 7 07:33:19 CST 2007


On Wed, 2007-11-07 at 00:08 -0800, Roi Stork wrote:
> 1) No DHCP, so I manually set the network settings via phone UI.
> 2) The files aastra.cfg and <mac address>.cfg are in the TFTP root folder.
> 3) Restarted the phone.

Here's what I'd do to troubleshoot the problem:

1) First make sure that your TFTP server is actually listening:

[root at hockey ~]# netstat --listen -npu | grep :69
udp        0      0 0.0.0.0:69                0.0.0.0:*
2334/xinetd

2) Next, I'd use tcpdump to make sure you're actually seeing TFTP
traffic from the phone:

[root at hockey ~]# tcpdump -vv port 69
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96
bytes
08:28:56.622180 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto
UDP (17), length 48) 192.168.0.100.34771 > 192.168.0.50.tftp: [udp sum
ok]  20 RRQ "test.txt" netascii 

1 packets captured
1 packets received by filter
0 packets dropped by kernel

3) As an additional step, you can turn up the verbosity of the tftp
server, and look for it's messages in /var/log/messages.  In my case, I
simply add a "-v" to the server_args line in my /etc/xinetd.d/tftp file
as show below and restart xinetd.

        server_args             = -s /tftpboot -v

The information shows up in /var/log/messages:

Nov  7 08:28:56 hockey in.tftpd[27601]: RRQ from 192.168.0.100 filename
test.txt

Let me know if that helps, or if I need to go into more detail.


-- 
Jared Smith
Community Relations Manager
Digium, Inc.




More information about the asterisk-users mailing list