I am using TFTP to load config inf for my Aastra 55i phones on the FreePBX 2.4 Server (pbxinaflash 1.3).
My Aastra phones do no seem to ‘see’ the tftp on the server. I have changed the aastra.cfg file, but the phone sdo not show updates.
I have wiped local profiles and reset phones to factory defaults. Then I go into the Web-GUi and setup user/pass and tftp info.
Phone registers, but NONE of the settings in the aastra.cfg seem to be ‘sticking’
Is there a way to make sure TFTP is working? I tried a manual update of Aastra Firmware (placed in tftpboot of freepbx server) from the phone’s web interface, and it could not find the file.
Is your PBX your DHCP server? If not, then you’ll need to do one of three things:
configure your existing DHCP server to pass the correct options to your phones, telling them where to find the tftp server.
manually configure your phones to tell them where to find the tftp server (you would do this in web interface of each phone.)
use Aastra’s auto-provisioning scripts.
Out of the three, the third one is the coolest, the second one is the easiest (but least desirable from a network administration standpoint) and the first may not even be supported by your DHCP server, but (before Aastra made their auto provision scripts available) used to be the “right” way.
Check the tftp log file (which I think is /var/log/atftpboot.log, but that’s from memory) and see if there’s anything in there at all.
Did you create your MAC.cfg files manually? If so, I believe the alpha components of the hex values must be in caps, ie “A0” not “a0”, etc. The log should tell you if the phones are even looking for a file, so check that first and we can go from there.
should I uninstall and reinstall?
I tried the script again from FreePBX… see below
Setup TFTP server
Loading “installonlyn” plugin
Setting up Install Process
Setting up repositories
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Excluding Packages from CentOS-5 - Addons
Finished
Excluding Packages from CentOS-5 - Extras
Finished
Parsing package install arguments
Nothing to do
Do an yum install tftp-server
Edit /etc/xinetd.d/tftp and change disable to no
restart xinetd with service xinetd restart
Do an chkconfig xinetd on to set xinetd to start up at boot.
root@pbx-mid:/tftpboot $ yum install tftp-server
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Excluding Packages from CentOS-5 - Addons
Finished
Excluding Packages from CentOS-5 - Extras
Finished
Parsing package install arguments
Nothing to do
Verified: xinetd was already set properly for TFTP already.
RESULTS the SAME on reboot of phones. Could there be a firewall issue within the server? Loaded from pbxinaflash 1.3… nothing extra added aside from the aastra http scripts.
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}