Nokia G-010G-R
Hardware Specifications
| Vendor/Brand | Nokia |
| Model | G-010G-R |
| ODM | CIG |
| ODM Product Code | G-97C |
| Chipset | RTL9601B |
| Flash | 16MB |
| RAM | 32MB |
| System | Linux (Luna SDK 1.9.0) |
| 2.5GBaseT | No |
| Optics | SC/APC |
| IP address | 192.168.100.1 (after a factory reset the ONT uses 10.89.42.157/16) |
| Web Gui | ✅ user admin, password 1234 |
| SSH | ✅ but no login possible |
| Telnet | ✅ user admin, password 1234, but has access to GponSLID and not GponCLI |
| Serial | ✅ |
| Serial baud | 115200 |
| Serial encoding | 8-N-1 |
| Form Factor | ONT |
List of software versions
- 3FE49717AOCK12
- 3FE49717AOCK38
List of partitions
| dev | size | erasesize | name |
|---|---|---|---|
| mtd0 | 00040000 | 00001000 | “Boot” |
| mtd1 | 00002000 | 00001000 | “Config” |
| mtd2 | 00002000 | 00001000 | “ImageA” |
| mtd3 | 0003c000 | 00001000 | “ImageB” |
Boot log
CIG Version: 3.09.08
U-Boot 2011.12.NA-svn145270 (Aug 18 2021 - 15:54:14)
Board: RTL9601D, CPU:112MHz, LX:200MHx, MEM:325MHz, Type:DDR2
DRAM: 32 MB
SPI-F: 204018/MMIO16-1/ModeC 1x16 MB (plr_flash_info @ 81c3bcac)
*** Warning - bad CRC, using default environment
--major = f2, minor = 1
--major = f2, minor = 1
*** !!! Check Result: EEPA and EEPB are all valid
Device care eqvid: 3FE49165AAAA, Init serial
Net: LUNA GMAC
Warning: eth device name has a space!
swcore_init
**************************************
* *
* KEY -- Enter console terminal *
* *
**************************************
waiting for your select
do_jffs2_fsload offset 0x80400000 loadaddr=0xb4088000..
get loadbit 0,bootbit 0
Get current Image = ImageA..
--- jffs2_part_info: partition number 2 for device sflash0 (sflash.0)
Loading 'uImage' from CRAMFS Partition 'imagea' to 0x80400000.
Root Filesystem crc check successfully!
PRODUCT: sfu
SS : noss
DSP : nodsp
WIFI: nowifi
XDSL: nodsl
Software version: 3FE49717AOCK38
## Booting kernel from Legacy Image at 80400000 ...
Image Name: Linux Kernel Image
Created: 2022-08-29 14:48:12 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 776207 Bytes = 758 KB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 2.6.30.9-cig-sfu-1 (root@compute3) (gcc version 4.4.6 (Realtek RS]
RTL9602C PLL
CPU revision is: 0000dc02
Determined physical RAM map:
memory: 016ff000 @ 00000000 (usable)
memory: 006ff000 @ 01800000 (usable)
Zone PFN ranges:
Normal 0x00000000 -> 0x00001eff
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000000 -> 0x000016ff
0: 0x00001800 -> 0x00001eff
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 7616
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 mtdparts=sflash:1
root_dev_setup line 180 root: /dev/mtdblock2
icache: 64kB/32B, dcache: 32kB/32B, scache: 0kB/0B
NR_IRQS:128
PID hash table entries: 128 (order: 7, 512 bytes)
console [ttyS0] enabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 28056k/30712k available (1664k kernel code, 2656k reserved, 489k data, )
Calibrating delay loop... 110.33 BogoMIPS (lpj=55168)
Mount-cache hash table entries: 512
IMEM section size = 0x998
net_namespace: 500 bytes
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
=================================
CONFIG_LUNA_SOC_GPIO: gpio_init()
=================================
Realtek GPIO Driver for Flash Reload Default
=================================
luna_capabilities_init
=================================
=================================
luna_wdt_init
=================================
[Kthread : watchdog ] init complete!
************ Watchdog Setting ****************
WDT_E=0, (1-enable, 0-disable)
LX(MHz)=200
WDT_CLK_SC=3
PH1_TO=17
PH2_TO=0
WDT_RESET_MODE=0
**********************************************
************ Watchdog Setting ****************
WDT_E=1, (1-enable, 0-disable)
LX(MHz)=200
WDT_CLK_SC=3
PH1_TO=17
PH2_TO=0
WDT_RESET_MODE=0
**********************************************
netlog: listening on port 4660
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.11)
msgmni has been set to 54
alg: No test for stdrng (krng)
io scheduler noop registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 49) is a 16550A
loop: module loaded
nbd: registered device at major 43
PPP generic driver version 2.4.2
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (479 buckets, 1916 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
physmap platform flash device: 0b000000 at 14000000
Luna SPI NOR FLASH G3 driver-204018/MMIO16-1 <5>master->name sflash
cmd: cmdlinepart
4 cmdlinepart partitions found on MTD device sflash
Creating 4 MTD partitions on "sflash":
0x000000000000-0x000000080000 : "Boot"
0x000000080000-0x000000200000 : "Config"
0x000000200000-0x000000900000 : "ImageA"
0x000000900000-0x000001000000 : "ImageB"
VFS: Mounted root (cramfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 92k freed
# num is 10,nothing need to do
/
ONT>Starting Application: 0x00002000, /bin/TimerMgr................Done.
Starting Application: 0x00001000, /bin/LogMgr................Done.
Mmr_trans_bosa_v40_probe() 1285 Vendor: SEMTECH, Part Number: 25L95, bosa ver =0
Mmr_Bob40_reset() 673, laser status:80
Starting Application: 0x00007000, /bin/MiscMgr................Done.
starting to upgrade boot
file[/bootimg/00f2_01_01] length=184320
Flash bootload versin is 3.09.08
Upgrading bootload versin is 3.09.08
Upgrading boot is old
Check base image file CRC ... cal_crc (2af075a1) ori_crc (2af075a1) Success
Serial
The ONT has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be accessed from the top surface. To accept TX line commands, the GND of the TTL adapter should be attached to the ONT’s shield like the below photo:
Please note that some models come without a pre-soldered pin header.
Usage
Login and enable
Once you’re logged in, a custom menu will be shown and you’ll be able to access the linux shell by first typing system followed by shell:
ONT>enable
#ONT>login
User name:ONTUSER
Password: ****
The enable password can be generated using the following form:
Accessing Full Shell
To access a complete linux shell just type:
#ONT>system
#ONT/system>shell
To exit the shell and reach the parent menu type exit or x, in each menu the help command will show how to use the shell
GPON ONU status
Getting the operational status of the ONU
#ONT>traffic
#ONT/system>pon
#ONT/system/pon>show link
----------------- LINK STATE -----------------
Link State: ACTIVE
Operation State Machine: OPERATION (O5)
----------------- STATE END -----------------
Querying a particular OMCI ME
#ONT>system
#ONT/system>mib
#ONT/system/mib>show 256
Table Ontg, Ont-g, total 1 instances
EntityID = 0x0000
VID = "ALCL"
Version = AA BB CC DD EE FF 11 22 33 44 55 66 00 00
SerialNum = AA BB CC DD EE FF 11 22
TraffMgtOpt = 0
AtmCCOpt = 0
BatteryBack = 1
AdminState = 0
OpState = 0
OnuSurvivalTime = 0
Loid = ""
Password = ""
AuthState = 0
OntState = 1
GPON/OMCI settings
Committing changes to the OMCI MIB tables for GPON operation
#ONT>system
#ONT/system>mib
#ONT/system/mib>reset
Getting/Setting ONU GPON Serial Number
#ONT>system
#ONT/system>misc
#ONT/system/misc>eqsn set "ALCL00000001"
---ATECMDRESULT--- OK
#ONT/system/misc>eqsn get
eqsn: ALCL00000001
---ATECMDRESULT--- OK
Getting/Setting PLOAM
#ONT>system
#ONT/system>misc
#ONT/system/misc>pon_passwd set "123456789"
---ATECMDRESULT--- OK
#ONT/system/misc>pon_passwd get
pon_passwd: 31323334353637383900
---ATECMDRESULT--- OK
#ONT/system/misc>register_id set "123456789"
---ATECMDRESULT--- OK
#ONT/system/misc>register_id get
pon_passwd: 31323334353637383900
---ATECMDRESULT--- OK
Setting OMCI software version (ME 7)
The following command must be typed into the standard linux shell:
# echo SWVER=3FE49337AOCK80 > /mnt/rwdir/sys.cfg
Getting/Setting OMCI hardware version (ME 256)
#ONT>system
#ONT/system>misc
#ONT/system/misc>eqvid get
eqvid: 3FE45458ABAA06
hex_eqvid: 0x3346453435343538414241413036
---ATECMDRESULT--- OK
#ONT/system/misc>eqvid set "YOUR_CUSTOM_VID"
Getting/Setting OMCI vendor ID (ME 256)
#ONT>system
#ONT/system>misc
#ONT/system/misc>vendor get
vendor: ALCL
---ATECMDRESULT--- OK
#ONT/system/misc>vendor set "ALCL"
---ATECMDRESULT--- OK
Getting/Setting OMCI equipment ID (ME 257)
#ONT>system
#ONT/system>misc
#ONT/system/misc>eqid set "YOUR_CUSTOM_EQUID"
---ATECMDRESULT--- OK
#ONT/system/misc>eqid get
eqid: YOUR_CUSTOM_EQUID
hex_eqid: 0x594F55525F435553544F4D5F4551554944000000000000
---ATECMDRESULT--- OK
Getting/Setting MAC address
mac1 = Lower MAC ID (printed on label)
mac2 = Upper MAC ID (usually = mac1+3)
#ONT>system
#ONT/system>misc
#ONT/system/misc>mac1 get
mac1: aa.bb.12.34.56.78
---ATECMDRESULT--- OK
#ONT/system/misc>mac2 get
mac2: aa.bb.12.34.56.7b
---ATECMDRESULT--- OK
#ONT/system/misc>mac1 set 12:34:56:11:22:33
---ATECMDRESULT--- OK
#ONT/system/misc>mac2 set 12:34:56:11:22:44
---ATECMDRESULT--- OK
Advanced settings
Setting management IP
#ONT>system
#ONT/system>misc
#ONT/system/misc>admin_ip get
admin_ip: 192.168.100.1
---ATECMDRESULT--- OK
#ONT/system/misc>admin_ip set 192.168.1.1
#ONT/system/misc>admin_mask get
admin_mask: 255.255.255.0
---ATECMDRESULT--- OK
#ONT/system/misc>admin_mask set 255.255.255.0
(Re-)enable webinterface
#ONT>system
#ONT/system>manu
#ONT/system/manu>internal_ip_en
SSH
The image contains dropbear.
#ONT/system/shell>dropbear -V
Dropbear v2019.78
The SSH port (22) is blocked per default by iptables rules.
#ONT/system/shell>iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere state INVALID
ACL all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTAB
DROP all -- anywhere anywhere state INVALID
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTAB
DROP all -- anywhere anywhere state INVALID
Chain ACL (1 references)
target prot opt source destination
DROP tcp -- anywhere anywhere tcp dpt:http
DROP tcp -- anywhere anywhere tcp dpt:telnet
DROP tcp -- anywhere anywhere tcp dpt:ssh
DROP tcp -- anywhere anywhere tcp dpt:ftp
RETURN all -- anywhere anywhere
Chain INVALID (0 references)
target prot opt source destination
The corresponding rules can simply be deleted as the default policy allows any traffic.
#ONT/system/shell>iptables -D ACL 1
Since the root user does not have a password set and dropbear disallows logins with empty passwords for security reasons, there is no login possible.
#ONT/system/shell>cat /etc/passwd
root:x:0:0:root:/root:/bin/sh
bin:x:1:1:bin:/bin:/bin/false
daemon:x:2:2:daemon:/sbin:/bin/false
adm:x:3:4:adm:/var/adm:/bin/false
lp:x:4:7:lp:/var/spool/lpd:/bin/false
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/bin/false
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/bin/false
uucp:x:10:14:uucp:/var/spool/uucp:/bin/false
operator:x:11:0:operator:/root:/bin/false
games:x:12:100:games:/usr/games:/bin/false
gopher:x:13:30:gopher:/var/gopher:/bin/false
ftp:x:14:50:FTP User:/var/ftp:/bin/false
nobody:x:99:99:Nobody:/:/bin/false
#ONT/system/shell>cat /etc/shadow
root::10933:0:99999:7:::
Miscellaneous Links
- MIB file parser for NOKIA’s GPON ONTs (helps you parsing the .mib file located in
/mnt/rwdir) - ispreview.co.uk
- MIB file parser for NOKIA’s GPON ONTs (helps you parsing the .mib file located in
/mnt/rwdir)