Some good news…I am running pfSense as my router/firewall and it has an option for TFTP server. I am putting in the IP of PBX server in this field (on the pfSense box).
So I have to remove the SCCP firmware on the phone and add SIP firmware.
Here is a link I found that has the firmware:
It’s not much of a process to enable tftp, change a yes to a no and add a -v for logging, then ‘service xinetd restart’ don’t make it harder than it is.
The 7970, 7971 and 7975 all use the same configs, so you can use the EPM.
You need to unzip the firmware to the tftpboot directory.
It is critical that you make sure the version of software referenced in the EPM template is the same as the version you put on the server.
I didn’t start to mess with tftp yet (not at home), but thank you for posting those tips, I will try it and report back.
I am still not understanding the EPM. None of the model numbers you listed are built into FreePBX, all I see is 7940, 7960, 7940g, 7941g, 7961g (for the 79xx models).
I think once I go through the process one time this will click.
Is it possible to use the existing SCCP firmware that is on the phone? I was reading other forums and it was stated that SIP and SCCP are both compatible with Asterisk.
Thanks again.
SCCP requires a different channel driver that FreePBX doesn’t support.
You are right, none of those are in the EPM.
I have not played with XML support in the EPM yet, I see the developer has the 7961, it configs the same as the 7970 and 7971 except it has two line appearances.
The 7940g should not be in the same group as it uses a flat file config like the 7940 and 7960. The G just stands for global, has icons instead of english on the buttons.
Some of these models were added to the EPM without the developer having direct access to the telephone.
There are lots of sample 7970 configs out on the NET, if it’s just one phone it’s as easy to do by hand as to setup a template.
Gotcha. All the G phones are in a separate box in FreePBX, I just listed out the ones I saw. I didn’t mean to imply that they were under the same section.
I just don’t know enough to know what files to upload/modify, which is why I was looking for it to have the model I have in the list, but I understand what you are saying.
In my scenario I only have 1 phone and I don’t plan on adding a second. If I do add a second, I could just copy the config/files of the first one and change the fields I need to change.
I am going to work on getting the tftp server setup before I can work on getting the phone online.
Thanks.
Just open the file with your favorite editor, make the changes and save.
I thought you knew how to get around Linux? If you don’t know basic sysadmin tasks you are going to be even more challenged than I had originally suggested.
Also the fact you can’t seem to Google search your way out of any of this also adds to my concerns.
It is impossible for a forum to sustain this level of assistance. You posted all of these messages and still can’t start the service.
I attempted to work on the tftp today, but I am not following some of your posts in that other thread.
“Anyway, edit your cat /etc/xinetd.d/tftp, look at mine, take out the disable line and add the verbosity flag (the -v) to the start arguments so we get more info than the messages.”
I am not sure how to make that change.
[root@localhost ~]# ps aux | grep -i tftp
root 10348 0.0 0.0 4328 772 pts/0 S+ 17:02 0:00 grep -i tftp
[root@localhost ~]# /usr/sbin/in.tftpd -l -a 192.168.1.15:69 -c -s /tftpboot
[root@localhost ~]# cat /etc/xinetd.d/tftp
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
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
I take it we are done here? Nobody else have anything else I can try.
Thanks to all for the help up to this point.
Anyone else care to give a hand?
Thanks in advance.
I reread the thread and am not sure what point you are at.
What can we help you with?
Thanks.
I have endpoint manager installed, but I guess for 1 phone end point manager won’t help me (and my phone isn’t in the list, but it was stated that it might still work).
I have the tftp server started and I tried to follow the instructions from a thread of yours (or a thread you posted in) and I am not sure if I made the proper changes to the tftp server.
The phone currently has SCCP firmware on it and I need to get SIP firmware on it. However, in order to communicate with the phone, I need to be able to configure the tftp server so the phone can see the FreePBX server and grab config files.
Thank You.
Enable logging (as per my tftp post) and then do a tail -f /var/log/messages and you will see the phone request it’s files.
Don’t forget to restart the tftp server after adding the verbose parameter ‘service xinetd restart’
Yup, that is where the thread was stopped (post 47, I wasn’t able to proceed with this, I think there is a command I am missing).
Thanks.
Ok, Updated info below...
[root@localhost ~]# /usr/sbin/in.tftpd -l -a 192.168.1.15:69 -c -s /tftpboot
[root@localhost ~]# ps aux | grep -i tftp
root 7139 0.0 0.0 4328 772 pts/0 S+ 10:40 0:00 grep -i tftp
[root@localhost ~]# cat /etc/xinetd.d/tftp
# 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
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
[root@localhost ~]# service xinetd stop
Stopping xinetd: [ OK ]
[root@localhost ~]# service xinetd start
Starting xinetd: [ OK ]
[root@localhost ~]# tail /var/log/messages
Jan 13 17:32:31 localhost ntpd[1322]: synchronized to 64.95.243.61, stratum 2
Jan 13 17:39:33 localhost ntpd[1322]: synchronized to 204.235.61.9, stratum 2
Jan 13 17:44:20 localhost ntpd[1322]: time reset +0.312605 s
Jan 13 17:47:53 localhost ntpd[1322]: synchronized to LOCAL(0), stratum 10
Jan 13 17:48:58 localhost ntpd[1322]: synchronized to 64.95.243.61, stratum 2
Jan 13 17:52:17 localhost ntpd[1322]: synchronized to 204.235.61.9, stratum 2
Jan 15 10:39:43 localhost in.tftpd[7136]: cannot bind to local IPv4 socket: Address already in use
Jan 15 10:43:54 localhost xinetd[10333]: Exiting...
Jan 15 10:44:56 localhost xinetd[7176]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Jan 15 10:44:56 localhost xinetd[7176]: Started working: 1 available service
[root@localhost ~]# ps aux | grep -i tftp
root 7181 0.0 0.0 4328 768 pts/0 S+ 10:45 0:00 grep -i tftp
[root@localhost ~]# tail -f /var/log/messages
Jan 13 17:32:31 localhost ntpd[1322]: synchronized to 64.95.243.61, stratum 2
Jan 13 17:39:33 localhost ntpd[1322]: synchronized to 204.235.61.9, stratum 2
Jan 13 17:44:20 localhost ntpd[1322]: time reset +0.312605 s
Jan 13 17:47:53 localhost ntpd[1322]: synchronized to LOCAL(0), stratum 10
Jan 13 17:48:58 localhost ntpd[1322]: synchronized to 64.95.243.61, stratum 2
Jan 13 17:52:17 localhost ntpd[1322]: synchronized to 204.235.61.9, stratum 2
Jan 15 10:39:43 localhost in.tftpd[7136]: cannot bind to local IPv4 socket: Address already in use
Jan 15 10:43:54 localhost xinetd[10333]: Exiting...
Jan 15 10:44:56 localhost xinetd[7176]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Jan 15 10:44:56 localhost xinetd[7176]: Started working: 1 available service
You still are missing the ‘v’ option in /etc/xinetd.d/tftp file. This tells the server to send verbose messages to the log.
“Anyway, edit your cat /etc/xinetd.d/tftp, look at mine, take out the disable line and add the verbosity flag (the -v) to the start arguments so we get more info than the messages.”
Yeah, I am not sure how to do this.
That link is a great start for editing files. Thank you for that. It seems pretty straight forward. What I don’t know is
-what is the disable line?
-what are the start arguments?
I assume I have to have the file I want to edit pulled up on my screen? Not sure how to do that.
Thanks.
It is obvious that I am new to all this stuff. While I completely understand that hand holding isn’t the best approach, that is what I am looking for in regards to this setup. This stuff is all new to me and I have already wasted days trying to figure out what I need to do and in what order. There are just too many possibilities of things to try (for someone who has never done this before) with the setup that I have.
I have looked at the same threads over and over and I just isn’t coming to me (I have probably been staring at answer, I just don’t know it).
skykingoh, I really do appreciate your help. Your guidance has been valuable just not enough for a newb like myself. Someone with more knowledge of the system could have probably figured it out after reading your posts.
Is it possible to give me some more information regarding some of these commands?
I know I am not the only one trying to get Cisco Phones and Free PBX to work. But some of the other threads I read don’t have the issues I am having and even though the setup is the same, they are not/were not stuck in the same spot I am stuck in.
Thanks.
What is the best way to post my config file? I am just curious if something obvious sticks out to someone who knows what they are looking at. I have read several forums and all of them had slightly diff config files, but they all seem to have changed the same fields/values.