Ray Lee
Ray Lee
> I can't using this firmware, upgrade ok, but router no link , sorry, i can't help you. I don't know much about this firmware maybe you can try another...
I can see it try to get LOID from scfg ``` no LOID value in scfg [01-01 10:00:15][OMCI]get loid failed [01-01 10:00:15][OMCI]getLoidAuthInfo() exit @ 600m:15s:216ms, : [01-01 10:00:15][OMCI] - create_instance_auto()...
Where is the function `scfg_get` 
It seems that we can use `ritool` to set the `scfg` ``` ONTUSER@SFP:/sbin# ls -lt /sbin/ritool lrwxrwxrwx 1 ONTUSER root 17 Jan 25 2021 /sbin/ritool -> /usr/exe/scfgtool ONTUSER@SFP:/sbin# ritool set...
I have use hex editor to modify `scfg.ko` rename SSID-1Name to LOID rename SSID-1Password to LOIDPassword and rebuild the firmware ``` ONTUSER@SFP:~# ritool set LOID 12312312 ONTUSER@SFP:~# dmesg | tail...
you are right the length of `SSID-1Password` is not enough. ``` [ 1081.284000] [K_SCFG] scfg_drv_ioctl: set scfg[LOIDPassword] from userspace [ 1081.284000] your contents is too long [ 1081.284000] scfg_drv_set_internal failed...
 I have modified `scfg.ko` and extend LOID to 24bytes , LOIDPassword to 16bytes ``` ONTUSER@SFP:~# ritool set LOID TS1000005111111 ONTUSER@SFP:~# ritool set LOIDPassword TS1000005111 ONTUSER@SFP:~# ritool get LOID the...
> @AxisRay upgrade custom firmware is here to help you change loid [#1 (comment)](https://github.com/hwti/G-010S-A/issues/1#issuecomment-1066288848) I know it. The custom firmware is uploaded by me. I am trying to modify the...
oh, "padding issues" ``` [01-01 00:11:41]logical_id.value = 20 20 20 20 20 20 20 20 20 53 5a 31 30 30 30 30 30 35 39 34 35 32 37...
> 1, Password: it's mean LOID password, right? (20 characters), but normaly is maximum 12 characters No, you can find why here > Where is the function `scfg_get` 