hwti / G-010S-A

All about Nokia G-010S-A GPON SFP
186 stars 34 forks source link

How to update the firmware? #3

Closed vuducdong closed 2 years ago

vuducdong commented 3 years ago

Hi,

How to update the firmware? Please explain more clearly, if I want to update the firmware. Thank you!

yaltar commented 3 years ago

Hi, it's mentioned https://github.com/hwti/G-010S-A#upgrade

You need to first scp the .bin file.

Immick commented 3 years ago

Hi, it's mentioned https://github.com/hwti/G-010S-A#upgrade

You need to first scp the .bin file.

Sorry, what did you mean by "scp"? And is there a way to determine what current firmware version is used?

Thank you!

hwti commented 3 years ago

Sorry, what did you mean by "scp"?

This is a way to transfer files over SSH :

And is there a way to determine what current firmware version is used?

You can connect using SSH (ssh ONTUSER@192.168.1.10, password SUGAR2A041), and run upgradestatus, or cat /usr/etc/buildinfo.

hwti commented 3 years ago

The "C hardisk" is on your PC, you need to first copy the firmware to the ONT (in /tmp, which is stored in RAM) :

pscp.exe C:\3FE47111BFHB32.bin ONTUSER@192.168.1.10:/tmp

Then you connect to the ONT (ssh ONTUSER@192.168.1.10), and :

mtd write /tmp/3FE47111BFHB32.BIN image1
update_env_flag 1
reboot

For the SLID/PLOAM password, I made a mistake. The gpon.ploam.nPassword value would have been set, but would never change the effective password (which can be checked with onu gtccg). The value needs to be set using the web interface.

hwti commented 3 years ago

The value set with uci set gpon.ploam.nPassword is saved, but it doesn't matter since it isn't really used on the G-010S-A (at least for the firmwares here).

The authentication depends on your ISP, and sometimes on the OLT type, your original ONT, and when you subscribed. If you need to set the S/N, use the ritool commands. If you need to set the SLID, use the web interface. After a reboot, you should see the values in onu gtcsng/onu gtccg output.

Perhaps it would be easier if you describe your issue : ISP, what you configured, onu ploamsg/onu gtcsng/onu gtccg output, ...

I have no specific firmware version to recommend, no one ever reported something working on one version and broken on another. I don't think they have any differences for authentication, so it's better to try to understand the issue first.