[asterisk-users] C7960 TFTP [Slightly off-topic]

Steve Finkelstein sf at stevefink.net
Fri Apr 20 13:38:31 MST 2007


Hi all,

This is slightly off-topic, but I was hoping to be able to receive some
insight as I'm sure plenty of experts with c7960's exist on this mailing
list.

I'm attempting to upgrade from SIP 8.3 -> 8.6 on a C7960G that I
inherited. I have my TFTP setup and unfiltered. The phone is doing TFTP
over the internet as I'm telecommuting today, but I've placed it on the
dmz to avoid any firewall headaches.

Here's what a packet capture looks like:

tcpdump -vv -Xnni eth1 -s 1000 port 69
tcpdump: listening on eth1, link-type EN10MB (Ethernet), capture size
1000 bytes

----

16:30:25.649429 IP (tos 0x0, ttl  51, id 1612, offset 0, flags [none],
proto: UDP (17), length: 56) 1.2.3.4.50770 > 64.90.184.96.69: [no cksum]
 28 RRQ "SIP00187330C526.cnf" octet
        0x0000:  4500 0038 064c 0000 3311 b2a8 44c1 9145  E..8.L..3...D..E
        0x0010:  405a b860 c652 0045 0024 0000 0001 5349  @Z.`.R.E.$....SI
        0x0020:  5030 3031 3837 3333 3043 3532 362e 636e  P00187330C526.cn
        0x0030:  6600 6f63 7465 7400                      f.octet.
16:30:41.667380 IP (tos 0x0, ttl  51, id 1617, offset 0, flags [none],
proto: UDP (17), length: 56) 1.2.3.4.50771 > 1.2.3.5.69: [no cksum]  28
RRQ "SIP00187330C526.cnf" octet
        0x0000:  4500 0038 0651 0000 3311 b2a3 44c1 9145  E..8.Q..3...D..E
        0x0010:  405a b860 c653 0045 0024 0000 0001 5349  @Z.`.S.E.$....SI
        0x0020:  5030 3031 3837 3333 3043 3532 362e 636e  P00187330C526.cn
        0x0030:  6600 6f63 7465 7400                      f.octet.
16:31:15.596217 IP (tos 0x0, ttl  51, id 1606, offset 0, flags [none],
proto: UDP (17), length: 51) 1.2.3.4.50757 > 1.2.3.5.69: [no cksum]  23
RRQ "SIPDefault.cnf" octet
        0x0000:  4500 0033 0646 0000 3311 b2b3 44c1 9145  E..3.F..3...D..E
        0x0010:  405a b860 c645 0045 001f 0000 0001 5349  @Z.`.E.E......SI
        0x0020:  5044 6566 6175 6c74 2e63 6e66 006f 6374  PDefault.cnf.oct
        0x0030:  6574 00                                  et.
16:31:31.621286 IP (tos 0x0, ttl  51, id 1611, offset 0, flags [none],
proto: UDP (17), length: 58) 1.2.3.4.50758 > 1.2.3.5.69: [no cksum]  30
RRQ "./SIP00187330C526.cnf" octet
        0x0000:  4500 003a 064b 0000 3311 b2a7 44c1 9145  E..:.K..3...D..E
        0x0010:  405a b860 c646 0045 0026 0000 0001 2e2f  @Z.`.F.E.&...../
        0x0020:  5349 5030 3031 3837 3333 3043 3532 362e  SIP00187330C526.
        0x0030:  636e 6600 6f63 7465 7400                 cnf.octet.
16:31:47.652531 IP (tos 0x0, ttl  51, id 1617, offset 0, flags [none],
proto: UDP (17), length: 58) 1.2.3.4.50759 > 1.2.3.5.69: [no cksum]  30
RRQ "./SIP00187330C526.cnf" octet
        0x0000:  4500 003a 0651 0000 3311 b2a1 44c1 9145  E..:.Q..3...D..E
        0x0010:  405a b860 c647 0045 0026 0000 0001 2e2f  @Z.`.G.E.&...../
        0x0020:  5349 5030 3031 3837 3333 3043 3532 362e  SIP00187330C526.
        0x0030:  636e 6600 6f63 7465 7400                 cnf.octet.
16:32:03.679382 IP (tos 0x0, ttl  51, id 1623, offset 0, flags [none],
proto: UDP (17), length: 58) 1.2.3.4.50760 > 1.2.3.5: [no cksum]  30 RRQ
"./SIP00187330C526.cnf" octet
        0x0000:  4500 003a 0657 0000 3311 b29b 44c1 9145  E..:.W..3...D..E
        0x0010:  405a b860 c648 0045 0026 0000 0001 2e2f  @Z.`.H.E.&...../
        0x0020:  5349 5030 3031 3837 3333 3043 3532 362e  SIP00187330C526.
        0x0030:  636e 6600 6f63 7465 7400                 cnf.octet.

---

The phone also displays TFTP SIP00187330C526.cnf on its LCD, however it
does not appear to be retrieving binaries from the tftpserver.

tftproot # cat OS79XX.TXT
P003-08-6-00

-rwxr-xr-x 1 root   root     129824 Dec 12 16:54 P003-08-6-00.bin
-rwxr-xr-x 1 root   root     130228 Dec 12 17:21 P003-08-6-00.sbn
-rwxr-xr-x 1 root   root        459 Dec 12 17:40 P0S3-08-6-00.loads
-rwxr-xr-x 1 root   root     753560 Dec 12 17:20 P0S3-08-6-00.sb2
-rw-r--r-- 1 root   root     681556 Jan 10 14:55 P0S3-08-6-00.zip
-rw-rw-rw- 1 root   root        779 Apr 20 14:21 SIP00187330C526.cnf
-rw-rw-rw- 1 root   root       4658 Apr 20 16:29 SIPDefault.cnf
-rw-rw-rw- 1 nobody nobody 11675652 Mar 28 16:18 c2600-entbase-mz.123-22.bin
-rw-rw-r-- 1 nobody nobody  7735532 Jan 16 15:54 c2600-i-mz.123-21.bin
-rw-rw-rw- 1 nobody nobody 11100664 Jan 16 16:24 c2600-ik9s-mz.122-27.bin
-rw-rw-r-- 1 nobody nobody  8450865 Feb 27 23:35
c3560-advipservicesk9-mz.122-35.SE1.bin
-rw-rw-rw- 1 nobody nobody     2726 Jan 16 16:23 cmeinternetlink-confg
-rw-r--r-- 1 root   root        223 Apr 20 14:13 dialplan.xml
-rw-rw-rw- 1 nobody nobody     1413 Jan 16 16:10 helfant-confg
-rw-r--r-- 1 root   root        779 Apr 20 14:11 xmlDefault.CNF.XML

Thanks for any suggestions all,

- sf


More information about the asterisk-users mailing list