-
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
EquipmentID/HardwareVersion with null characters #26
Comments
The padding behavior is quite inconsistent... How do you get the final OMCI result ? Which firmware do you use ? From
With the default values, I see :
I'm not sure how the padding is done at the end. It is impossible to pass nul characters in an argument, since the arguments are nul-terminated strings. |
For my testing I use two firmwares: 3FE47111BFHB32 which allows me to use ritool to edit variables and 3FE46398BGCB22 which gives me the ability to capture raw OMCI messages, but I cannot use ritool to edit. I wrote about my experience with OMCI capture here: The ritool set Mnemonic "SK------" seems to be a step in the right direction, it created three null characters after SK and then appended the remaining --- to the end. I will continue testing using spaces and --- characters. |
The If your issue with ritool on 3FE46398BGCB22 is |
Thanks. It worked great. |
Do you still have issues with the Equipment ID ? |
Just a little. I stay with
The final hurdle is the image0_version and image1_version variables stored in /configs/image_version, for which the firmware must be modified so that they are not overwritten. I was hoping image versions could be updated with fw_setenv. |
So the On boot,
Unless there are several "Chinese firmware", it's a cross-flash, with something which looks more derived from the stock Lantiq SDK than the G-010S-A image. |
That' s clever. Thanks! |
Hello all,
I came into possession of an ONT that I would like to clone on an SFP module G-010S-A. I managed to configure most of the parameters.
When analyzing the OMCI file from the old terminal, I got the following values.
OMCI Hardware Version:
PTIR762-32.7
OMCI Equipment ID:
DBU2988344SK
In a similar way, I analyzed the G-010S-A
OMCI Hardware Version is created by combining HardwareVersion+ICS 10+2 characters
OMCI Equipment ID is created by the combination of CleiCode+Mnemonic 10+10 characters
Since the string length DBU2988344SK does not fill 20 characters I was forced to use spaces instead of null characters 0x00. If I don't use quotes and spaces the second part of the string will be thrown somewhere in the middle
DBU2988344 SK
Does anyone know how to instert null characters using the ritool command?
The text was updated successfully, but these errors were encountered: