View Full Version : Configure TFTP on PIKA Warp to allow Polycom phone to write directory information

09-12-09, 12:42 PM
I have installed the pre-compiled FreePBX images on the PIKA Warp using the instructions at http://pikawarp.org/?p=289 and the file from ftp://ftp.pikatech.com/outgoing/pads/extras/freepbx/ I have successfully configured a Polycom IP330 to connect to the PIKA Warp and download the appropriate configuration files and updated firmware over TFTP from the tftpboot directory on the PIKA Warp.

I have not been able to get the Polycom IP 330 to store it's revised <mac>-directory.xml file on the PIKA warp as described here http://sipx-wiki.calivia.com/index.php/HowTo_configure_Polycom_SoundPoint_IP_phones_with_ sipX#Polycom_Phone_Directory_Configuration. I believe the problem is because the TFTP service is not configured to allow writing. I would have expected to find the file /etc/xinetd.d/tftp, and be able to change the server-args line to read as follows (-c to allow creating files, -vv to increase logging):
server_args = -c -s /tftpboot -vv
However, this file does not exist, so I am not sure how to enable tftp to create files. Also, after inspecting etc/inetd.conf, I see that tftp is commented out. However, by executing the command "netstat -a | grep tftp" I can see the tftp is running. How did it get started?

I do note that article here http://pikawarp.org/?p=270 states "Enable tftp daemon by default and create itís folder in persistent."

The questions I have are:
1) How do I enable a Polycom phone to be able to PUT it's <mac>-directory.xml on the PIKA Warp using tftp?
2) How do I configure tftp on the build of FreePBX for the Pika?
3) What configuration file starts the tftp service on the build of FreePBX for the Pika?

Please excuse any dumb questions. I am relatively new to both Linux and the PIKA Warp.


09-18-09, 04:34 PM
The tftp daemon is started using the /persistent/autorun/S99tftpd file. You can edit this to add parameters to launch the tftp daemon their and change what directory it uses as it's root directory.