You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add new info
* update to new template
* update Nokia G-010S-A
Co-authored-by: BsCmOD <64871957+BsCmOD@users.noreply.github.com>
---------
Co-authored-by: Simone Bortolin <simonebortolin@users.noreply.github.com>
Co-authored-by: BsCmOD <64871957+BsCmOD@users.noreply.github.com>
Copy file name to clipboardExpand all lines: _ont/ont-nokia-g-010s-a.md
+219-3Lines changed: 219 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,20 +57,236 @@ The stick has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be a
57
57
58
58
{% include alert.html content="Some USB TTL adapters label TX and RX pins the other way around: try to swap them if the connection doesn't work." alert="Note" icon="svg-warning" color="yellow" %}
59
59
60
-
# General Settings and Useful Commands
60
+
## List of partitions
61
+
62
+
| dev | size | erasesize | name |
63
+
| ----- | -------- | --------- | ------------- |
64
+
| mtd0 | 00040000 | 00010000 | "uboot" |
65
+
| mtd1 | 00080000 | 00010000 | "uboot_env" |
66
+
| mtd2 | 00600000 | 00010000 | "linux" |
67
+
| mtd3 | 004d81b6 | 00010000 | "rootfs" |
68
+
| mtd4 | 000b0000 | 00010000 | "rootfs_data" |
69
+
| mtd5 | 00600000 | 00010000 | "image1" |
70
+
| mtd6 | 00100000 | 00010000 | "configfs" |
71
+
| mtd7 | 00210000 | 00010000 | "logfs" |
72
+
| mtd8 | 00010000 | 00010000 | "ri" |
73
+
| mtd9 | 00010000 | 00010000 | "sfp" |
74
+
| mtd10 | 00010000 | 00010000 | "ribackup" |
75
+
76
+
## List of software versions
77
+
78
+
- 3FE46398AFGA95
79
+
- 3FE46398AFGB89
80
+
- 3FE46398BFGA06
81
+
- 3FE46398BFGB18
82
+
- 3FE46398BFIB36
83
+
- 3FE46398BGCB22
84
+
- 3FE47111AFGB89
85
+
- 3FE47111BFHB32
86
+
87
+
See more info on: [Firmwares G-010S-A](https://github.com/hwti/G-010S-A#firmwares)
88
+
89
+
# Usage
90
+
91
+
## Enable serial
92
+
93
+
```sh
94
+
fw_setenv bootdelay 5
95
+
fw_setenv asc0 0
96
+
fw_setenv preboot
97
+
```
98
+
99
+
# GPON ONU status
100
+
101
+
## Get the operational status of the ONU
102
+
103
+
```sh
104
+
onu ploamsg
105
+
```
106
+
107
+
## Get information of the OLT vendor
108
+
109
+
```sh
110
+
omci_pipe.sh meg 131 0
111
+
```
112
+
113
+
## Querying a particular OMCI ME
114
+
115
+
```sh
116
+
omci_pipe.sh meg MIB_IDX ME_IN
117
+
```
118
+
Where `MIB_IDX` is the MIB ID and the `ME_IN` is the ME instance number
119
+
120
+
## Getting/Setting Speed LAN Mode
121
+
122
+
| Velue | Speed |
123
+
| ----- | ---------------------------------- |
124
+
| 4 | 1 Gbps / SGMII |
125
+
| 5 | 2.5 Gbps / HSGMII with auto-neg on |
126
+
127
+
To enable the 2.5 Gbps / HSGMII with auto-neg on:
128
+
129
+
```sh
130
+
fw_setenv sgmii_mode 5
131
+
```
132
+
133
+
To remove the value (back to default):
134
+
```sh
135
+
fw_setenv sgmii_mode
136
+
```
137
+
138
+
To get the (H)SGMII Mode:
139
+
140
+
```sh
141
+
onu lanpsg 0
142
+
```
143
+
The `link_status` variable tells the current speed
144
+
145
+
# GPON/OMCI settings
146
+
147
+
## Enable parameters modification
148
+
This setting must be inserted in order to performs the others parameters modification
149
+
```sh
150
+
ritool set OperatorID 0000
151
+
```
152
+
153
+
## Getting/Setting ONU GPON Serial Number
154
+
To check the current serial number:
155
+
```sh
156
+
onu gtcsng
157
+
```
158
+
159
+
To set the current serial number:
160
+
```sh
161
+
ritool set MfrID ABCD
162
+
ritool set G984Serial 012345678
163
+
ritool set YPSerialNum 012345678
164
+
```
165
+
166
+
## Getting/Setting ONU GPON PLOAM password
167
+
To check the current password (the password field contains decimal values of ASCII characters):
168
+
```sh
169
+
onu gtccg
170
+
```
171
+
172
+
The value can be changed using the web interface.
173
+
174
+
## Getting/Setting OMCI software version (ME 7)
175
+
176
+
Software verion must be changed by directly modifing firmware by using the patches which can be found in GitHub page of [Nokia G-010-A](https://github.com/hwti/G-010S-A) and adding a folder `0001_swversion` that contins a file `patch.sh`:
177
+
```
178
+
#!/bin/sh
179
+
180
+
set -e
181
+
182
+
ROOTFS=$1
183
+
184
+
echo "Changing to software version desidered"
185
+
sed -i s/3FE46398BGCB22/3FE45655BOCK99/g "$ROOTFS/usr/etc/buildinfo"
186
+
```
187
+
Where `3FE46398BGCB22` is the current software version and `3FE45655BOCK99` the software version desidered
188
+
189
+
## Getting/Setting OMCI hardware version (ME 256)
190
+
191
+
```
192
+
ritool set HardwareVersion 3FE47211EGAA
193
+
ritool set ICS 01
194
+
```
195
+
196
+
## Getting/Setting OMCI equipment ID (ME 257)
197
+
198
+
This ONT is designed to save nokia equipment ID, specifically to put the equipment ID of a Nokia G-010G-Q we need:
199
+
200
+
```sh
201
+
ritool set CleiCode __________
202
+
ritool set Mnemonic G-010G-Q__
203
+
```
204
+
Where `CleiCode` is the prefix and `Mnemonic` the postfix.
205
+
206
+
# Advanced settings
207
+
208
+
## Transferring files to the stick
209
+
210
+
{% include alert.html content="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 [...]`" alert="Info" icon="svg-info" color="blue" %}
211
+
212
+
```sh
213
+
# scp rootfs.bin root@192.168.1.10:/tmp/
214
+
```
215
+
216
+
## Backup of all partition
217
+
218
+
Make a backup of all partitions, an easy way is:
219
+
- On the stick run:
220
+
```sh
221
+
cat /proc/mtd
222
+
```
223
+
- For each mtdX run in the lantiq shell:
224
+
```sh
225
+
cp /dev/mtdX /tmp
226
+
```
227
+
228
+
{% include alert.html content="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 [...]`" alert="Info" icon="svg-info" color="blue" %}
-[Usage GPON module SFP in Spain](https://forum.mikrotik.com/viewtopic.php?t=116364&start=300)
75
289
-[Bypassing the HH3K up to 2.5Gbps using a BCM57810S NIC](https://www.dslreports.com/forum/r32230041-Internet-Bypassing-the-HH3K-up-to-2-5Gbps-using-a-BCM57810S-NIC)
0 commit comments