Anime4000 / RTL960x

Hacking RTL960x based xPON ONU Stick to suite your Universal OLT
The Unlicense
649 stars 111 forks source link

DFP-34X-2C2 get O5 but no ONU ID assigned #186

Closed longthanhtran closed 1 year ago

longthanhtran commented 1 year ago
My ISP Viettel (VN) provided the router model vG-421WD-v2 and I try to clone its parameters to sfp DFP-34X-2C2, including GPON_SN (the most important one as I know). Beside that one, I use other ones as following Param Value
GPON_SN VTGR9156c3a0
GPON_ONU_MODEL vG-421WD-v2
PON_VENDOR_ID VTGR
OMCI_SW_VER1 V2106220222
OMCI_SW_VER2 V2106220222
OMCC_VER 160
HW_HWVER VG42
OUI 24,0b,2a
HW_SERIAL_NO GPNB3MG421J4454
HW_CWMP_PRODUCTCLASS SFU
OMCI_FAKE_OK 1

But then the PON Status gives ONU ID 0 while ONU state is O5.

I also gather some mib as following

omcicli mib get 84

<details 84>

84
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
VlanTagFilterData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityID: 0x8101
FilterTbl[0]: PRI 0,CFI 0, VID 35
FwdOp:  0x10
NumOfEntries: 1
=================================
=================================
EntityID: 0x8102
FilterTbl[0]: PRI 0,CFI 0, VID 36
FwdOp:  0x10
NumOfEntries: 1
=================================
=================================
EntityID: 0x8103
FilterTbl[0]: PRI 0,CFI 0, VID 335
FwdOp:  0x10
NumOfEntries: 1
=================================
=================================
EntityID: 0x8105
FilterTbl[0]: PRI 0,CFI 0, VID 2502
FwdOp:  0x10
NumOfEntries: 1
=================================
=================================
EntityID: 0x8204
FilterTbl[0]: PRI 0,CFI 0, VID 2501
FwdOp:  0x10
NumOfEntries: 1
=================================

omcicli mib get 131

<details 131>

131
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
OltG
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityId: 0x00
OltVendorId: 0x44534e57
EquipId: 3
Version: 0
ToDInfo:
    Sequence number of GEM superframe: 0x0
    Timestamp: secs 0, nanosecs 0
=================================

omcicli mib get 6

<details 6>

6
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
CircuitPack
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityID: 0x101
Type: 47
NumOfPorts: 1
SerialNum: VTGR9156c3a0
Version: V2106220222
VID: VTGR
AdminState: 0
OpState: 0
BridgedorIPInd: 0
EqtID:
CardCfg: 0
NumOfTContBuff: 0
NumOfPriQ: 8
NumOfScheduler: 0
PowerShed: 0
=================================
=================================
EntityID: 0x106
Type: 48
NumOfPorts: 1
SerialNum: VTGR9156c3a0
Version: V2106220222
VID: VTGR
AdminState: 0
OpState: 0
BridgedorIPInd: 0
EqtID:
CardCfg: 0
NumOfTContBuff: 0
NumOfPriQ: 8
NumOfScheduler: 0
PowerShed: 0
=================================
=================================
EntityID: 0x180
Type: 248
NumOfPorts: 1
SerialNum: VTGR9156c3a0
Version: V2106220222
VID: VTGR
AdminState: 0
OpState: 0
BridgedorIPInd: 0
EqtID:
CardCfg: 0
NumOfTContBuff: 16
NumOfPriQ: 128
NumOfScheduler: 16
PowerShed: 0
=================================

omcicli mib get 256

<details 256>

256
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Ontg
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityID: 0x00
VID: VTGR
Version: VG42
SerialNum: VTGR9156c3a0
TraffMgtOpt: 2
AtmCCOpt: 0
BatteryBack: 0
AdminState: 0
OpState: 0
OnuSurvivalTime: 0
LogicalOnuID: 123456789
LogicalPassword: 123456
CredentialsStatus: 0
ExtendedTcLayerOptions: 0x0
OntState: 1
=================================

And here is the flash all result, after the fiber cable plugged in.

flash all ```xml ```

Can you please review and advise me on any missing from above params? I read thru Fake O5 but still can't have much clue.

Thanks a lot

Anime4000 commented 1 year ago

but do you have internet?

mine still ONU ID 0 but have internet, I not bother that much

longthanhtran commented 1 year ago

Thanks for attention to looking this case.

Not yet, when I try via my router to dial pppoe, no success. With other onu, the ISP always gives me an ONU ID.

longthanhtran commented 1 year ago

Good news, I manage to connect via the router (mikrotik) with VLAN interface.

In addtion, a friend of mine remind me to review the OMCI_OLT_MODE as I accidentally messed it up to 0 yesterday.

As I update it back to 21

image

then the connection is made, even without ONU ID from PON status view

image

Thanks a lot for your help @Anime4000