Skip to content

Hardware Specifications ​

Vendor/BrandNokia
ModelG-010S-A
ODM✅[1]
ChipsetLantiq PEB98035
Flash16 MB
RAM64 MB
CPUMIPS 34Kc interAptiv
CPU Clock400MHz
SystemOpenWRT
HSGMIIYes
OpticsSC/UPC
IP address192.168.1.10
Web Gui✅ user adminadmin, password ALC#FGU
SSH✅ user ONTUSER, password SUGAR2A041
Telnet
Serial✅ on SFP
Serial baud115200
Serial encoding8-N-1
Form FactorminiONT SFP
G-010S-A
G-010S-A
G-010S-A Teardown
G-010S-A Teardown

Modifying firmware ​

The Nokia G-010S-A can be flashed with the Nokia G-010S-P firmware, provided the MTD layout has been changed beforehand to match the new one. For the full procedure, see this post on lafibre.info

List of software versions ​

Serial ​

The stick has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be accessed from the SFP connector.

USB TTL(UART) AdapterSFP 20pins Molex connector
3.3Vpin #15 and #16
TXpin #3
RXpin #6
GNDpin #14 and #10

Note

Try PIN 10 or other GND PINs if the connection doesn't work by using PIN 14.

Note

Some USB TTL adapters label TX and RX pins the other way around: try to swap them if the connection doesn't work.

List of partitions ​

devsizeerasesizename
mtd00004000000010000"uboot"
mtd10008000000010000"uboot_env"
mtd20060000000010000"linux"
mtd3004d81b600010000"rootfs"
mtd4000b000000010000"rootfs_data"
mtd50060000000010000"image1"
mtd60010000000010000"configfs"
mtd70021000000010000"logfs"
mtd80001000000010000"ri"
mtd90001000000010000"sfp"
mtd100001000000010000"ribackup"

List of software versions ​

  • 3FE46398AFGA95
  • 3FE46398AFGB89
  • 3FE46398BFGA06
  • 3FE46398BFGB18
  • 3FE46398BFIB36
  • 3FE46398BGCB22
  • 3FE47111AFGB89
  • 3FE47111BFHB32

See more info on: Firmwares G-010S-A

Usage ​

Enabling serial ​

sh
fw_setenv bootdelay 5
fw_setenv asc0 0
fw_setenv preboot

GPON ONU status ​

Getting the operational status of the ONU ​

sh
onu ploamsg

Getting information on the OLT vendor ​

sh
omci_pipe.sh meg 131 0

Querying a particular OMCI ME ​

sh
omci_pipe.sh meg MIB_IDX ME_IN

Where MIB_IDX is the MIB ID and ME_IN is the ME instance number

Getting/Setting Speed LAN Mode ​

VelueSpeed
41 Gbps / SGMII
52.5 Gbps / HSGMII with auto-neg on

To enable the interface to sync at 2.5 Gbps speeds / using HSGMII with auto-neg on:

sh
fw_setenv sgmii_mode 5

To revert the change back to default:

sh
fw_setenv sgmii_mode

To get the (H)SGMII Mode:

sh
onu lanpsg 0

The link_status variable tells the current speed

GPON/OMCI settings ​

Enabling parameter modification ​

This setting must be set in order to perform other parameter modifications

sh
ritool set OperatorID 0000

Getting/Setting ONU GPON Serial Number ​

To check the current serial number:

sh
onu gtcsng

To set the current serial number:

sh
ritool set MfrID ABCD
ritool set G984Serial 012345678
ritool set YPSerialNum 012345678

Getting/Setting ONU GPON PLOAM password ​

To check the current password (the password field contains decimal values of ASCII characters):

sh
onu gtccg

This value can be changed using the web interface.

Getting/Setting OMCI software version (ME 7) ​

The software version must be changed by directly modifying firmware by using the patches found in the wiki's page about the Nokia G-010-A ONT and then adding a folder 0001_swversion that contins a file patch.sh with the following content:

#!/bin/sh

set -e

ROOTFS=$1

echo "Changing to software version desidered"
sed -i s/3FE46398BGCB22/3FE45655BOCK99/g "$ROOTFS/usr/etc/buildinfo"

Where 3FE46398BGCB22 is the current software version and 3FE45655BOCK99 the desired software version

Getting/Setting OMCI hardware version (ME 256) ​

ritool set HardwareVersion 3FE47211EGAA
ritool set ICS 01

Getting/Setting OMCI equipment ID (ME 257) ​

This ONT is designed to save Nokia's equipment ID, specifically to set the equipment ID of a Nokia G-010G-Q the following commands are to be used:

sh
ritool set CleiCode __________
ritool set Mnemonic G-010G-Q__

Where CleiCode is the prefix and Mnemonic the postfix.

Advanced settings ​

Transferring files to the stick ​

Info

If you use a modern OpenSSH version (e.g. >= 8.8) you will have to use the legacy protocol and enable some deprecated algorithms: scp -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss [...]

sh
# scp rootfs.bin root@192.168.1.10:/tmp/

Backup of all partition ​

Make a backup of all partitions, an easy way is to run these commands:

  • On the stick run:
sh
cat /proc/mtd
  • For each mtdX run this command in the lantiq shell:
sh
cp /dev/mtdX /tmp

Info

If you use a modern OpenSSH version (e.g. >= 8.8) you will have to use the legacy protocol and enable some deprecated algorithms: scp -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss [...]

And in the computer shell:

sh
scp ONTUSER@192.168.1.10:/tmp/mtdX ./

Checking the currently active image ​

sh
upgradestatus

Setting management MAC ​

ritool set MACAddress 12:34:56:78:9A:BC

Setting management IP ​

ifconfig eth0:1 192.168.1.10 netmask 255.255.255.0

Flashing a new rootfs via SSH ​

Info

Only the inactive image can be flashed

Info

It is recommended to enable serial access via TTL

The following commands are used to flash a new rootfs to image1 and then boot to it:

sh
mtd write /tmp/rootfs.bin image1
update_env_flag 1
reboot

Disabling Dying Gasp ​

sh
uci set gpon.gtc.nDyingGaspEnable='0'; uci commit gpon

Rebooting the ONU ​

sh
reboot

Miscellaneous commands ​

sh
cat /configs/image_version
cat /usr/etc/buildinfo
ritool dump
omciMgr

Miscellaneous Links ​



  1. The last model letter in a Nokia/Alcatel ONT indicates the variant: A-M ALu ONT Manufacturer, P-Z external Manufacturer https://hack-gpon.org/assets/img/ont-nokia-naming.jpg ↩︎

Copyright © 2022-2026. The documentation hereby found is distributed under the terms of the MIT License. Any external reference, link or software retains its original license and is not under the control of this website. Privacy Policy.