LOCKYER 发表于 2010-6-23 09:46:40

求助,中兴 831II E18 修复

本帖最后由 LOCKYER 于 2010-6-23 10:17 编辑

最近TD 8820挂了,拆机研究,索性把这几年坏掉的设备全部挖出来,这不一中兴831II ZXDSL 831IIV6.4.0a_E18固件,2008/02的日期,这是原始固件,SN开头就是E18XXXXXX,症状是DSL灯闪烁,偶尔能握手连上,灯常亮,但是开路由拨号绝对连不上。于是刷了坛里的ZXDSL 831IIV6.4.0a_E18,结果郁闷了,ping不到,但是LAN灯能亮,电脑端显示已经连接,就是ping不通,也开不了web页面,如果开自动IP一直获取状态。8成是固件坏了,于是乎拆机,,想请教如何刷机,给点思路,看了论坛的一张https://www.chinadsl.net/attachments/ext_jpg/20081018_de2e9675cea72f0a0d60Y3xv4I3vNUfY.jpg ,看不大清楚,而且板子也跟我不一样。


6针的是数据线还是4针的??是做USB的还是并口的?

LOCKYER 发表于 2010-6-23 09:48:13

还有就是我发现电源接口下面,板子的左上边那两个电容好像有点鼓,不知道不能握手是不是那两个电容的关系,总感觉那是电源的。

maithon 发表于 2010-6-23 10:34:28

先更换爆掉的电容吧,差不多就好了,
固件,能更新,说明就没坏。

morika 发表于 2010-6-23 10:58:28

最近一段时间 修猫会一直困扰着你的

lrh_6215 发表于 2010-6-23 12:57:58

电容要换的,不连就是它的问题,固件可以刷,用并口线,六针。

LOCKYER 发表于 2010-6-23 14:38:44

嗯,先把电容换掉再说,最近挖出的猫啊,路由啊,发现都是电源电容有问题,规格25V 470uf,手上一个R402M 也是这样,不过低电压能工作,不知道有没有25v 470uf的固态电容,我这边跑遍了,就是没有这规格的固态。

另外发现刷831II后的配置备份文件,分析完觉得应该不是固件问题,可能是电容坏了,连ping也带不起了,反正把电容换掉再说,再总结经验。
create user name ZXDSL passwd ZXDSL root
create user name admin passwd admin root
create user name user passwd user



size maxvc 8 max1483vc 8 maxppe 8 maxl2tptunnel 1 maxl2tpsesspertunnel 1 maxl2tppeerrws 4

modify ppp global ignorewantolan true keepalive auto maxauthtries 3


modify system contact "WWW.ZTE.COM.CN" model "ZXDSL 831II" location "ZTE CORPORATION" vendor "ZTE" logthresh 1 systime "Jan 01 00:10:25 1970" timezone "GMT" magicnum 2

modify bridge mode enable wan2wan disable



create pfraw rule entry ruleid 15 ifname private dir in act deny
create pfraw rule entry ruleid 16 ifname private act deny
create pfraw rule entry ruleid 17 ifname private dir in act deny
create pfraw rule entry ruleid 18 ifname private act deny
create pfraw rule entry ruleid 19 ifname private dir in act deny
create pfraw rule entry ruleid 20 ifname private act deny
create pfraw rule entry ruleid 21 ifname private dir in act deny
create pfraw rule entry ruleid 22 ifname private act deny
create pfraw rule entry ruleid 23 ifname private dir in act deny
create pfraw rule entry ruleid 24 ifname private act deny
create pfraw rule entry ruleid 25 ifname private dir in act deny
create pfraw rule entry ruleid 26 ifname private act deny
create pfraw rule entry ruleid 27 ifname private dir in act deny
create pfraw rule entry ruleid 28 ifname private act deny
create pfraw rule entry ruleid 29 ifname private dir in act deny
create pfraw rule entry ruleid 30 ifname private act deny
create pfraw rule entry ruleid 31 ifname private dir in act deny
create pfraw rule entry ruleid 32 ifname private act deny
create pfraw rule entry ruleid 33 ifname private dir in act deny
create pfraw rule entry ruleid 34 ifname private act deny
create pfraw rule entry ruleid 35 ifname private dir in act callmgmt
create pfraw rule entry ruleid 36 ifname dmz dir in act callmgmt
create pfraw rule entry ruleid 37 dir in act callmgmt

create pfraw subrule entry ruleid 15 subruleid 1 mask 0xFFFF offset 12 enable cmpt range 0x8863 0x8864
create pfraw subrule entry ruleid 16 subruleid 1 mask 0xFFFF offset 12 enable cmpt range 0x8863 0x8864
create pfraw subrule entry ruleid 17 subruleid 1 mask 0xFFFFFFFF start iph offset 16 enable cmpt range 0xE0000000 0xEFFFFFFF
create pfraw subrule entry ruleid 18 subruleid 1 mask 0xFFFFFFFF start iph offset 16 enable cmpt range 0xE0000000 0xEFFFFFFF
create pfraw subrule entry ruleid 19 subruleid 1 mask 0xFFFF offset 12 enable cmpt eq 0x8035
create pfraw subrule entry ruleid 20 subruleid 1 mask 0xFFFF offset 12 enable cmpt eq 0x8035
create pfraw subrule entry ruleid 21 subruleid 1 mask 0xFFFF offset 12 enable cmpt eq 0x809B
create pfraw subrule entry ruleid 22 subruleid 1 mask 0xFFFF offset 12 enable cmpt eq 0x809B
create pfraw subrule entry ruleid 23 subruleid 1 mask 0xFFFF offset 12 enable cmpt lteq 0x05DC
create pfraw subrule entry ruleid 23 subruleid 2 mask 0xFFFF offset 14 enable cmpt eq 0xF0F0
create pfraw subrule entry ruleid 24 subruleid 1 mask 0xFFFF offset 12 enable cmpt lteq 0x05DC
create pfraw subrule entry ruleid 24 subruleid 2 mask 0xFFFF offset 14 enable cmpt eq 0xF0F0
create pfraw subrule entry ruleid 25 subruleid 1 mask 0xFFFF offset 12 enable cmpt range 0x8137 0x8138
create pfraw subrule entry ruleid 26 subruleid 1 mask 0xFFFF offset 12 enable cmpt range 0x8137 0x8138
create pfraw subrule entry ruleid 27 subruleid 1 mask 0xFFFFFFFFFFFF offset 0 enable cmpt eq 0x0180C2000000
create pfraw subrule entry ruleid 28 subruleid 1 mask 0xFFFFFFFFFFFF offset 0 enable cmpt eq 0x0180C2000000
create pfraw subrule entry ruleid 29 subruleid 1 mask 0xFFFF offset 12 enable cmpt eq 0x0806
create pfraw subrule entry ruleid 30 subruleid 1 mask 0xFFFF offset 12 enable cmpt eq 0x0806
create pfraw subrule entry ruleid 31 subruleid 1 mask 0xFFFF offset 0 enable cmpt eq 0x3333
create pfraw subrule entry ruleid 32 subruleid 1 mask 0xFFFF offset 0 enable cmpt eq 0x3333
create pfraw subrule entry ruleid 33 subruleid 1 mask 0xFFFF offset 12 enable cmpt eq 0x8100
create pfraw subrule entry ruleid 34 subruleid 1 mask 0xFFFF offset 12 enable cmpt eq 0x8100
create pfraw subrule entry ruleid 35 subruleid 1 mask 0xFFFF offset 12 enable cmpt range 0x8863 0x8864
create pfraw subrule entry ruleid 36 subruleid 1 mask 0xFFFF offset 12 enable cmpt range 0x8863 0x8864
create pfraw subrule entry ruleid 37 subruleid 1 mask 0xFF offset 15 enable cmpt eq 0xA7



create ipf rule entry ruleid 3 ifname public dir in act accept srcaddr eq 192.168.2.2 seclevel high medium
create ipf rule entry ruleid 4 ifname public dir in destaddr self transprot eq num 6 destport eq num 21 seclevel high medium
create ipf rule entry ruleid 5 ifname public dir in destaddr self transprot eq num 6 destport eq num 23 seclevel high medium
create ipf rule entry ruleid 6 ifname public dir in destaddr self transprot eq num 6 destport eq num 80 seclevel high medium
create ipf rule entry ruleid 1002 dir in act accept destaddr eq 255.255.255.255 transprot eq num 17 destport eq num 67 seclevel high
create ipf rule entry ruleid 1010 dir in destaddr bcast seclevel high
create ipf rule entry ruleid 1020 dir in destaddr eq 255.255.255.255 seclevel high
create ipf rule entry ruleid 1030 ifname private dir in act accept storestate enable seclevel high medium low
create ipf rule entry ruleid 1040 ifname private dir out act accept srcaddr self storestate enable seclevel high medium low
create ipf rule entry ruleid 1050 ifname private dir out act accept transprot eq num 17 destport eq num 53 inifname dmz storestate enable seclevel high medium low
create ipf rule entry ruleid 1060 ifname private dir out act accept transprot eq num 6 destport eq num 53 inifname dmz storestate enable seclevel high medium low
create ipf rule entry ruleid 1070 ifname private dir out act accept transprot eq num 6 destport eq num 25 inifname dmz storestate enable seclevel high medium low
create ipf rule entry ruleid 1080 ifname private dir out act accept transprot eq num 6 destport eq num 110 inifname dmz storestate enable seclevel high medium low
create ipf rule entry ruleid 1090 ifname private dir out act accept transprot eq num 6 destport eq num 21 inifname dmz storestate enable seclevelmedium low
create ipf rule entry ruleid 1100 ifname private dir out act accept transprot eq num 6 destport eq num 80 inifname dmz storestate enable seclevelmedium low
create ipf rule entry ruleid 1110 ifname private dir out act accept transprot eq num 6 destport eq num 23 inifname dmz storestate enable
create ipf rule entry ruleid 1120 ifname private dir out act accept transprot eq num 1 inifname dmz storestate enable
create ipf rule entry ruleid 1130 ifname dmz dir out transprot eq num 6 destport eq num 23 inifname private seclevel high
create ipf rule entry ruleid 1140 ifname dmz dir out transprot eq num 17 destport eq num 53 inifname public seclevel high
create ipf rule entry ruleid 1150 ifname dmz dir out transprot eq num 6 destport eq num 53 inifname public seclevel high
create ipf rule entry ruleid 1160 ifname dmz dir out transprot eq num 6 destport eq num 21 inifname public seclevel high
create ipf rule entry ruleid 1170 ifname dmz dir out transprot eq num 6 destport eq num 23 inifname public seclevel high medium low
create ipf rule entry ruleid 1180 ifname dmz dir out transprot eq num 1 inifname public seclevel high medium
create ipf rule entry ruleid 1190 ifname public dir out transprot eq num 6 destport eq num 23 seclevel high
create ipf rule entry ruleid 1200 ifname public dir out act accept srcaddr self storestate enable seclevel high medium low
create ipf rule entry ruleid 1210 ifname public dir in destaddr bcast seclevelmedium
create ipf rule entry ruleid 1220 ifname public dir in destaddr eq 255.255.255.255 seclevelmedium
create ipf rule entry ruleid 1230 ifname public dir in transprot eq num 17 destport eq num 7 seclevel high medium
create ipf rule entry ruleid 1240 ifname public dir in transprot eq num 17 destport eq num 9 seclevel high medium
create ipf rule entry ruleid 1250 ifname public dir in transprot eq num 17 destport eq num 19 seclevel high medium
create ipf rule entry ruleid 1260 ifname public dir in destaddr self transprot eq num 6 destport eq num 80 seclevel high medium low
create ipf rule entry ruleid 1270 ifname public dir in destaddr self transprot eq num 17 destport eq num 53 seclevel high
create ipf rule entry ruleid 1280 ifname public dir in destaddr self transprot eq num 6 destport eq num 53 seclevel high
create ipf rule entry ruleid 1290 ifname public dir in destaddr self transprot eq num 6 destport eq num 21 seclevel high medium low
create ipf rule entry ruleid 1300 ifname public dir in destaddr self transprot eq num 6 destport eq num 23 seclevel high medium low
create ipf rule entry ruleid 1310 ifname public dir in destaddr self transprot eq num 1 seclevel high medium low
create ipf rule entry ruleid 1320 ifname public dir in act accept destaddr self transprot eq num 17 destport eq num 53 storestate enable seclevelmedium low
create ipf rule entry ruleid 1330 ifname public dir in act accept destaddr self transprot eq num 6 destport eq num 53 storestate enable seclevelmedium low
create ipf rule entry ruleid 1340 ifname public dir in seclevel high isipopt yes
create ipf rule entry ruleid 1350 ifname public dir in seclevel high isfrag yes
create ipf rule entry ruleid 1360 ifname dmz dir in destaddr self transprot eq num 6 destport eq num 80 seclevel high medium
create ipf rule entry ruleid 1370 ifname dmz dir in destaddr self transprot eq num 6 destport eq num 21 seclevel high medium
create ipf rule entry ruleid 1380 ifname dmz dir in destaddr self transprot eq num 6 destport eq num 23 seclevel high medium
create ipf rule entry ruleid 1390 ifname dmz dir in act accept storestate enable seclevel high medium low

modify ipf globalseclevel medium pubdefact accept dmzdefact accept


create dhcp server pool start-ip 192.168.1.3 poolid 0 end-ip 192.168.1.13 mask 255.255.255.0


create snmp comm community ADSL rw

create snmp host ip 255.255.255.255 community ADSL
create snmp host ip 0.0.0.0 community ADSL

modify snmp trap disable




create ethernet intf ifname eth-0 ip 192.168.1.1 mask 255.255.255.0 extifindex 10000 cpeipindex 0




modify ip cfg ttl 64

modify dsl config adsl2plusauto annex adsl2plus framing-3et maxbits 15 rxstart 6 rxend 511 duallatency disable maxdnrate 0x1ff autosraenable disable profile mii

create atm port enable ifname atm-0 maxvc 8 oamsrc 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

create ppp security ifname default

create atm trfdesc trfindex 0

create atm vc intf ifname aal5-1 lowif atm-0 vpi 0 vci 32 a5maxproto 2 extifindex 150000
create atm vc intf ifname aal5-2 lowif atm-0 vpi 0 vci 35 a5maxproto 2 extifindex 150001
create atm vc intf ifname aal5-3 lowif atm-0 vpi 8 vci 81 a5maxproto 2 extifindex 150002
create atm vc intf ifname aal5-4 lowif atm-0 vpi 8 vci 35 a5maxproto 2 extifindex 150003
create atm vc intf ifname aal5-5 lowif atm-0 vpi 8 vci 36 a5maxproto 2 extifindex 150004
create atm vc intf ifname aal5-6 lowif atm-0 vpi 0 vci 100 a5maxproto 2 extifindex 150005
create atm vc intf ifname aal5-7 lowif atm-0 vpi 1 vci 39 a5maxproto 2 extifindex 150006




create eoa intf ifname eoa-1 outside lowif aal5-1
create eoa intf ifname eoa-2 outside lowif aal5-2
create eoa intf ifname eoa-3 outside lowif aal5-3
create eoa intf ifname eoa-4 outside lowif aal5-4
create eoa intf ifname eoa-5 outside lowif aal5-5
create eoa intf ifname eoa-6 outside lowif aal5-6











modify nat global enable

create nat rule entry ruleid 1 filter destportfrom num 6073 destportto num 6073
create nat rule entry ruleid 2 napt

create alg port portno 21 prot num 6 algtype ftp
create alg port portno 1701 prot num 17 algtype l2tp
create alg port portno 1723 prot num 6 algtype pptp
create alg port portno 554 prot num 6 algtype rtsp
create alg port portno 7070 prot num 6 algtype ra
create alg port portno 7648 prot num 6 algtype cuseeme
create alg port portno 1719 prot num 17 algtype h323_ras
create alg port portno 1720 prot num 6 algtype h323_q931
create alg port portno 6661 prot num 6 algtype mirc
create alg port portno 6662 prot num 6 algtype mirc
create alg port portno 6663 prot num 6 algtype mirc
create alg port portno 6664 prot num 6 algtype mirc
create alg port portno 6665 prot num 6 algtype mirc
create alg port portno 6666 prot num 6 algtype mirc
create alg port portno 6667 prot num 6 algtype mirc
create alg port portno 6668 prot num 6 algtype mirc
create alg port portno 6669 prot num 6 algtype mirc
create alg port portno 161 prot num 17 algtype snmp
create alg port portno 407 prot num 17 algtype timbuktu
create alg port portno 6301 prot num 17 algtype sgicompcore
create alg port portno 1863 prot num 6 upnpaware true algtype msnmsgr
create alg port portno 389 prot num 6 algtype ldap
create alg port portno 1002 prot num 6 algtype ldap
create alg port portno 500 prot num 17 algtype ike
create alg port portno 0 prot num 50 algtype esp
create alg port portno 1503 prot num 6 upnpaware true algtype t120
create alg port portno 5060 upnpaware true algtype sip
create alg port portno 5190 prot num 6 algtype icq

create bridge port intf ifname eth-0
create bridge port intf ifname eoa-1
create bridge port intf ifname eoa-2
create bridge port intf ifname eoa-3
create bridge port intf ifname eoa-4
create bridge port intf ifname eoa-5
create bridge port intf ifname eoa-6




modify stp port info ifname eth-0 priority 0x80 pcost 100
modify stp port info ifname eoa-1 priority 0x80 pcost 100
modify stp port info ifname eoa-2 priority 0x80 pcost 100
modify stp port info ifname eoa-3 priority 0x80 pcost 100
modify stp port info ifname eoa-4 priority 0x80 pcost 100
modify stp port info ifname eoa-5 priority 0x80 pcost 100
modify stp port info ifname eoa-6 priority 0x80 pcost 100







modify autodetect cfg prot ppoe eoa









modify hdlceoc cfg status enable










create ilmi intf ifname atm-0

modify ilmi access protocol ifname atm-0 vpi 0 vci 32 proto any
modify ilmi access protocol ifname atm-0 vpi 0 vci 35 proto any
modify ilmi access protocol ifname atm-0 vpi 8 vci 81 proto any
modify ilmi access protocol ifname atm-0 vpi 8 vci 35 proto any
modify ilmi access protocol ifname atm-0 vpi 8 vci 36 proto any
modify ilmi access protocol ifname atm-0 vpi 0 vci 100 proto any
modify ilmi access protocol ifname atm-0 vpi 1 vci 39 protextnflag static bridgemode enable proto bbrouter


do SetResetButtonCount 3
do settr68control on
trigger ilmi
END
页: [1]
查看完整版本: 求助,中兴 831II E18 修复