Bjorn Ove Kristiansen
2005-Aug-14 11:23 UTC
[Asterisk-Users] Cisco and "protocol application invalid"
Hey all! Have configured a Cisco 7960 with no problems, put up an TFTP server and it downloaded new sip binaries ? all went well. However, now I am having trouble getting two 7040s to work. Basically, my problem is the above stated error message. If I had any entries in the TFTP logfile, I could probably solve this problem. But the thing is, it just doesn?t look as if the phones are connecting to TFTP at all. Figured I?ll use a packet sniffer to find out which IP-address the phone uses for connecting to a TFTP. That turned out to be rather complicated. First, since I run routers and switches, sniffing packets on the LAN is a hard task. Then I sat up a wireless connection to the internet and onnected the phone to the computer using a shared internet connection, hoping that Windows built-in DHCP server would get the packets flowing. It did, but no packets could tell me which IP-address the phone is trying to reach? Is there any way of getting to know which IP address Cisco uses to contact TFTP? Regards, Bjorn -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Date: 12.08.2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050814/20c7cb0d/attachment.htm
Michiel van Baak
2005-Aug-14 12:05 UTC
[Asterisk-Users] Cisco and "protocol application invalid"
On 20:23, Sun 14 Aug 05, Bjorn Ove Kristiansen wrote:> Hey all! > > Have configured a Cisco 7960 with no problems, put up an TFTP server and it > downloaded new sip binaries ? all went well. > > However, now I am having trouble getting two 7040s to work. Basically, my > problem is the above stated error message. If I had any entries in the TFTP > logfile, I could probably solve this problem. But the thing is, it just > doesn?t look as if the phones are connecting to TFTP at all. > > Figured I?ll use a packet sniffer to find out which IP-address the phone > uses for connecting to a TFTP. That turned out to be rather complicated. > First, since I run routers and switches, sniffing packets on the LAN is a > hard task. Then I sat up a wireless connection to the internet and onnected > the phone to the computer using a shared internet connection, hoping that > Windows built-in DHCP server would get the packets flowing. It did, but no > packets could tell me which IP-address the phone is trying to reach? > > Is there any way of getting to know which IP address Cisco uses to contact > TFTP? > > Regards, > > Bjorn >Hi, I have put this in my dhcpd.conf to make sure my cisco phones connect to my TFTP server: server-name "192.168.2.1"; I use the ISC dhcpd for Debian. Greetz, -- Michiel van Baak http://michiel.vanbaak.info michiel@vanbaak.info GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D "Why is it drug addicts and computer afficionados are both called users?"
On 8/14/05, Bjorn Ove Kristiansen <bok2@online.no> wrote:> Is there any way of getting to know which IP address Cisco uses to contact > TFTP?Why you're making things hard for yourself for no good reason? Unlock the config, put a static entry for ip that belongs to the segment its sitting on (RFC1918 or not), put a static entry for your TFTP server and upgrade. When all goes well setup your DHCP pools with the tftp options for future use.> Regards, > > BjornHope that helps a bit nkm