Anime4000 / RTL960x

Hacking V2801F, TWCGPON657 & DFP-34X-2C2 GPON ONU SFP Stick to suite your ISP Fiber
The Unlicense
617 stars 110 forks source link

O5 but cannot surf. mib get 84 have 4011 vlan, but 171 cannot #269

Open Leozaki opened 5 months ago

Leozaki commented 5 months ago

PCCW HK. original ONU is HG8040/HG8045

# omcicli mib get 84
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
VlanTagFilterData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityID: 0x01
FilterTbl[0]: PRI 0,CFI 0, VID 4011
FwdOp:  0x04
NumOfEntries: 1
=================================
# omcicli mib get 171
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ExtVlanTagOperCfgData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#

PON_VENDOR_ID GPON_ONU_MODEL HWVER GPON_SN ELAN_MAC_ADDR MAC_KEY ONT AUTHENTICATION MODE:ASCII all set. flashed all firmware here still no luck. I set that VLAN-4011 in PVE(BCM57810) but still cannot connect.(untag tested..) What value or setting should I check it next?

Anime4000 commented 5 months ago

try this:

omcicli mib set 84 0x02 FwdOp 0x02

what is this? refer to this

Leozaki commented 5 months ago
# omcicli mib get 171
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ExtVlanTagOperCfgData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# omcicli mib get 84 | grep '^EntityID:' | awk '{print $2}'
0x01
# omcicli mib get 84 ${_EntityID} | grep '^FwdOp:' | awk '{print $2}'
0x02
#
# omcicli mib set 84 0x01 FwdOp 0x02
# omcicli mib get 171
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ExtVlanTagOperCfgData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# omcicli mib get 84
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
VlanTagFilterData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityID: 0x01
FilterTbl[0]: PRI 0,CFI 0, VID 4011
FwdOp:  0x02
NumOfEntries: 1
=================================
# omcicli mib get 171
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ExtVlanTagOperCfgData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#

still cannot surf..

Leozaki commented 5 months ago
# omcicli mib get 84 ${_EntityID} | grep '^FwdOp:' | awk '{print $2}'
0x04
# omcicli mib get 84 | grep '^EntityID:' | awk '{print $2}'
0x01
# omcicli mib get 84
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
VlanTagFilterData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityID: 0x01
FilterTbl[0]: PRI 0,CFI 0, VID 4011
FwdOp:  0x04
NumOfEntries: 1
=================================
#

# diag
RTK.0> l2-table get entry address valid

LUT address: 0x00ac (1K LUT)
L2 Unicast table:
MACAddress        Spa Fid Age Vid  State  Ext  Hash
58:47:CA:72:00:8C 0   0   7   0    Auto   0    SVL
CtagIf Auth DaBlock SaBlock Arp
Dis    Dis  Dis     Dis     Dis

LUT address: 0x0148 (1K LUT)
L2 Unicast table:
MACAddress        Spa Fid Age Vid  State  Ext  Hash
78:1D:BA:8F:6F:6D 2   0   6   4015 Auto   0    SVL
CtagIf Auth DaBlock SaBlock Arp
En     Dis  Dis     Dis     Dis

LUT address: 0x016c (1K LUT)
L2 Unicast table:
MACAddress        Spa Fid Age Vid  State  Ext  Hash
00:E0:4C:86:70:01 3   0   1   0    Static 0    SVL
CtagIf Auth DaBlock SaBlock Arp
Dis    Dis  Dis     Dis     Dis

RTK.0>

maybe my isp have dynamic FwdOp....

Anime4000 commented 5 months ago

like this, you need to use HGU firmware: https://github.com/Anime4000/RTL960x/blob/main/Firmware/DFP-34X-2C2/M114_sfp_ODI_hybrid_221209.tar

create a WAN Bridge for VLAN 4015 or 4011

as your ISP not using ME 171

Leozaki commented 5 months ago

I tried. but no work..