通信人家园

标题: 破解电信华为HG8245光猫用到的一些命令,hw_ctree.xml下载  [查看完整版帖子] [打印本页]

时间:  2013-8-20 14:19
作者: csnower     标题: 破解电信华为HG8245光猫用到的一些命令,hw_ctree.xml下载

telnet 192.168.1.1

用户名root
密码admin
输入shell
1.输入greptelecomadmin /mnt/jffs2/hw_ctree.xml(读取配置文件)
2.输入vi /mnt/jffs2/hw_ctree.xml (修改模式)
3./名称(查找){比如 /telecomadmin 查找telecomadmin用户(默认的超级管理员)
4./TotalTerminalNumber(查找台数限制)
5.S(修改)

6. :x(退出且保存,注意前面有“冒号”哦!)
7.cp /mnt/jffs2/hw_ctree.xml /mnt/usb1_1/hw_ctree.xml (将配置文件复制到U盘,前提是华为HG8245光猫上插了U盘)
8.cp  /mnt/usb1_1/hw_ctree.xml /mnt/jffs2/hw_ctree.xml (将配置文件从U盘写回华为HG8245光猫里)





通信人家园 (https://www.txrjy.com/) Powered by C114