📜 ⬆️ ⬇️

Cisco 7912G flashing

Not so long ago, about 10 ip-phones of Cisco 7912G came to me, they were killed. Burned on
bulbs hold and menu at the same time, the display was empty. That at such a phone
dead and need to be reflashed with the programmer. Because I really didn’t want to
workarounds. I got a dhcp server on my laptop, the phone got unused address, it means that
more or less alive, just flashed firmware.
Began to look for documentation on the firmware - almost nothing, the firmware is almost not
to find, on the tsisko website they offered to sign a contract for support in order to gain access to
firmware. I had to collect information bit by bit.
We put the necessary software:
apt-get install tftp tftpd dhcp3-server
In Cisco ip phones, if there is no firmware or it is damaged, the phone takes un
address with dhcp server, and trying to pick up the firmware from the tftp server specified in dhcp.

dhcpd.conf:
ddns-update-style interim;
ignore client-updates;
# tftp Cisco 7912G,
# .
option option-150 code 150 = ip-address;
option option-150 192.168.5.1;

default-lease-time 21600;
max-lease-time 43200;
#
subnet 192.168.5.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.5.255;
option time-offset -18000; #
option option-150 192.168.5.1;
# TFTP ( , )
next-server 192.168.5.1
# , tftp
range dynamic-bootp 192.168.5.2 192.168.5.100;
}

Start the dhcp server, look in the syslog with the command:
tail -f / var / log / syslog (we need root rights)
We see that the phone is trying to take the file cp7912r.zup from the TFTP server. I could not find this file.
I downloaded the firmware for sip from the pirate bay , inside the archive there is a file CP7912080001SIP060412A.sbin, which needs to be renamed cp7912r.zup and put in / srv / tftp /


Crosspost from my blog

')

Source: https://habr.com/ru/post/37473/


All Articles