The Configuration Modification Method for disabling TR069 for HG8240 optical cats

Source: Internet
Author: User
Tags ultraedit

The home broadband suddenly broke down yesterday afternoon.

I checked via telnet and found that the telecomadmin password of Huawei HG8240 was changed.

After the password is recovered, go to the optical cat and find that the bridge mode set after the previous cracking has been changed back to the routing mode. [Angry]! The hateful Telecom remotely modified my device. It seems that last lazy has left a side effect. Well, this TR069 management protocol must be eliminated this time.

 

However, you cannot delete TR069 on the Web management interface of the vro through Telecomadmin. As shown in figure 2 below, "network"-"Broadband Settings" have three connections:

  • Optional tr069_voip_r_vid_46
  • 2_OTHER_ B _VID_85
  • 3_INTERNET_ B _VID _

The first rule tr069_voip_r_vid_46 is the TR069 management protocol. The 2nd 2_OTHER_ B _VID_85 is used for IPTV, and there is no IPTV in my house. The 3rd 3_INTERNET_ B _VID _ is responsible for Internet connection.

When tr069_voip_r_vid_46 is gray, it cannot be modified.

 

Google did not find a way to undo this, nor how to disable the TR069 protocol. So I had to find it in the configuration file.

The file you need to modify is/mnt/jffs2/hw_ctree.xml, just like querying the telecomadmin super administrator password and modifying the maximum number of connections.

However, this configuration file is too long to be found, and the vi editing interface does not have enough content. So I decided to download it first and use UltraEdit To Have A Good taotao. The Simple Method for downloading configuration files is to use TFTP. Of course, you must first build a TFTP server, which is actually a very small software. After reading this article, you can directly edit vi without downloading the configuration file)

 

TFTP download configuration file]

Go to the telnet configuration page of the optical cat

WAP> shell
WAP (doupa Linux) # cd/mnt/jffs2
WAP (doupa Linux) # tftp-p-l hw_ctree.xml-r hw_ctree.xml 192.168.1.3

Note:-p indicates put. put indicates download because the computer acts as a tftp server. -L followed by the local file name,-r and remote file name, and finally the tftp server address .)

 

Then return to the computer and use UltraEdit to open it. Remember not to convert it to the DOS format), and search for the TR069_VOIP string. After finding it, there is an Enable = "1" at the beginning of the same row. Here, you only need to change 1 to 0.

650) this. width = 650; "style =" background-image: none; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px; border-right -: "title =" image "border =" 0 "alt =" image "width =" 873 "height =" 389 "src =" http://www.bkjia.com/uploads/allimg/131227/0145431Z9-0.png "/>

Disable and verify TR069]

After modification, you can upload the file through tftp or directly modify the vi file.

WAP (doupa Linux) # tftp-g-l hw_ctree.xml-r hw_ctree.xml 192.168.1.3

After you restart the vro, you can find that the "enable WAN connection" is missing. As shown in.

(Note: This "enable" translation is very junk and should be translated as "enable WAN connection 」.)

650) this. width = 650; "style =" background-image: none; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px; border-right -: "title =" image "border =" 0 "alt =" image "width =" 660 "height =" 535 "src =" http://www.bkjia.com/uploads/allimg/131227/0145435219-1.png "/>

After checking the status, the TR069 Management port no longer obtains the IP address. Without managing the IP address, China Telecom will be unable to remotely control my optical cat.

650) this. width = 650; "style =" background-image: none; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px; border-right -: "title =" image "border =" 0 "alt =" image "width =" 615 "height =" 323 "src =" http://www.bkjia.com/uploads/allimg/131227/0145435P8-2.png "/>

 

However, I still haven't figured out how to modify the configuration to remove this gray state, but I still cannot modify it on the Web interface. If anyone knows how to crack the attack, please let us know. Thank you very much.

 

 

P.S. On how to crack the HG8240 telecomadmin password, how to crack the maximum number of connections, please refer to the http://wenku.baidu.com/view/d21f0f8771fe910ef12df878.html

This article is from the "delxu Tech Notebook" blog, please be sure to keep this source http://delxu.blog.51cto.com/975660/967199

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.