Anime4000 / RTL960x

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

Can't get O5 state on ODI stick #295

Closed d-kononov closed 1 month ago

d-kononov commented 1 month ago

Provider uses BDCOM. I have telnet access to the provider's ONU. I tried to set/clone all the values with using ODI's web interface...

Provider's ONU:

# flash get GPON_PLOAM_PASSWD
GPON_PLOAM_PASSWD=1234567890

I tried to set PLOAM password with using ODI's web interface and it returns:

# flash get GPON_PLOAM_PASSWD
GPON_PLOAM_PASSWD=31323334353637383930

Not sure if that is correct, seems like it adds 3 to each symbol. But ONU state is 3. I tried to set it using telnet:

# flash set GPON_PLOAM_PASSWD 1234567890
GPON_PLOAM_PASSWD=1234567890

No luck... So I'm not sure what is the correct value for PLOAM_PASSWORD, should I use hex or ASCII or add 0 to each symbol... or maybe OLT wan't to get something else from me...

BTW logs from OLT:

May 21 17:26:39 %GPON-ONUACTIVATE: ONU RTKG:11111111 is activated on GPON0/4:2.
May 21 17:26:38 %GPON-ONUDISCOVER: ONU RTKG:11111111 is discovered on GPON0/4:2.
May 21 17:26:36 %GPON-ONUDEACTIVATE: ONU RTKG:11111111 is deactivated on GPON0/4:2, cause Omci linkdown.

I guess I need to fix some other values, but not sure what values should be changed. Could anyone please help me?

d-kononov commented 1 month ago

Fixed by running:

# flash set GPON_PLOAM_FORMAT 0
GPON_PLOAM_FORMAT=0
# flash set GPON_PLOAM_PASSWD 1234567890
GPON_PLOAM_PASSWD=1234567890