summaryrefslogtreecommitdiffstats
path: root/_ont/ont-nokia-g-010g-t.md
blob: ea08b524174fc7f2350cd08884ff2f6e0359cfa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
---
title: Nokia G-010G-T
has_children: false
layout: default
parent: Nokia
---

# Hardware Specifications

|             |          |
| ----------- | -------- |
| Vendor      | Nokia    |
| Model       | G-010G-T |
| Chipset     | RTL9601D |
| Flash       | 16MB     |
| RAM         | 32MB     |
| System      | CIG (Luna SDK 1.9.0) |
| HSGMII      | ✅       |
| Optics      | SC/APC   |
| IP address  | 192.168.100.1  (factory reseted unit use IP 10.89.42.157/16) |
| Web Gui     | ✅ user `admin`, password `1234`      |
| Telnet      | ✅ user `ONTUSER` password should be calculated, each ONT has a different one |
| SSH         | Can be enabled, locked down by iptables rule |
| Form Factor | ONT      |

# External/Internal Photo

{% include image.html file="q-010g-t_front.jpg"  alt="Nokia G-010G-T Front" caption="Nokia G-010G-T Front" %}
{% include image.html file="q-010g-t_back.jpg"  alt="Nokia G-010G-T Back" caption="Nokia G-010G-T Back" %}
{% include image.html file="q-010g-t_ports.jpg"  alt="Nokia G-010G-T Ports" caption="Nokia G-010G-T Ports" %}
{% include image.html file="q-010g-t_internal_up.jpg"  alt="Nokia G-010G-T Internal Up" caption="Nokia G-010G-T Internal Up" %}
{% include image.html file="q-010g-t_internal_down.jpg"  alt="Nokia G-010G-T Internal Down" caption="Nokia G-010G-T Internal Down" %}

## List of software versions
- 3FE49717AOCK12 

## List of partitions

| dev   | size     | erasesize | name            |
| ----- | -------- | --------- | --------------- |
| mtd0  | 00040000 | 00001000  | "Boot"          |
| mtd1  | 00002000 | 00001000  | "Config"        |
| mtd2  | 00002000 | 00001000  | "ImageA"        |
| mtd3  | 0003c000 | 00001000  | "ImageB"        |

## Serial Console

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:

{% include image.html file="q-010g-t_ttl.jpg"  alt="Nokia G-010G-T TTL" caption="Nokia G-010G-T TTL" %}

At prompt to logon follow these commands:

```sh
ONT>enable
#ONT>login
User name:ONTUSER
Password: ****
```

# Access Full Shell

To access a complete linux shell just type:
```sh
#ONT>system
#ONT/system>shell
```

# Useful Commands

## Committing changes to the OMCI MIB tables for GPON operation
```sh
#ONT>system
#ONT/system>mib
#ONT/system/mib>reset
```

## Getting/Setting the ONT's S/N
```sh
#ONT>system
#ONT/system>misc
#ONT/system/misc>eqsn set "ALCL00000001"
---ATECMDRESULT--- OK
#ONT/system/misc>eqsn get
eqsn: ALCL00000001
---ATECMDRESULT--- OK
```

## Getting/Setting the ONT's Vendor
```sh
#ONT>system
#ONT/system>misc
#ONT/system/misc>vendor get
vendor: ALCL
---ATECMDRESULT--- OK
#ONT/system/misc>eqsnvend get
vendor: ALCL
---ATECMDRESULT--- OK
#ONT/system/misc>vendor set "ALCL"
---ATECMDRESULT--- OK
#ONT/system/misc>eqsnvend set "ALCL"
---ATECMDRESULT--- OK

```

## Getting/Setting the ONT's Equipment ID
```sh
#ONT>system
#ONT/system>misc
#ONT/system/misc>eqid set "FT-G2110C-2.5G"
---ATECMDRESULT--- OK
#ONT/system/misc>eqid get
eqid: FT-G2110C-2.5G
hex_eqid: 0x46542d4732313130432d322e3547000000000000
---ATECMDRESULT--- OK
```

## Getting/Setting the ONT's Hardware Version
```sh
#ONT>system
#ONT/system>misc
#ONT/system/misc>eqvid get
eqvid: 3FE45458ABAA06
hex_eqvid: 0x3346453435343538414241413036
---ATECMDRESULT--- OK
#ONT/system/misc>eqvid set "G2110CE2V1D0"
```

## Getting/Setting the ONT's IP/Netmask
```sh
#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
```

## Getting Operational Status 
```sh
#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
```sh
#ONT>system
#ONT/system>mib
#ONT/system/mib>show 256
Table Ontg, Ont-g, total 1 instances

EntityID                  = 0x0000
VID                       = "GNXS"
Version                   = 47 32 31 31 30 43 45 32 56 31 44 30 00 00
SerialNum                 = 47 4e 58 53 05 54 6f b0
TraffMgtOpt               = 0
AtmCCOpt                  = 0
BatteryBack               = 1
AdminState                = 0
OpState                   = 0
OnuSurvivalTime           = 0
Loid                      = ""
Password                  = ""
AuthState                 = 0
OntState                  = 1
```

## Setting the ONT's Software Version
The following must be typed from the standard linux shell:
```sh
# echo SWVER=C-5.6.1-R > /mnt/rwdir/sys.cfg
```

# Miscellaneous Links
- [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`*)
- [ispreview.co.uk](https://www.ispreview.co.uk/index.php/2022/09/pictured-openreachs-future-2-5gbps-ont-for-fttp-broadband.html)