I’m willing to bet someone knows the answer to this with one sentence. I however have probably exhausted my eyes.
I am really stuck here. I have used OSS in the past and worked through issues to get it working. However this is a brand new install, using FPBX distro FreePBX 13.0.190.19, with Commercial EPM 13.0.104.6.5.
What is working:
DHCP w/Option 66.
Creating templates.
Hooking extensions.
Phones I am working with Cisco SPA514G.
I have updated firmware on 514G to 7.5.2.b then to 7.5.5.
I did tons of searching and testing and trying things prior to asking, but all the similar issues that seem to be fixed, the fixes do not work for me.
I verified that the MAC information is in the extension, and they are hooked. I tried changing the case on the mac, and it is indeed changing the file that is in the /tftpboot directory. I am getting a SPA514G.cfg and spa(mac address).xml file created which matches appropriately to what I create with EPM.
I verified TFTP server is running. I disabled iptables. I quadruple checked the TFTP settings. See below for some of that information. Additionally, tftpd seems to be working well, to the point it does not show running, until I reboot the phone and it requests config information through option 66. At that point it triggers the service running as shown below.
root@wpe-voip etc]# ps aux | grep -i tftp
root 12911 0.0 0.0 10680 788 ? Ss 12:40 0:00 in.tftpd -vv -s /tftpboot
root 12957 0.0 0.0 103244 904 pts/1 S+ 12:41 0:00 grep -i tftp
/etc/xinetd.d/tftp
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -vv -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}
/etc/xinetd.d/xinetd.conf
defaults
{
# The next two items are intended to be a quick access place to
# temporarily enable or disable services.
#
# enabled =
# disabled =
# Define general logging characteristics.
log_type = SYSLOG daemon info
log_on_failure = HOST
log_on_success = PID HOST DURATION EXIT
# Define access restriction defaults
#
# no_access =
# only_from =
# max_load = 0
cps = 50 10
instances = 50
per_source = 10
# Address and networking defaults
#
# bind = 192.168.22.5
# mdns = yes
v6only = no
# setup environmental attributes
#
# passenv =
groups = yes
umask = 002
# Generally, banners are not used. This sets up their global defaults
#
# banner =
# banner_fail =
# banner_success =
}
Checked permissions on /tftpboot and changed to 777 and tested. The files it appears to be looking for, just don’t exist in /tftpboot. I’m sure I’ve missed something very simple, but I can not figure it out and googlefu has let me down.
Mar 28 12:01:32 wpe-voip in.tftpd[10522]: RRQ from 192.168.22.52 filename SEP10BD18AF05CD.cnf.xml
Mar 28 12:01:32 wpe-voip in.tftpd[10522]: sending NAK (1, File not found) to 192.168.22.52
Mar 28 12:01:32 wpe-voip in.tftpd[10523]: RRQ from 192.168.22.52 filename XMLDefault514G.cnf.xml
Mar 28 12:01:32 wpe-voip in.tftpd[10523]: sending NAK (1, File not found) to 192.168.22.52
Mar 28 12:01:32 wpe-voip in.tftpd[10524]: RRQ from 192.168.22.52 filename XMLDefault.cnf.xml
Mar 28 12:01:32 wpe-voip in.tftpd[10524]: sending NAK (1, File not found) to 192.168.22.52
Mar 28 12:01:32 wpe-voip in.tftpd[10525]: RRQ from 192.168.22.52 filename SEP10BD18AF05CD.cnf.xml
Mar 28 12:01:32 wpe-voip in.tftpd[10525]: sending NAK (1, File not found) to 192.168.22.52
Mar 28 12:01:32 wpe-voip in.tftpd[10526]: RRQ from 192.168.22.52 filename XMLDefault514G.cnf.xml
Mar 28 12:01:32 wpe-voip in.tftpd[10526]: sending NAK (1, File not found) to 192.168.22.52
Mar 28 12:01:32 wpe-voip in.tftpd[10527]: RRQ from 192.168.22.52 filename XMLDefault.cnf.xml
Mar 28 12:01:32 wpe-voip in.tftpd[10527]: sending NAK (1, File not found) to 192.168.22.52
I can ping the phone from the box via SSH. They are both plugged into the same switch, isolated by themselves right here on the desk.
I’m not sure this is a TFTP problem so much as it is a configuration problem I missed setting up Com. EPM.
Any help is greatly appreciated.
Tyler