Skip to content

Commit f246557

Browse files
Merge pull request #425 from illpillow/main
Additional information for Nokia G-010G-R
2 parents 3bda738 + 22dabd5 commit f246557

3 files changed

Lines changed: 259 additions & 18 deletions

File tree

_ont/ont-nokia-g-010g-r.md

Lines changed: 252 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,30 @@ parent: Nokia
77

88
# Hardware Specifications
99

10-
| | |
11-
| ---------------- | ---------------------------------------------------------------------------- |
12-
| Vendor/Brand | Nokia |
13-
| Model | G-010G-R |
14-
| ODM | CIG |
15-
| ODM Product Code | G-97C |
16-
| Chipset | RTL9601B |
17-
| Flash | 16MB |
18-
| RAM | 32MB |
19-
| System | Linux (Luna SDK 1.9.0) |
20-
| 2.5GBaseT | No |
21-
| Optics | SC/APC |
22-
| IP address | 192.168.100.1 (after a factory reset the ONT uses 10.89.42.157/16) |
10+
| | |
11+
| ---------------- |-----------------------------------------------------------------------------|
12+
| Vendor/Brand | Nokia |
13+
| Model | G-010G-R |
14+
| ODM | CIG |
15+
| ODM Product Code | G-97C |
16+
| Chipset | RTL9601B |
17+
| Flash | 16MB |
18+
| RAM | 32MB |
19+
| System | Linux (Luna SDK 1.9.0) |
20+
| 2.5GBaseT | No |
21+
| Optics | SC/APC |
22+
| IP address | 192.168.100.1 (after a factory reset the ONT uses 10.89.42.157/16) |
2323
| Web Gui | ✅ user `admin`, password `1234` |
24-
| SSH | |
24+
| SSH | ✅ but no login possible |
2525
| Telnet | ✅ user `admin`, password `1234`, but has access to GponSLID and not GponCLI |
2626
| Serial ||
27-
| Serial baud | 115200 |
28-
| Serial encoding | 8-N-1 |
29-
| Form Factor | ONT |
27+
| Serial baud | 115200 |
28+
| Serial encoding | 8-N-1 |
29+
| Form Factor | ONT |
3030

3131
## List of software versions
3232
- 3FE49717AOCK12
33+
- 3FE49717AOCK38
3334

3435
## List of partitions
3536

@@ -41,15 +42,248 @@ parent: Nokia
4142
| mtd3 | 0003c000 | 00001000 | "ImageB" |
4243

4344

45+
## Boot log
46+
47+
```text
48+
CIG Version: 3.09.08
49+
50+
U-Boot 2011.12.NA-svn145270 (Aug 18 2021 - 15:54:14)
51+
52+
Board: RTL9601D, CPU:112MHz, LX:200MHx, MEM:325MHz, Type:DDR2
53+
DRAM: 32 MB
54+
SPI-F: 204018/MMIO16-1/ModeC 1x16 MB (plr_flash_info @ 81c3bcac)
55+
*** Warning - bad CRC, using default environment
56+
57+
--major = f2, minor = 1
58+
--major = f2, minor = 1
59+
*** !!! Check Result: EEPA and EEPB are all valid
60+
Device care eqvid: 3FE49165AAAA, Init serial
61+
Net: LUNA GMAC
62+
Warning: eth device name has a space!
63+
64+
swcore_init
65+
**************************************
66+
* *
67+
* KEY -- Enter console terminal *
68+
* *
69+
**************************************
70+
waiting for your select
71+
do_jffs2_fsload offset 0x80400000 loadaddr=0xb4088000..
72+
get loadbit 0,bootbit 0
73+
Get current Image = ImageA..
74+
75+
--- jffs2_part_info: partition number 2 for device sflash0 (sflash.0)
76+
77+
Loading 'uImage' from CRAMFS Partition 'imagea' to 0x80400000.
78+
79+
Root Filesystem crc check successfully!
80+
81+
82+
PRODUCT: sfu
83+
SS : noss
84+
DSP : nodsp
85+
WIFI: nowifi
86+
XDSL: nodsl
87+
Software version: 3FE49717AOCK38
88+
## Booting kernel from Legacy Image at 80400000 ...
89+
Image Name: Linux Kernel Image
90+
Created: 2022-08-29 14:48:12 UTC
91+
Image Type: MIPS Linux Kernel Image (lzma compressed)
92+
Data Size: 776207 Bytes = 758 KB
93+
Load Address: 80000000
94+
Entry Point: 80000000
95+
Verifying Checksum ... OK
96+
Uncompressing Kernel Image ... OK
97+
98+
Starting kernel ...
99+
100+
Linux version 2.6.30.9-cig-sfu-1 (root@compute3) (gcc version 4.4.6 (Realtek RS]
101+
RTL9602C PLL
102+
CPU revision is: 0000dc02
103+
Determined physical RAM map:
104+
memory: 016ff000 @ 00000000 (usable)
105+
memory: 006ff000 @ 01800000 (usable)
106+
Zone PFN ranges:
107+
Normal 0x00000000 -> 0x00001eff
108+
Movable zone start PFN for each node
109+
early_node_map[2] active PFN ranges
110+
0: 0x00000000 -> 0x000016ff
111+
0: 0x00001800 -> 0x00001eff
112+
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 7616
113+
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 mtdparts=sflash:1
114+
root_dev_setup line 180 root: /dev/mtdblock2
115+
icache: 64kB/32B, dcache: 32kB/32B, scache: 0kB/0B
116+
NR_IRQS:128
117+
PID hash table entries: 128 (order: 7, 512 bytes)
118+
console [ttyS0] enabled
119+
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
120+
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
121+
Memory: 28056k/30712k available (1664k kernel code, 2656k reserved, 489k data, )
122+
Calibrating delay loop... 110.33 BogoMIPS (lpj=55168)
123+
Mount-cache hash table entries: 512
124+
IMEM section size = 0x998
125+
net_namespace: 500 bytes
126+
NET: Registered protocol family 16
127+
bio: create slab <bio-0> at 0
128+
NET: Registered protocol family 2
129+
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
130+
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
131+
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
132+
TCP: Hash tables configured (established 1024 bind 1024)
133+
TCP reno registered
134+
NET: Registered protocol family 1
135+
=================================
136+
CONFIG_LUNA_SOC_GPIO: gpio_init()
137+
=================================
138+
Realtek GPIO Driver for Flash Reload Default
139+
=================================
140+
luna_capabilities_init
141+
=================================
142+
=================================
143+
luna_wdt_init
144+
=================================
145+
[Kthread : watchdog ] init complete!
146+
************ Watchdog Setting ****************
147+
WDT_E=0, (1-enable, 0-disable)
148+
LX(MHz)=200
149+
WDT_CLK_SC=3
150+
PH1_TO=17
151+
PH2_TO=0
152+
WDT_RESET_MODE=0
153+
**********************************************
154+
************ Watchdog Setting ****************
155+
WDT_E=1, (1-enable, 0-disable)
156+
LX(MHz)=200
157+
WDT_CLK_SC=3
158+
PH1_TO=17
159+
PH2_TO=0
160+
WDT_RESET_MODE=0
161+
**********************************************
162+
netlog: listening on port 4660
163+
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
164+
fuse init (API version 7.11)
165+
msgmni has been set to 54
166+
alg: No test for stdrng (krng)
167+
io scheduler noop registered (default)
168+
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
169+
serial8250: ttyS0 at MMIO 0x0 (irq = 49) is a 16550A
170+
loop: module loaded
171+
nbd: registered device at major 43
172+
PPP generic driver version 2.4.2
173+
NET: Registered protocol family 24
174+
nf_conntrack version 0.5.0 (479 buckets, 1916 max)
175+
ip_tables: (C) 2000-2006 Netfilter Core Team
176+
TCP cubic registered
177+
NET: Registered protocol family 17
178+
physmap platform flash device: 0b000000 at 14000000
179+
Luna SPI NOR FLASH G3 driver-204018/MMIO16-1 <5>master->name sflash
180+
cmd: cmdlinepart
181+
4 cmdlinepart partitions found on MTD device sflash
182+
Creating 4 MTD partitions on "sflash":
183+
0x000000000000-0x000000080000 : "Boot"
184+
0x000000080000-0x000000200000 : "Config"
185+
0x000000200000-0x000000900000 : "ImageA"
186+
0x000000900000-0x000001000000 : "ImageB"
187+
VFS: Mounted root (cramfs filesystem) readonly on device 31:2.
188+
Freeing unused kernel memory: 92k freed
189+
190+
# num is 10,nothing need to do
191+
/
192+
ONT>Starting Application: 0x00002000, /bin/TimerMgr................Done.
193+
Starting Application: 0x00001000, /bin/LogMgr................Done.
194+
Mmr_trans_bosa_v40_probe() 1285 Vendor: SEMTECH, Part Number: 25L95, bosa ver =0
195+
Mmr_Bob40_reset() 673, laser status:80
196+
Starting Application: 0x00007000, /bin/MiscMgr................Done.
197+
starting to upgrade boot
198+
file[/bootimg/00f2_01_01] length=184320
199+
Flash bootload versin is 3.09.08
200+
Upgrading bootload versin is 3.09.08
201+
Upgrading boot is old
202+
Check base image file CRC ... cal_crc (2af075a1) ori_crc (2af075a1) Success
203+
```
204+
205+
44206
## Serial
45207

46208
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:
47-
{% include image.html file="g-010g-r_serial_pinouts.jpg" alt="Nokia G-010G-R Ports" caption="Nokia G-010G-R Ports" %}
209+
{% include image.html file="g-010g-r_serial_pinouts.jpg" alt="Nokia G-010G-R Ports" caption="Nokia G-010G-R Ports" %}
210+
211+
Please note that some models come without a pre-soldered pin header.
212+
{% include image.html file="g-010g-r_headerless.jpg" alt="Nokia G-010G-R w/o pin header" caption="Nokia G-010G-R w/o pin header" %}
48213

49214
{% include_relative ont-nokia-use.md username="ONTUSER" %}
50215

51216
{% include_relative ont-nokia-useful-command.md %}
52217

218+
219+
# SSH
220+
221+
The image contains dropbear.
222+
```text
223+
#ONT/system/shell>dropbear -V
224+
Dropbear v2019.78
225+
```
226+
227+
The SSH port (22) is blocked per default by iptables rules.
228+
```text
229+
#ONT/system/shell>iptables --list
230+
Chain INPUT (policy ACCEPT)
231+
target prot opt source destination
232+
DROP all -- anywhere anywhere state INVALID
233+
ACL all -- anywhere anywhere
234+
235+
Chain FORWARD (policy DROP)
236+
target prot opt source destination
237+
ACCEPT all -- anywhere anywhere
238+
ACCEPT all -- anywhere anywhere state RELATED,ESTAB
239+
DROP all -- anywhere anywhere state INVALID
240+
241+
Chain OUTPUT (policy ACCEPT)
242+
target prot opt source destination
243+
ACCEPT all -- anywhere anywhere state RELATED,ESTAB
244+
DROP all -- anywhere anywhere state INVALID
245+
246+
Chain ACL (1 references)
247+
target prot opt source destination
248+
DROP tcp -- anywhere anywhere tcp dpt:http
249+
DROP tcp -- anywhere anywhere tcp dpt:telnet
250+
DROP tcp -- anywhere anywhere tcp dpt:ssh
251+
DROP tcp -- anywhere anywhere tcp dpt:ftp
252+
RETURN all -- anywhere anywhere
253+
254+
Chain INVALID (0 references)
255+
target prot opt source destination
256+
```
257+
258+
The corresponding rules can simply be deleted as the default policy allows any traffic.
259+
```text
260+
#ONT/system/shell>iptables -D ACL 1
261+
```
262+
263+
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.
264+
```text
265+
#ONT/system/shell>cat /etc/passwd
266+
root:x:0:0:root:/root:/bin/sh
267+
bin:x:1:1:bin:/bin:/bin/false
268+
daemon:x:2:2:daemon:/sbin:/bin/false
269+
adm:x:3:4:adm:/var/adm:/bin/false
270+
lp:x:4:7:lp:/var/spool/lpd:/bin/false
271+
sync:x:5:0:sync:/sbin:/bin/sync
272+
shutdown:x:6:0:shutdown:/sbin:/bin/false
273+
halt:x:7:0:halt:/sbin:/sbin/halt
274+
mail:x:8:12:mail:/var/spool/mail:/bin/false
275+
uucp:x:10:14:uucp:/var/spool/uucp:/bin/false
276+
operator:x:11:0:operator:/root:/bin/false
277+
games:x:12:100:games:/usr/games:/bin/false
278+
gopher:x:13:30:gopher:/var/gopher:/bin/false
279+
ftp:x:14:50:FTP User:/var/ftp:/bin/false
280+
nobody:x:99:99:Nobody:/:/bin/false
281+
282+
#ONT/system/shell>cat /etc/shadow
283+
root::10933:0:99999:7:::
284+
```
285+
286+
53287
# Miscellaneous Links
54288
- [MIB file parser](https://github.com/nanomad/nokia-ont-mib-parser) for NOKIA's GPON ONTs (*helps you parsing the .mib file located in `/mnt/rwdir`*)
55289
- [ispreview.co.uk](https://www.ispreview.co.uk/index.php/2022/09/pictured-openreachs-future-2-5gbps-ont-for-fttp-broadband.html)

_ont/ont-nokia-useful-command.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,10 @@ admin_mask: 255.255.255.0
146146
---ATECMDRESULT--- OK
147147
#ONT/system/misc>admin_mask set 255.255.255.0
148148
```
149+
150+
## (Re-)enable webinterface
151+
```sh
152+
#ONT>system
153+
#ONT/system>manu
154+
#ONT/system/manu>internal_ip_en
155+
```

assets/img/g-010g-r_headerless.jpg

2.46 MB
Loading

0 commit comments

Comments
 (0)