-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to change loid? #17
Comments
I only saw the For the LOID, I see code to read |
I can see it try to get LOID from scfg
or we can modify the scfg in ri? it seems easier. |
It seems that we can use
Unfortunately, it failed. I am trying to figure it out. update: I found some error message in
I didn't find where the |
I have use hex editor to modify
there seems no error message
It works! |
There are also APIs which manipulate a binary dump :
So by modifying the
There might be padding issues, and handling of nul bytes if it's allowed by the spec (since it doesn't seem the values are meant to be stored in hex). You would need to do the same changes in |
you are right
Here is my LOID and LOIDPassword (get from ISP)
I think we can modify the define to solve the "padding issues" and "length limit" ? |
I have modified
ritool works well.
omciMgr seems abnormal
I haven't test with the OLT. update: full log
|
@AxisRay upgrade custom firmware is here to help you change loid #1 (comment) |
I know it. The custom firmware is uploaded by me. I am trying to modify the orgin frimware just for research. |
oh, "padding issues"
|
1, Password: it's mean LOID password, right? (20 characters), but normaly is maximum 12 characters |
TEST PASS!!!
I modified the LOID AUTH LOG
We can set type to
here is the firmware which based on 3FE46398BGCB22 |
I have 2 cases with OLT Huawei. With ISP1: only check with GPON Serial number, it's ok to get O5 With ISP2: check GPON Serial number and SLID ==> can't get O5, it's O2, O3 (even when using all versions of original fw or custom fw from china) Doesn't seem to be getting SLID on web, but getting SLID in "ri", and SLID in "ri" in incorrect format. |
@vuducdong What format of your |
|
ok, I'll try it. Thanks! |
But then you need much more space, unless it's stored as a binary (it's strange to have HEX for the
|
The SLID issues are different, I didn't check on all firmwares, but I remember :
|
I have changed. |
still unable to authenticate O5 |
This would cause issues when switching between firmwares. It doesn't seem the offsets can be increased, unless removing other entries to make the space. |
On the
Note that it shouldn't prevent |
Well, I thought there was only 0x20 for the 4 values, not 0x30 🤦♂️ I will check the different possibilities for the flags in the driver (which you changed to input hex, but still store as binary I think). Maybe there is a way to be in string mode (since the GPON spec specifies them as strings), but without the padding. But just in case, there is a possibility to modify on the |
right?
And I cannot change the S/N
update:
follow #7 (comment)_
we should set OperatorID 0000 first
The text was updated successfully, but these errors were encountered: