Sure, but I think you are missing some basic concepts. The /tmp/scfg.txt file is read-only. You use /userdata/scfg.txt to override only the values that you want to change.
So mine /tmp/scfg.txt looks like below, but be aware I did not create this file myself, itâs autogenerated (based on other commands you execute and so on, but never edited by hand)
#ONT/system/shell>cat /tmp/scfg.txt
STRING CFG_ID_PON_VENDOR_ID = YCEC;
INT CFG_ID_PON_VSSN = 0x[...];
INT CFG_ID_PON_REGISTRATION_ID0 = 0x4[...];
INT CFG_ID_PON_REGISTRATION_ID1 = 0x[...];
INT CFG_ID_PON_REGISTRATION_ID2 = 0x[...]9;
INT CFG_ID_PON_REGISTRATION_ID3 = 0x00000000;
INT CFG_ID_PON_REGISTRATION_ID4 = 0x00000000;
INT CFG_ID_PON_REGISTRATION_ID5 = 0x00000000;
INT CFG_ID_PON_REGISTRATION_ID6 = 0x00000000;
INT CFG_ID_PON_REGISTRATION_ID7 = 0x00000000;
INT CFG_ID_PON_REGISTRATION_ID8 = 0x00000000;
MAC CFG_ID_NE_MAC_ADDR1 = 30:[...]:e3;
INT CFG_ID_PON_DG_ENABLE = 1;
#ONT/system/shell>cat /userdata/scfg.txt
CHAR-ARRAY CFG_ID_PASSWD = {0x43,[...],0x31};
INT CFG_ID_PON_REGISTRATION_ID0 = 0x43[...];
INT CFG_ID_PON_REGISTRATION_ID1 = 0x[...];
INT CFG_ID_PON_REGISTRATION_ID2 = 0x[...]31;
Can you confirm that you used CFG_ID_PASSWD in /userdata/scfg.txt for changing the Password appearing in /traffic/pon/show onu and nothing else?
No, this is not true. I did the following (in random order, should not matter)
pon_passwd set 001122334455
register_id set 001122334455
mac1 set 00:11:22:33:44:55
exeep_w8 0 "001122334455"
- craft
/userdata/scfg.txt
Some may be not necessary, but this was a bunch of attempts and I canât really track now the minimal set of commands required.
Be aware lower- and uppercase do make difference.