Cisco 7940G TFTP file not found

jedski
Posts: 82
Member Since:
2007-04-08

Hi i'm new to all this and just wondered if anyone could help..
I have a working trixbox server running trixbox 2.2 and a cisco 7940G IP phone.
My problem is that when the phone logs on to the server to request the configuration files they seem to download OK, judging by the display on the 7940G, it displays the files requested, but then i get a TFTP file not found error, i have followed instruction visa vi run 'setup-cisco' on command line and even tried to ad the phone manually as the mapping does not find anything.
The phone menu etc is not accessible either whilst in this state so i'm kinda guessing it might be firmware related. or maybe not. like i said im new to this, seem to have jumped in at deep end.
Also checked to see if files are in /tftpboot via config edit and it shows 3 files:
SIP000D288F925A.cnf
SIPDefault.cnf
snom.cnf

Im stumped but will keep trawling the forums and posts for any ideas, any help would be gratefully accepted and appreciated.
Thanx
jedski

--

'Whatever you do DON'T press the red button'

theosaurus... a very intelligent, but extinct, person from geek mythology..



jedski
Posts: 82
Member Since:
2007-04-08
as above

well it seems some 8 hours later I'm in the same predicament, however, learnt a bit at the same time.
It is a firmware prob, dammed annoyed can't get into the phone even though.

seems to be transfering the required files from server but still says file not found at end of it checked the router for IP and pinged it, it's on the network..
can't web admin, obviously, all i can think of is that the image file must be corrupt or incomplete as it shows file transfer activity on the phone, the most annoying thing is it was working yesterday until i tried to provision it for my trixbox doh! :(

--

'Whatever you do DON'T press the red button'

theosaurus... a very intelligent, but extinct, person from geek mythology..



hotrot
Posts: 31
Member Since:
2006-06-02
Jedski, try reading

Jedski,

try reading this

http://www.voip-info.org/wiki/index.php?page=Asterisk+phone+cisco...

Greetings

andy



jedski
Posts: 82
Member Since:
2007-04-08
done it..

Hi Andy, thanx for that but already been down that route, when i say i'm new to this i mean very new. situation so far is
in tftpboot is all the image files needed to update to 7.5 or 7.4 or 8.6
but can't see a SEPXXXXXXXXX file only SIPXXXXXXXXX.cnf. changed the image_version in SIPXXXXXXXX and SIPDefault
i'm not sure if the phone is connecting to my tftp server. tried a windows version on another PC but no joy, i know i could probably solve this problem if i could get into the 'settings' menu on the phone, then i could define the dam tftp settings, but can't get into phone, after boot it displays 'TFTP file not found' and then will NOT do a chuffing thing...It was working before i started all this crazy crazy stuff :) i'm considering jumping on it see if that has any luck lol.. Thought i was getting somewhere around 2.00am this morning as i saw the filenames appear one by one on the phone display but now just get the 'file not found' message. i don't even know what firmware or version is on the thing... is there any way to get into settings even if phone doesn't get files???? :(

--

'Whatever you do DON'T press the red button'

theosaurus... a very intelligent, but extinct, person from geek mythology..



strobes
Posts: 80
Member Since:
2006-07-11
I think this phone has

I think this phone has option to set up a backup TFTP server address. Use **# to unlck it
I use PumKIN TFTP software for Win. works good



hotrot
Posts: 31
Member Since:
2006-06-02
Jedski,What TFTP settings

Jedski,

What TFTP settings has your DHCP server. Is it set correct?

After rethinking your problem. My 7960 and 7940 always let me in the Settings even if the file is not found.. Did you realy had the right Frimware?

the SIPXXXXX.cnf.xml has the correct firmware settings of witch you placed in the TFTPBoot server??

Did you check /var/log/atftpboot.log asuming you're using the aftpboot installed by trixbox.???

Greetings

Andy



jedski
Posts: 82
Member Since:
2007-04-08
Doing my head in

Hi and thanx for the replies, this is doing my head in.
So far i have re-installed the trixbox and placed the image files in the /tftpboot dir.
i have copied the *.xml files from cisco_util and edited the to load the images i have placed there. checked SIPXXXXXXX.cnf image_version is correct and same in SIPDeafult.cnf.
i have been in my router and the 7940G is listed with its mac and DHCP given IP address also i forwared port 69 to my trixbox.
still nothing, i actually don't think the phone is talking to the tftp server, going to investigate it later on in log files, also the phone DID work previous to all this and even let me in the menu settings. but now it is like its hanging after reboot as if there is no firmware or something as it won't do a thing no matter what i press, except '* 6 settings' for reboot, anyhoo thanx again for the Input anymore ideas greatly appreciated

Thanx
Jedski

--

'Whatever you do DON'T press the red button'

theosaurus... a very intelligent, but extinct, person from geek mythology..



jedski
Posts: 82
Member Since:
2007-04-08
dam trixbox

Warning: fread(): Length parameter must be greater than 0. in /var/www/html/maint/includes/functions/genYumArray.php on line 21
Warning: fread(): Length parameter must be greater than 0. in /var/www/html/maint/includes/functions/genYumArray.php on line 196

where did that come from.... thanx for the replies and the info guys.... going to do re-install of the trixbox. i was using v 2.2 but seem to get some probs now and in the past, i shall put in the v 2. and start all over again... bah!!!!!!! :) itsy only an hour or so eh!

Poor Liverpool, must try harder next time....

--

'Whatever you do DON'T press the red button'

theosaurus... a very intelligent, but extinct, person from geek mythology..



casper_1987
Posts: 4
Member Since:
2007-05-23
Same issue

I got the same issues with one of my 7940G

doing a TCPdump dst port 69 i can see it Req the file. can also get from other machine pulled down the P0S3-08-6-00.sb2
15:37:32.648774 IP 192.168.1.100.50820 > 192.168.1.254.tftp: 31 RRQ CTLSEP000BBE5BDB3D.tlv" octet
15:37:32.669827 IP 192.168.1.100.50821 > 192.168.1.254.tftp: 32 RRQ SEP000BBE5BDB3D.cnf.xml" octet
15:37:32.689381 IP 192.168.1.100.50822 > 192.168.1.254.tftp: 28 RRQ "SIP000BBE5BDB3D.cnf" octet
15:37:32.743060 IP 192.168.1.100.50823 > 192.168.1.254.tftp: 23 RRQ "SIPDefault.cnf" octet
15:37:32.791680 IP 192.168.1.100.50824 > 192.168.1.254.tftp: 30 RRQ "./SIP000BBE5BDB3D.cnf" octet
15:37:32.846403 IP 192.168.1.100.50825 > 192.168.1.254.tftp: 27 RRQ "P0S3-08-6-00.loads" octet
15:37:34.598667 IP 192.168.1.100.50826 > 192.168.1.254.tftp: 25 RRQ "P0S3-08-6-00.sb2" octet

After TFTP File not found the phone download the same files



jedski
Posts: 82
Member Since:
2007-04-08
re-install

well i installed trixbox 2 but the problem is still there. i don't think the phone is talking to the server... checked the atftp log and its empty..
Anyone any ideads about ports for TFTP, all i got is port 69 forwarded to server.

--

'Whatever you do DON'T press the red button'

theosaurus... a very intelligent, but extinct, person from geek mythology..



jedski
Posts: 82
Member Since:
2007-04-08
not working

Hi, yes apparently they do but mine locks itself out whilst trying to either connect to the network or contacting the tftp server. i think the firmware might be corrupt, although the app loader is still working.
Dam thing was working 48 hrs ago.........
going to av a play around if not working i will contact Cisco see if they have any solutions,,,,probably cost but what the hell...
regards

jedski..... :)

whatever you do DON'T don't push the red button

--

'Whatever you do DON'T press the red button'

theosaurus... a very intelligent, but extinct, person from geek mythology..



jedski
Posts: 82
Member Since:
2007-04-08
port settings

you lost me there, i'm not familiar with this linux and trixbox but learning very quickly ( from the days of DOS) i am presuming that because the /tftpboot dir is there that the atftp is setup, in packages it says it is installed, dont think phone is talking to server, i have 69 forwarded to server but no joy, any ideas ....

--

'Whatever you do DON'T press the red button'

theosaurus... a very intelligent, but extinct, person from geek mythology..



casper_1987
Posts: 4
Member Since:
2007-05-23
jedski quick way to check if

jedski quick way to check if TFTP is run from windows

open up CMD or Dos
"tftp (trixbox IP) get P0S3-08-2-00.sb2"

or from ur trixbox u can review the atftpd log files with

cat /var/log/atftpd.log
when u logged into the tribox box (via ssh or with screen and keyboard)

or to get real time info from ur box try

"tcpdump dst port 69"



jedski
Posts: 82
Member Since:
2007-04-08
no data

the problem is half solved.
checked tftp log....no activity....
i av decided its a firmware issue and after a factory reset i am presented with error message "Protocol Application Invalid" dammmmm!
i must av given it a bad image file or something... seem like i have to get the factory shipped software back on it and as i dont have , use or own cisco call manager , i'm stumped for now...
any suggestions to if this is possible using the trixbox tftp method???? or anything?

other than this i will keep reading for troubleshooting and stuff....

dammmm phones....

--

'Whatever you do DON'T press the red button'

theosaurus... a very intelligent, but extinct, person from geek mythology..



casper_1987
Posts: 4
Member Since:
2007-05-23
Jedski, Yea i stuck as

Jedski,

Yea i stuck as well,

If there no tftp info in ur log looks more to be a DHCP issues, are u using ur router as the DHCP server? if so the router wont tell the phone where its TFTP server is.

You have to setup a DHCP server on a window box or on a trixbox to send the tftp info to the phone.

I currently going to take my phone into work tomorrow and hope it get Skinny version put on it. then try the upgrade from Skinny to SIP again. then go from there.



jedski
Posts: 82
Member Since:
2007-04-08
good idea

I av come to same conclusion Casper, going to setup DHCP over the weekend and try again.
If i didn't know the original firmware, coz can't get into phone , what SCCP version should put back on it?
Just got a 7911 CH1 today , am going to play with that a little more carefully...lol.

--

'Whatever you do DON'T press the red button'

theosaurus... a very intelligent, but extinct, person from geek mythology..



casper_1987
Posts: 4
Member Since:
2007-05-23
Mmm i just plug the phone in

Mmm i just plug the phone in at work to get the SCCP version and it does the same thing.

1. Boots
2. download config
3. Download *.loads
4. Report TFTP File not found
5. Reboots and starts again

One of the guys at work said the RS232 port can be used as a console port so i may try using that and see what i can pull up from the phone side of things when i can find my Com port to RJ45 socket and plug the RJ45 - RJ12 cable in.

On the SCCP version i'm not sure which one



ehawk01
Posts: 1
Member Since:
2007-04-28
I was having the same issue.

I was having the same issue. I work alot with the cisco gear. I tried to follow some of the posting that I saw that stated to use option 66 for the tftp server. That didnt work for me so I used option 150. that worked for me. I have a cisco router that i use as my dhcp server. I did not try this on a windows device. Cisco also recommends option 150 for their call manager. if you are going from the mgcp or sccp to sip try the opton 150 in your dhcp server.



percykwong
Posts: 758
Member Since:
2007-04-30
GET YOUR 7940 WORKING IF YOU FOLLOW THESE DIRECTIONS..

ok guys.. here's how to do it..

Some things to know first:

1. most cisco phones come with the skinny (SCCP) image. So you need to flash it to sip. Make sure you get the SIP firmware.. I believe the newest one out is 8.6.0.

2. You can get the SIP firmware from voip-info. http://www.voip-info.org/wiki/index.php?page=Asterisk+phone+cisco...

3. SEPXX files are for the 7970 series.. this is a 7940 so you'll be futzing around with SIPXX.cfg files

4. You need to tell the phone to contact the tftp server.

5. For the love of god.. configure this on the internal network first! then get it working outside the firewall!

6. To Factory Default the phone hit *+6+settings then hold down the # key until you see reset sequence detected. then type 123456789*0#

OK.. there's the initial stuff to remember..

so here goes.. I'm doing this from memory so bear with me if i get a few steps a little fuzzy..

1. Download the SIP firmware into the /tftpboot directory
2. type tar -xzvf sip.firmware.file.cop
3. Edit the SIPDefaults.cnf file and change line 2 in the file to the following..
image_version: "P0S3-08-6-00"
4. put in the internal proxy ip address of your sip server in anything that says proxy1_address: for example..

proxy1_address: "192.168.1.200"

5. Emergency proxy should be that IP address as well.. and so should outbound proxy and proxy backup.
6. proxy1_port should be: 5060
all proxy ports should be 5060

7. Power on the phone.. hopefully you have a power adapter.. I don't like flashing phones on POE.. but that's just my preference.

8. wait the 10 minutes or so for the phone to start up and it'll say phone unprovisioned.
9. hit the settings button on your phone.
10. go to the unlock config setting.. the password will be "cisco" all lower case no quotes.
11. now go to the network settings configuration page.
12. scroll down to "Alternate TFTP" and change the setting to yes.
13. now go up to TFTP Server and put in your trixbox ip address.
14. note the mac address of your phone.. it's on the bottom on a white sticker or on the box.
15. VERY IMPORTANT HERE>...
16. Go to Trixbox and go to endpoint manager.
17. select cisco phones and add cisco phone.
18. enter the info you need. mac address, extension, password.
19. hit apply.
20. go to freepbx and create the extension and make sure the password and the phone secret are the same..
21. hit save
22. hit the cute little red bar.
23. hit confirm dialog box.
24. reboot the cisco phone.
25. wait the 20 or so minutes it takes for your cisco to update your firmware and register to the network. If you interrupt this process your phone is going to be a brick.. so be patient. if it's gone by 45 minutes and your phone isn't started up, try to factory reset it and try again.
26. enjoy your newly configured cisco phone.

Let me know how it works out.. it should be good to go now.

--

-----------------------------------------------
Percy Kwong
Trixbox Tech Support - 202.600.3884

Swimminginthought.com



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.