Roi Stork
2007-Nov-07 08:08 UTC
[asterisk-users] OT: Aastra 57i configuration via TFTP problem
I am currently testing a 57i unit. No problems configuring the phone's config via phone/web UI. We are trying to avoid using the web UI, the reason is it will take a long time typing the softkey xml applications URIs on each phone, so we chose TFTP. Tried configuring the phone via a TFTP config server, but no changes took effect. I wonder why it doesn't work with TFTP even if I was able to upgrade the firmware via the same method. Here's how I set it up, maybe someone can point where I did it wrong: 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.
Jared Smith
2007-Nov-07 13:33 UTC
[asterisk-users] OT: Aastra 57i configuration via TFTP problem
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.
joakimsen at gmail.com
2007-Nov-07 17:15 UTC
[asterisk-users] OT: Aastra 57i configuration via TFTP problem
Have you looked at your TFTP server logs? On 11/7/07, Roi Stork <roi.stork at gmail.com> wrote:> I am currently testing a 57i unit. No problems configuring the phone's > config via phone/web UI. > We are trying to avoid using the web UI, the reason is it will take a > long time typing the softkey xml applications URIs on each phone, so > we chose TFTP. > > Tried configuring the phone via a TFTP config server, but no changes > took effect. > I wonder why it doesn't work with TFTP even if I was able to upgrade > the firmware via the same method. > > Here's how I set it up, maybe someone can point where I did it wrong: > > 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. > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >