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

Clarification on entering serial number #37

Open
damienbutt opened this issue Jul 29, 2023 · 1 comment
Open

Clarification on entering serial number #37

damienbutt opened this issue Jul 29, 2023 · 1 comment

Comments

@damienbutt
Copy link

damienbutt commented Jul 29, 2023

Hi all,

I am trying to get one of these modules working with my router. I haven't had any luck thus far and just wanted to ask for a little clarification if possible.

Setup

  • Router: Unifi UDM-Pro
  • ISP: Zen Internet
  • Wholesale Network: CityFibre
  • ONT:
    • Model: Calix GigaPoint 801Gv2
    • Serial Number: 372010010470
    • Model Number: 100-04923 10
    • 300 Number: 300-02682 11
    • FSAN: CXNK0096EBFC
    • Mac Address: 44657FF51624

The ONT details above are what is written on the bottom of the device.

The UDM-Pro recognises the G-010S and I have got SSH access to it. Using SCP I have flashed firmware 3FE46398BGCB22 to the device.

ONTUSER@SFP:~# upgradestatus
***** get current running image *****
current running image is  image0 !
***** get upgrade status ***********
image0_is_valid=1
image1_is_valid=1
next_active=0
commit=0
boot_fail=0
image0_version=3FE46398BGCB22
image1_version=3FE46398BFIB36

ONTUSER@SFP:~# cat /usr/etc/buildinfo
ONT_TYPE=g010sa
PON_MODE=GPON
SOFTWAREVERSION=BGC.B22
PRODUCTCLASS=g010sa
RELEASE=0.0.0
BUILDSTAMP=
BUILDDATE=20210125_1451
COPYRIGHT=ASB
WHOBUILD=buildmgr
IMAGEVERSION=3FE46398BGCB22
NODE=c3c64830aebf583aafe21b23718fb3509bd1c3b4
REPO=HD_R6201
SIGN=n
VOIP=
CONFIG_VOIP_SW=

Following the docs I have input the MfrID and SerialNum using:

ONTUSER@SFP:~# ritool set MfrID 3720
ONTUSER@SFP:~# ritool set G984Serial 10010470
ONTUSER@SFP:~# ritool set YPSerialNum 10010470

Running ritool dump shows the correct details:

ONTUSER@SFP:~# ritool dump
the Format:01
the MfrID:3720
the Factorycode:08
the HardwareVersion:3FE46541AADA
the ICS:01
the YPSerialNum:        10010470
the CleiCode:BVL3A8JNAA
the Mnemonic:G-010S-A
the ProgDate:200805
the MACAddress:34:b5:a3:7d:9a:26
the DeviceIDPref:0000
the SWImage:3030
the OnuMode:0001
the Mnemonic2:
the Password:00000000000123456789
the G984Serial:10010470
the HWConfiguration:0000000000000000
the PartNumber:3FE46542AADA
the Variant:DA
the Spare4:303030303030303030303030
the Checksum:83e8
the InserviceReg:3030
the UserName:        usradmin
the UserPassword:   12345
the MgntUserName:      adminadmin
the MgntUserPassword: ALC#FGU
the SSID-1Name:0000000000000000
the SSID-1Password:00000000
the SSID-2Name:0000000000000000
the SSID-2Password:00000000
the OperatorID:0000
the SLID:30303030303030303030303030303030
the CountryID:01
the GroupID:30303030
the Checksum1:36e5
the Spare6:3030
the RollbackFlag:0000
ONTUSER@SFP:~# onu gtcsng
errorcode=0 serial_number="51 55 50 48 16 1 4 112"

I understand these are decimal values. So this does seem correct for the serial number 372010010470 in a sense. Little confusing that it seems to be reading the last 8 digits as 4 hex bytes while treating the first 4 digits as 4 ASCII bytes.

Is this correct? Should I have entered the serial exactly as shown on the device or enter each number as a 2-byte hex value?

If I tail -f /tmp/omci.log when I plug in the fiber connection I see this:

[01-01 00:14:18]==================Load:pidstat -r:==============
[01-01 00:14:18]==================Load:bs /b/e gem/index=0==============
[01-01 00:14:18]==================Load:OMCI packets tx/rx stat==============
[01-01 00:14:18][E]OMCI pkt stat**********
[01-01 00:14:18][E]OMCI rx pkt:0.
[01-01 00:14:18][E]OMCI tx pkt:0.
[01-01 00:14:18][E]OMCI alarm pkt:0.
[01-01 00:14:18][E]Do re-ranging!
[01-01 00:14:18][C]read_sn_from_RI sn is: 3720101470
[01-01 00:14:18]SendMsgToSlid msgsnd ok. slidMsg.onuState=1
[01-01 00:14:18]Enter notify_sipw_pon_status, onustate=1
[01-01 00:14:18]notify_sipw_pon_status: get SIPW queue failed, err = 2, No such file or directory
[01-01 00:14:18]>>>>configLptPort: onu state is ONU_LOS_LOF
[01-01 00:14:18]actionProcess: process actionType=116,messageInQueue=-1,totalMsgCounter=14,time=14m:18s:980ms
[01-01 00:14:18]actionProcess: processAction: result is: SUCCESS, end @ 14m:18s 986ms
[01-01 00:14:18]actionProcess: sendMsgToActionProcess, actionType=116
[01-01 00:14:19][E]checkPonLEDStatus:Fiber disconnected
[01-01 00:14:20]SendMsgToSlid msgsnd ok. slidMsg.onuState=2
[01-01 00:14:20]Enter notify_sipw_pon_status, onustate=2

It seems to be reading the serial as 3720101470 which isn't correct.

I am also not sure what I must do with the SLID in the web interface, if anything. It is currently set to 0000000000.

Any help would be greatly appreciated.

Thanks,
D

@ToTheCLI
Copy link

  • FSAN: CXNK0096EBFC

This is the SN

Should be:
ONTUSER@SFP:# ritool set MfrID CXNK
ONTUSER@SFP:
# ritool set G984Serial 0096EBFC
ONTUSER@SFP:~# ritool set YPSerialNum 0096EBFC

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

2 participants