bump
I am just not sure how to help. I don’t even know what “these commands” means.
Perhaps it’s the fact that you don’t fundamentally know how the parts fit together like tftp, SIP etc. You need to understand how to test each. Start at the bottom and work up. It seems that in over a month you are not even sure if you have a working tftp server.
Have you ever thought of offering up a small bounty (like a nice steak dinner) and maybe one of the guys in the forum would log onto your machine with you in a remote support session and get you on track.
Is this a bounty forum? I wasn’t aware. There are forums that are dedicated bounty forums, which means my question is not sarcasm.
I visit forums to read and help people. I am not really helping anyone here since I don’t know much, but I have done my part at other places (bounty free).
It is obvious that I don’t know how to complete this, if it isn’t obvious, I am going to need a cookbook, not a link to something else that I don’t understand.
I think you know exactly where I am stuck and what I need to do to get out of this hole.
Since my last post, I have read alot (believe it or not) and I am still not getting to the next step. I just don’t know what I am missing.
I do understand the firmware types, SCCP, SIP and I even learned that there is another one…MGCP, but not very common.
I am not really sure what I can offer (in terms of help). If I wanted to pay someone I would have done that long ago, but I would also like to see how this is done to learn where I am making a mistake and failing.
I have SIP firmware (not on phone, yet) and I know that I need to put the files in the tftpboot directory so the phone can find them. I also know that certain config files need to be edited, but I can’t get to that point of the tftp server isn’t running. You told me what needed to be done for tftp and logging, but I wasn’t sure how to do that, so that is where I stopped. I am not looking to setup an office and get it done for free using this forum, I am looking to setup 1 phone 1 extension using the FreePBX distro.
With all of these back and forth posts, the error I am having could have been pointed out and corrected.
Thanks.
This is where I am stuck (from your directions)
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.Restart the service again (you can do Tony’s way or ‘service xinetd restart’
then tail out your system messages file.
On the off chance it’s disable in the config file do a ‘cat /etc/xinetd.conf’
Not sure how to add the verbose flag and how to edit the file.
The service is running, disable says no, not yes. unless I have that part wrong, as well.
Do you know how to edit a file yet? You were able to dump it.
The server argument needs to look like this:
Your says:
server_args = -s /tftpboot
It needs to say:
server_args = -s /tftpboot -vvv
This will turn up the log level.
Edit the file:
vi /etc/xinetd.d/tftp
arrow down to line
push i button
insert the -vvv at the end of the line
push the escape key
enter :w to write to disk and press enter
push the escape key
enter :q then press enter to leave editor
type cat /etc/xinetd.d/tftp to verify your work
look at scree and verify work
type service inetd restart
read log file
more /var/log/messages
each push of space bar will display another page
If you want to learn how to properly scroll through a file
type man less
read the commands you can go backwards and forwards, q gets you out of man.
now less /var/log/messages
big G takes you to bottom of file
/tftp
highlights all instances of string.
now you can page up and down
watch the log live
tail -f /var/log/messages
^c gets you out
[size=27] I hope all of this gets you where you somewhat on course. It’s a degree of hand holding I am not comfortable with, everything here I/we have pointed you to in previous posts. BTW it’s not a bounty forum per se but money is a great motivator to get someone’s attention, home or not time is valuable yours and everyone else’s. [/size]
Thanks for typing that out. I am not sure why you said you “pointed you to in previous posts.”
The first time I saw it was in your last post.
Thanks for the help. I have been reading/searching forums/topics and I never once saw anything like what you posted above.
[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 { disable = no socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /tftpboot -vvv per_source = 11 cps = 100 2 flags = IPv4 } [root@localhost ~]#
Did you ever try typing
tftp
in the search box at the top of this page? You would have benn rewarded with many dozen hits and options to server-args are specifically mentioned 16 times.
@ Did you ever try typing
Yes, I did plenty of searching. When you know what to look for I am sure it is very easy. I could have been looking right at the answer and not even realized it.
This just seems to be one thing after another. Now I am not able to click the + button in the GUI to add the firmware/files I need to add.
If I ever get this going, I promise I am going to create a walk-through. I am surprised there are so many hoops to jump through just to get a few simple things working.
As Dicko said we have been telling you to do that since day 1.
All I did was basically do it for you.
There are at least a dozen text editors other than VI, VI was just easy to tell you the commands to without having to explain multiple control key stuff.
In order to figure this out you have to be able to read the docs for each command and take it out of the abstract and relate it to the practical.
If I hand you a screwdriver having never seen a screw you would not know what to do with it. Once demonstrated you now know how to work on many types of fasteners. It’s called relational thinking and the better developed the skill the quicker you will grasp complex system by analyzing the parts.
Now that we are over this extremely painful hump.
Is the phone contracting the tftp server
Have you copied the firmware over
Did you setup the endpoint manager and config your MAC’s
You should be so close
Forgive me but in your very second post , I quote you:-
“I don’t have a problem setting up a tftp server. . .”
The walk-through’s are all there in the Documentation, Perhaps you would find less hoops in your way if you slowed down and read your way through the documentation chapter by chapter .I am sure that approach will work for you as well as it has for many others.
Correct, I don’t have a problem setting up a tftp server (with directions).
Is there an easy way to search through the documentation articles?
I can’t upload to /tftpboot
I tried sending a test file to it (from ssh) via some directions in a forum and when I refresh the GUI I see the test file there, so uploading a test file worked, but the same code in SSH didnt work for a .tar or .zip files. I assumed the tftp manager add-on that I added would allow me to upload from the web browser.
Thanks.
The easiest way I know for reading Documentation is starting at chapter one, going through to the last chapter and then startover to chack the bits you missed the first time.
After you do that successfully, you might want to add -c for create to your server_args before trying top upload, honestly, it’s all out there on google.
We are probably all still confused by your ongoing mis-nomers, you say it worked “(from ssh)” but the same code in SSH didn’t, you bumble on about your tftp manager add-on, but ther i no need for one, any tftp client will work once your get your permissions and ownerships right,.
On second thought, you need to complete a basic linux/bash tutorial or two, before you read any more advanced documentation.
Yeah I think you are right, I don’t know what a tftp manager add on is either nor do I know of a facility to upload files from a web browser.
I think a Linux/Bash tutorial is something you need.
However in the interest of keeping you moving, I assume you have uncompressed the .zip file with the Cisco firmware on a Windows machine. Now you need to use scp (secure copy) protocol to move the files between system. The easiest way to do this is with our friend WinSCP, a Norton Commander interface style free utility. Make sure you get it from Sourceforge and not some virus/malware site.
Do not under any circumstances use the editing facility built into scp. It will open the files in DOS on your local PC and trash them. It inserts invisible ASCII control characters that are a royal pain to find.
Once you get your firmware into tftpboot make sure the firmware filename is in your Cisco global settings in endpoint manager. It is case sensitive.
Thanks for the last set of posts. Apparently I got in way over my head.
Let me try to answer some questions.
SSH I was referring to was the fact that I could upload a test.txt file into /tftpboot (while SSHed into freepbx server).
I was told to download a tftpmanager (from this thread) for freepbx. The tftp manager has a refresh arrow and a + icon, I assume to add files directly from the freepbx GUI. Nothing happens when I click on that box.
To skykingoh- Yes, I have the files unzipped on my windows7 desktop, but wasn’t sure how to get them to /tftpboot on freepbx. Aside from unzipping, I haven’t tried anything else since I was struggling with the upload.
I have admitted to being a total noob, but I will also admit that I didn’t think it was going to be this hard to get 1 phone/ext working. I knew that it wasn’t going to be easy, but I have started other tech projects with limited knowledge and have never this much trouble. Even with google and documentation, the other tech projects I started did not give me this many problem.
As far as the endpoint manager, that is yet another issue, the cisco phone I have is not part of the endpoint manager in freepbx. Although, I was told that doesn’t matter since I am only configuring one phone.
Thanks.
Ok, I have all of the files in /ftfpboot directory
dialplan.xml
distinctiveringlist.xml
List.xml
OS7970.TXT
RINGLIST.dat
ringlist.xml
SEP-CISCO-PHONE-MAC-HERE.cnf.xml
XMLDefault.cnf.xml
apps70.8-3-0-50.sbn
cnu70.8-3-0-50.sbn
cvm70sip.8-3-0-50.sbn
dsp70.8-3-0-50.sbn
jar70sip.8-3-0-50.sbn
SIP70.8-3-1S.loads
term70.default.loads
term71.default.loads
Nothing seems to be happening when I power up the phone. It has the correct TFTP IP in the phone network settings, which means it is pulling a proper DHCP address from the server.
Editing the SEPMACADDRESS.cnf.xml file is where I might have a few errors.
Well you can’t use the endpoint manager with that phone. You can however at least check the phone logs from a web browser and see where it is croaking.
Task 1 is to look in the log and see if it is pulling files from the tftp server during boot. Recall the ‘tail -f /var/log/messages’ that will display the log live as it is written to.
Did you reset the phone to factory defaults (you have to hold down a key as it boots and enter a key sequence" see: http://www.youtube.com/watch?v=-18PvQ216e8
Make sure you read the notes because he made a mistake in the text.
Yeah, looks like he pushed one key and had another key typed out in the on screen text.
Here is the log. I did the reset and I see that it says error really quick on the screen. Here is what the log shows:
Mar 3 21:56:14 localhost in.tftpd[1903]: RRQ from 192.168.1.129 filename Jar70s ip.8-3-0-50.sbn Mar 3 21:56:14 localhost in.tftpd[1903]: sending NAK (1, File not found) to 192 .168.1.129 Mar 3 21:56:14 localhost in.tftpd[1904]: RRQ from 192.168.1.129 filename cnu70. 8-3-0-50.sbn Mar 3 21:58:54 localhost in.tftpd[1923]: RRQ from 192.168.1.129 filename term70 .default.loads Mar 3 21:58:55 localhost in.tftpd[1924]: RRQ from 192.168.1.129 filename Jar70s ip.8-3-0-50.sbn Mar 3 21:58:55 localhost in.tftpd[1924]: sending NAK (1, File not found) to 192 .168.1.129 Mar 3 21:58:55 localhost in.tftpd[1925]: RRQ from 192.168.1.129 filename term70 .default.loads Mar 3 21:58:56 localhost in.tftpd[1926]: RRQ from 192.168.1.129 filename Jar70s ip.8-3-0-50.sbn Mar 3 21:58:56 localhost in.tftpd[1926]: sending NAK (1, File not found) to 192 .168.1.129 Mar 3 21:58:56 localhost in.tftpd[1927]: RRQ from 192.168.1.129 filename cnu70. 8-3-0-50.sbn Mar 3 22:01:36 localhost in.tftpd[1962]: RRQ from 192.168.1.129 filename term70.default.loads Mar 3 22:01:36 localhost in.tftpd[1963]: RRQ from 192.168.1.129 filename Jar70sip.8-3-0-50.sbn Mar 3 22:01:36 localhost in.tftpd[1963]: sending NAK (1, File not found) to 192.168.1.129 Mar 3 22:01:36 localhost in.tftpd[1964]: RRQ from 192.168.1.129 filename cnu70.8-3-0-50.sbn Mar 3 22:01:37 localhost in.tftpd[1965]: RRQ from 192.168.1.129 filename term70.default.loads Mar 3 22:01:37 localhost in.tftpd[1966]: RRQ from 192.168.1.129 filename Jar70sip.8-3-0-50.sbn Mar 3 22:01:37 localhost in.tftpd[1966]: sending NAK (1, File not found) to 192.168.1.129 Mar 3 22:01:37 localhost in.tftpd[1967]: RRQ from 192.168.1.129 filename cnu70.8-3-0-50.sbn
Jeez, you need to read what I told you, the stuff is case sensitive. Can you not see that your filename the phone is requesting has a capital J and the filename has a lower case J.
What do you have in the software version line on the mac config file?
What do you have the ownership set to in the files in /tftpboot?
Ok, I figured it out after reading the log, now the phone says upgrading.