光猫更换

光猫更换

光猫更换

中兴 ZXHN F7015TV3 型号光猫更换。

GPON 和 EPON 是什么?问了下必应的 AI 回答如下:

GPON 和 EPON 是两种主流的光纤接入技术。

GPON 是电信领域(ITU-T标准)的产物,追求更高的带宽和效率,技术更复杂,成本也略高;而EPON 是以太网领域(IEEE标准)的延伸,强调与现有以太网设备的简单兼容和低成本。

GPON: 下行2.5G,上行1.25G的不对称设计非常符合用户下载多、上传少的实际需求。采用NRZ编码,效率更高。

EPON: 上下行对称1.25G,但由于使用了8B/10B编码(每8bit数据用10bit传输),实际有效带宽只有1G。

这款光猫是双模的,两种模式都支持,一般会自动切换,也可以在设置里手动更改。

参考更换移动千兆宽带,更换光猫其实不难,一共大致分为以下三步:

  • 备份原光猫信息(需要获取光猫超级管理员密码)
  • 认证光猫(LOID,移动也叫做 PASSWORD)
  • 光猫设置上网(桥接或路由)

使用工具连接光猫 telnet 服务

1
telnet 192.168.1.1

用户名:root / 密码:Zte521

注意: 光猫若还没有开启 telnet 服务需要启动 telnet 服务,启用工具 zteOnu

设置电脑网卡 MAC 地址:000729553557

开启光猫 telnet 服务:zteOnu.exe --telnet 自动固化 telnet 账户 root 密码 Zte521)

临时进入光猫后台: zteonu --ip 192.168.1.1

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
setmac show2     查看系统参数

setmac 1 修改 2查看 3删除
setmac 1 [ID] [内容]

setmac 1 32769   修改光猫的 MAC 地址(可选),列如格式是:setmac 1 32769 B4:BA:12:B8:EE:50
setmac 1 2176    gponSN 前 4setmac 1 2177    gponSN 后 8setmac 1 768     设备标识码前 6 位数字(可选)
setmac 1 512     设备标识码后 17 位数字(可选)
setmac 1 2180 LOID      (与2179不同时改)
setmac 1 2179 password  (与2180不同时改)

另外,没必要改地区,除非你想被运营商管控。

原光猫备份数据

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
===============Current Status of TagParam===============
    PONMAC[ID: 32769] is set to d4:5f:2c:53:8b:56
   PONLOID[ID:  2180] is set to 759788941
 PONPASSWD[ID:  2181] is not set
    EPONSN[ID:  2182] is set to D45F2C538B56
       PSK[ID:  2186] is not set
  VENDORID[ID:  2176] is set to ZTEG
    GPONSN[ID:  2177] is set to DA990BE3
   GPONPWD[ID:  2178] is not set
    REG_ID[ID:  2179] is not set
       OUI[ID:   768] is set to D45F2C
        SN[ID:   512] is set to 47822D45F2C538B4E
      MAC1[ID:   256] is set to d4:5f:2c:53:8b:4e
      MAC2[ID:   257] is set to d4:5f:2c:53:8b:4f
      MAC3[ID:   258] is set to d4:5f:2c:53:8b:50
      MAC4[ID:   259] is set to d4:5f:2c:53:8b:51
      MAC5[ID:   260] is set to d4:5f:2c:53:8b:52
      MAC6[ID:   261] is set to d4:5f:2c:53:8b:53
      MAC7[ID:   262] is set to d4:5f:2c:53:8b:54
      MAC8[ID:   263] is set to d4:5f:2c:53:8b:55
     SSID1[ID:  1024] is set to ChinaNet-65yF
   WEPKEY1[ID:  1280] is not set
   PSKKEY1[ID:  1296] is set to fskbdxy7
     SSID2[ID:  1025] is not set
   WEPKEY2[ID:  1284] is not set
   PSKKEY2[ID:  1297] is not set
     SSID9[ID:  1028] is not set
   WEPKEY9[ID:  1312] is not set
   PSKKEY9[ID:  1328] is not set
    SSID10[ID:  1029] is not set
  WEPKEY10[ID:  1316] is not set
  PSKKEY10[ID:  1329] is not set
  USERNAME[ID:  1537] is set to useradmin
USERPASSWD[ID:  1793] is set to xiwwm
VERSIONMODE[ID: 32770] is not set
   HLTMODE[ID:  2193] is not set
VoIPProtocolType[ID:  2054] is set to 4
   SOFTVER[ID: 36864] is set to V4.3.0P1N21
    CHIPID[ID: 32785] is set to 369714433A3A1F3B8D75E26E95079BCD
  ChECKKEY[ID: 32786] is set to 369714433A3A1F3B8D75E26E95079BCD
   WANTYPE[ID: 40960] is not set
DEFWANTYPE[ID: 40962] is not set
 EGPONSWEN[ID: 40963] is set to 1
 ProductSn[ID:  2197] is not set
CollusionVerFlag[ID:  2199] is set to 1
    rreset[ID:  2185] is not set
      CTEI[ID: 32784] is not set
      NASN[ID: 32787] is set to 231792A08903C9A3C3PAX
NETWORK_SERIALNUM[ID: 32788] is set to 231792021464500
NETWORK_SCRAMBCODE[ID: 32789] is set to A08903C9A3C3PAX
PRODUCTCLASS[ID: 32790] is not set
   KeyNorm[ID:  2195] is not set
 FRAMSTART[ID: 32771] is not set
  BOOT_NUM[ID:  3072] is not set
  INDIVKEY[ID:  1824] is set to ******
===============Current Status of TagParam===============
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
===============Current Status of TagParam===============
    PONMAC[ID: 32769] is set to d4:5f:2c:53:8b:56 (EPON - 光猫原 MAC 地址)
   PONLOID[ID:  2180] is set to 759788941         (EPON - 光猫原 LOID,检验 WEB 页面修改)
 PONPASSWD[ID:  2181] is not set
    EPONSN[ID:  2182] is set to D45F2C538B56      (EPON - 光猫原 EPON SN)
       PSK[ID:  2186] is not set
  VENDORID[ID:  2176] is set to ZTEG       (GPON - 光猫 SN 码前 4 位)
    GPONSN[ID:  2177] is set to DA990BE3   (GPON - 光猫 SN 码后 8 位)
   GPONPWD[ID:  2178] is not set
    REG_ID[ID:  2179] is not set  (GPON - 重点,原光猫注册 PASSWORD 或宽带识别码认证 LOID)
       OUI[ID:   768] is set to D45F2C     (GPON - 设备标识号 - 前代码)
        SN[ID:   512] is set to 47822D45F2C538B4E (GPON - 设备标识号 - 后代码)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# 修改 LOID 码 (重启 reboot,看注册是否成功,若失败在改下面的 SN 或设备标识号)
setmac 1 2179 7597xxxxx

# 重启
reboot

# 修改 SN 码(可选) 注册 LOID 失败可改
# 设备标识号 : SCTY1916281C
setmac 1 2176 SCTY
setmac 1 2177 1916281C

# 修改设备标识号(可选)
# 设备型号: TEWA-7100A
setmac 1 768 TEWA
setmac 1 512 7100A

查看所有地区: /etc/init.d/regioncode ,会出现各省的拼音和代号

改地区:upgradetest sdefconf xxx

注意:更改地址 telnet 固化可能会丢失。

由于中兴光猫会劫持 ITMS,劫持 ITMS 注册(破解刷电信后打开任意网页自动跳转 LOID 注册页面)

1
2
3
sendcmd 1 DB set PDTCTUSERINFO 0 Status 0
sendcmd 1 DB set PDTCTUSERINFO 0 Result 1
sendcmd 1 DB save