So the power went out last night, and for the first time in a long time my Polycom IP500 restarted. Then it tried to provision itself with the FreePBX Distro box running 1.813.210.58-1, but was unable to. When it attempts, it immediately give me an unable to connect message. I’ve made a few changes to various settings since I set it up back in Feb, but nothing I can think that would change behavior with TFTP other than apply the distro update scripts.
Here is the output from running ‘tcpdump port tftp’ as the phone attempts to connect:
07:28:03.588402 IP 192.168.0.30.cap > 192.168.0.20.tftp: 19 RRQ “bootrom.ld” octet
07:28:03.683397 IP 192.168.0.30.1027 > 192.168.0.20.tftp: 25 RRQ “0004f201326f.cfg” octet
07:28:03.779770 IP 192.168.0.30.1028 > 192.168.0.20.tftp: 25 RRQ “000000000000.cfg” octet
07:28:14.554885 IP 192.168.0.30.solid-mux > 192.168.0.20.tftp: 30 WRQ “0004f201326f-boot.log” octet
To verify that it wasn’t an issue with the configuration or phone, I copied what was in the /tftpboot folder to a debian server with tftp and it was able to provision with no issues what so ever, so it must be an issue I’m not seeing with the FreePBX distro server.
I have looked through the FreePBX settings and nothing sticks out, however I have noticed when I make a change and hit ‘Update Globals’ under ‘End Point Advanced Settings’ it gives me a message at the top: “Local TFTP Server is not correctly configured”.
Does anyone have suggestions on how to fix this problem? Any help is greatly appreciated!
I’ve booted and rebooted the machine, but I’m unable to explicitly see ‘tftp’ in top. Does it run under xinetd? Sorry, I’ll admit I’m unfamiliar with tftp, xinetd and how exactly CentOS mechanics work. This is the first sort of problem like this I’ve had out of it.
rwxrwxr-- on the dir itself and a mix of rwxr-xr-- and rw-r–r- on the contents, but I just now changed the entire dir and it’s contents to 777 to see if it was a permission problem and sure enough… it was…! >_< /facepalm
Now I can properly fix the permissions…Thank you very much!