Skip to content
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

Changing the serial number with the sn command is not persistent #7

Open
lrjn opened this issue Mar 14, 2022 · 3 comments
Open

Changing the serial number with the sn command is not persistent #7

lrjn opened this issue Mar 14, 2022 · 3 comments

Comments

@lrjn
Copy link

lrjn commented Mar 14, 2022

Hello,

I use the SFP on a Telekom FTTH connection. The Telekom OLT expects an ONT with the same serial number as the old one that Telekom installed when providing the connection. If I change the serial number of the SPF with the sn command to that of the old ONT, the connection works. However, with each restart of the SFP, the serial number is reset to the initial value at delivery. Does anyone know a way to store the serial number permanently in to the flash storage?
Of course I could also initiate a rediscovery by Telekom but I would like to keep the old ONT as a backup and that would then no longer work with its serial number.

@Mixxus
Copy link

Mixxus commented Mar 15, 2022

You can change it permanently with the "set" command.
hal -> set sn serial
Same goes for the PLOAM password.
hal -> set password password

@k0xak
Copy link

k0xak commented Jul 25, 2022

Am trying to simulate Huawei HG8245H on that module.

hal -> set sn HWTCxxxxxxxx is correcly saved and persintent.

However setggings is follower with this message:
Hal# unknow speed mode parameter!
unknow speed mode parameter!

And more important - connection is not working:

admin@SFP:# onu ploamsg
errorcode=0 curr_state=5 previous_state=4 elapsed_msec=698260
admin@SFP:
# onu ploamsg
errorcode=0 curr_state=3 previous_state=2 elapsed_msec=740084
admin@SFP:# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=766996
admin@SFP:
# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=773076
admin@SFP:# onu ploamsg
errorcode=0 curr_state=5 previous_state=4 elapsed_msec=790260
admin@SFP:
# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=797664
admin@SFP:# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=797664
admin@SFP:
# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=797664
admin@SFP:# onu ploamsg
errorcode=0 curr_state=3 previous_state=2 elapsed_msec=801420
admin@SFP:
# onu ploamsg
errorcode=0 curr_state=5 previous_state=4 elapsed_msec=802524
admin@SFP:# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=803528
admin@SFP:
# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=803528
admin@SFP:~# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=803528

Kernel is priting this message:

Login: SF_SetFeature: Set feature(10) to 1
SF_SetFeature: Set feature(10) to 1
SF_SetFeature: Set feature(10) to 1
SF_SetFeature: Set feature(10) to 1
SF_SetFeature: Set feature(10) to 1
SF_SetFeature: Set feature(10) to 1

any clue?

@great9
Copy link

great9 commented Feb 14, 2023

Am trying to simulate Huawei HG8245H on that module.

hal -> set sn HWTCxxxxxxxx is correcly saved and persintent.

first 4 chars are ASCII, the rest are HEX when setting the serial number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants