Skip to content

nokia g-010g-r ONT device #444

Closed

Description

@zyazi

XM25QH128B@SOIC8-200_20260327_122130.zip

hi,

is it possible to examine attached dump file,
it is taken from nokia g-010g-r ONT device, which has rtl9601d, G-97CL PCB and 25L95 laser driver.
I want to change the serial number.
enable password generator doesn't work , and ONT> console only reachable at baudrate 9600 ,but nothing can be done in console

thanks.

Activity

  1. Troll338cz commented on Aug 15, 2026

    @Troll338cz
    Contributor

    Hi can you try generate password with this python script?
    I don't have this device myself but this should be the algorithm used.

    import hashlib
    # from VOS_CfgParamGetByName("EepEqSerialNumber", a1, 16)
    GPON_SN = "ACLCa1b2c3d4"
    text = GPON_SN + "-ONTUSER"
    # from /usr/lib/libvos.so.0.0.0
    charset = "ACDEFGHJKLMNPQRSTUVWXYZ2345679abcdefghijkmnpqrstuvwxyz"
    rawdigest = hashlib.sha256(text.encode("utf-8")).digest()
    output = []
    #  From /bin/Console
    #  sprintf(v2, "%s-%s", v1, "ONTUSER");
    #  hmac_sha256_pwd(v2, &cli_password, 16);
    for i in range(16):
       byte_val = rawdigest[i]
       char_index = byte_val % 0x36
       output.append(charset[char_index])
    
    print("".join(output))
    ONT>enable
    #ONT>login
    User name:ONTUSER
    Password:Script output
    
  2. added a commit that references this issue on Oct 9, 2026
  3. simonebortolin commented on Oct 9, 2026

    @simonebortolin
    Contributor

    Resolved in PR #505

  4. added a commit that references this issue on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions