Polycom Soundpoint IP 501 updates with TFTP

Here are the steps I took to install a TFTP server onto an Ubutnu 7.10 machine.  The reason for this installation was to serve the BootRom and sip settings for Polycom Soundpoint IP 501 phones on the office network.

The first thing that you need to do is install the TFTP server onto your Ubuntu machine.  We will assume that you already have this Ubuntu machine setup and running on your network.

$ sudo apt-get install tftpd-hpa tftp-hpa

Once you have installed the TFTP server you will need to edit the TFTP configureation file

$ sudo nano -w /etc/default/tftpd-hpa

When you edit this file by default it should look like so

#Defaults for tftpd-hpa
RUN_DAEMON=”yes”
OPTIONS=”-l -s /var/lib/tftpboot”

Now you can leave the settings like this if you want.  I changed the following line from

OPTIONS=”-l -s /var/lib/tftpboot”

To this

OPTIONS=”-l -s /home/pxeboot/”

I mainly did this because I wanted the files hosted on the home partition in case of a system crash since I have the /home partition synced nightly to a backup drive.
After I had changed the config file I created the user pxeboot with the adduser command.  Now when ever I need to add files to the phones I just su pxeboot and go about downloading and changing the files.
Now to obtain the newest BootRom and Sip software package.  Change into the pxeboot directory and run the following.

wget http://www.polycomnz.co.nz/software/BootRom_3_2_3RevB_release_sig.zip
wget http://www.polycomnz.co.nz/software/spip_ssip_2_1_2_release_sig.zip

This will download the latest software for the phones, just unzip them into the /home/pxeboot directory and that is that.  Only thing left to do is set your Polycom phone to access your Ubuntu machine.  You can make that change under the Admin settings menu, since you are using TFTP you do not have to supply any login credentials.  Reboot the phone and it will download the new BootRom and Sip packages.