中兴2.5G光猫F7607P开启telnet后基本是要使用命令才能操作,这里收集了一些常用命令方便使用,后期继续更新。
—破解刷电信后打开任意网页自动跳转LOID注册页面—
sendcmd 1 DB set PDTCTUSERINFO 0 Status 0
sendcmd 1 DB set PDTCTUSERINFO 0 Result 1
sendcmd 1 DB save
—开永久telnet(密码Zte521)—
sendcmd 1 DB p TelnetCfg
sendcmd 1 DB set TelnetCfg 0 Lan_Enable 1
sendcmd 1 DB set TelnetCfg 0 TS_UName root
sendcmd 1 DB set TelnetCfg 0 TSLan_UName root
sendcmd 1 DB set TelnetCfg 0 TS_UPwd Zte521
sendcmd 1 DB set TelnetCfg 0 TSLan_UPwd Zte521
sendcmd 1 DB set TelnetCfg 0 Max_Con_Num 99
sendcmd 1 DB set TelnetCfg 0 ExitTime 999999
sendcmd 1 DB set TelnetCfg 0 InitSecLvl 3
sendcmd 1 DB set TelnetCfg 0 CloseServerTime 9999999
sendcmd 1 DB set TelnetCfg 0 Lan_EnableAfterOlt 1
sendcmd 1 DB save
killall telnetd
—备份mtd0分区–
dd if=/dev/mtd0 of=/mnt/【优盘目录名】/f7607p.bin
或
cat /dev/mtd0 > /mnt/【优盘目录名】/f7607p.bin
—删除Wi-Fi前缀—
sendcmd 1 DB set WLANCfg 0 ESSIDPrefix (设置2.4G的ssid前缀为空)
sendcmd 1 DB set WLANCfg 4 ESSIDPrefix (设置5G的ssid前缀为空)
sendcmd 1 DB save
—切换区域(省份)—
upgradetest sdefconf 215 (shanxi)
—修改超密—
sendcmd 1 DB set DevAuthInfo 0 User xxxxxxxx (改超级用户名)
sendcmd 1 DB set DevAuthInfo 0 Pass xxxxxxxx(改超级用户密码)
—查看系统参数—
setmac show2
—修改ponmac—
setmac 1 32769 MAC地址
—删除电信远程控制—
sendcmd 1 DB p MgtServer (查看一下当前的电信远程控制)
sendcmd 1 DB set MgtServer 0 URL http://127.0.0.1 把服务器 URL 改掉
sendcmd 1 DB set MgtServer 0 Tr069Enable 0 禁用TR069远程控制
sendcmd 1 DB save
—关闭下行GPON光口和WiFi—
ip link set mini-olt down
rmmod optical
rmmod mtlk
rmmod mtlkroot