Skip to content

Commit 514dbdc

Browse files
Update ont-odi-realtek-dfp-34x-2c2.md (#203)
* Update ont-odi-realtek-dfp-34x-2c2.md * Update ont-luna-sdk-useful-commands.md - Add OLT_MODE 21 for ODI Sticks into OLT Mode table * Apply suggestions from code review * fix * fix --------- Co-authored-by: Simone <26844016+simonebortolin@users.noreply.github.com> Co-authored-by: Simone Bortolin <simonebortolin@users.noreply.github.com>
1 parent 706c3ff commit 514dbdc

3 files changed

Lines changed: 12 additions & 19 deletions

File tree

_ont/ont-luna-sdk-useful-commands.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,13 @@ OMCI_OLT_MODE=1
162162
# {{ include.flash }} set OMCI_OLT_MODE 2
163163
```
164164

165-
| Value | Note | OMCI Information |
166-
| ----- | --------------- | ---------------------------------------------- |
167-
| 0 | Default Mode | Stock, some value are cannot be change |
168-
| 1 | Huawei OLT Mode | Huawei MA5671a |
169-
| 2 | ZTE OLT Mode | ZTE |
170-
| 3 | Customized Mode | Custom Software/Hardware Version, OMCC, etc... |
165+
| Value | Note | OMCI Information |
166+
| ----- | --------------- | ------------------------------------------------------------------------------------------------------ |
167+
| 0 | Default Mode | Stock, some value are cannot be change |
168+
| 1 | Huawei OLT Mode | Huawei MA5671a |
169+
| 2 | ZTE OLT Mode | ZTE |
170+
| 3 | Customized Mode | Custom Software/Hardware Version, OMCC, etc... |{% if include.omciOLT21 %}
171+
| 21 | Owerflow Mode | Custom Software/Hardware Version, OMCC, etc... (this is a hack and causes sigsegv of `/bin/checkomci`) |{% endif %}
171172

172173
Some Fiber Vendor/Wholesale/ISP have explicit LAN Port Number provisioning or proprietary OMCI that ONT Stick cant not understand, this will make ONT Stick reply OK whatever OMCI OLT throw at.
173174

@@ -216,4 +217,4 @@ sw_version1=V1_7_8_210412
216217
```sh
217218
# nv setenv sw_commit 0|1
218219
# reboot
219-
```
220+
```

_ont/ont-odi-realtek-dfp-34g-2c2.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@ ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oCiphers=+3des-cbc admin@192.16
3333

3434
{% include image.html file="realtek-dfp-34g-2c2.jpg" alt="ODI Realtek DFP-34X-C2C" caption="ODI Realtek DFP-34X-C2C" %}
3535

36-
## List of software versions
37-
- V1.0-220923 (hybrid by @lanseyujie and @stick86)
38-
- V1.0-220817
39-
- V1.0-220530 (hybrid by @stick86)
40-
- V1.0-220414 (vlan working)
41-
- V1.0-220304
42-
- V1.0-210702
43-
4436
## List of firmwares and files
4537
- [Firmware repository by Anime4000](https://github.com/Anime4000/RTL960x/tree/main/Firmware/DFP-34X-2C2)
4638

@@ -78,7 +70,7 @@ The stick has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be a
7870

7971
{% 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" %}
8072

81-
{% include_relative ont-luna-sdk-useful-commands.md flash='flash' ploam='hex' customSwVersionAlert='This needs the `OMCI_OLT_MODE` value to be set to 3 and firmware 220530 or 220923 modded by @stich86 or `OMCI_OLT_MODE` value to be set to 21 and generate a sigsegv of `/bin/checkomci` that allows the SW to be modified' speedLan='1234567' %}
73+
{% include_relative ont-luna-sdk-useful-commands.md flash='flash' ploam='hex' customSwVersionAlert="This needs the `OMCI_OLT_MODE` value to be set to 3 and firmware 220530 or 220923 modded by @stich86 or if you don't want to replace firmware to change software version, set `OMCI_OLT_MODE` value to `21`. This will force to use your own settings from the XML file, but this is a hack and causes sigsegv of `/bin/checkomci`" speedLan='1234567' omciOLT21='true' %}
8274

8375
# Known Bugs
8476

_ont/ont-odi-realtek-dfp-34x-2c2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oCiphers=+3des-cbc admin@192.16
3535

3636

3737
## List of software versions
38-
- V1.0-220923 (hybrid by @lanseyujie and @stick86)
38+
- V1.0-220923 (hybrid by @lanseyujie and @stich86)
3939
- V1.0-220817
40-
- V1.0-220530 (hybrid by @stick86)
40+
- V1.0-220530 (hybrid by @stich86)
4141
- V1.0-220414 (vlan working)
4242
- V1.0-220304
4343
- V1.0-210702
@@ -79,7 +79,7 @@ The stick has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be a
7979

8080
{% 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" %}
8181

82-
{% include_relative ont-luna-sdk-useful-commands.md flash='flash' ploam='hex' customSwVersionAlert='This needs the `OMCI_OLT_MODE` value to be set to 3 and firmware 220530 or 220923 modded by @stich86' speedLan='1234567 or `OMCI_OLT_MODE` value to be set to 21 and generate a sigsegv of `/bin/checkomci` that allows the SW to be modified' %}
82+
{% include_relative ont-luna-sdk-useful-commands.md flash='flash' ploam='hex' customSwVersionAlert="This needs the `OMCI_OLT_MODE` value to be set to 3 and firmware 220530 or 220923 modded by @stich86 or if you don't want to replace firmware to change software version, set `OMCI_OLT_MODE` value to `21`. This will force to use your own settings from the XML file, but this is a hack and causes sigsegv of `/bin/checkomci`" speedLan='1234567' omciOLT21='true' %}
8383

8484
# Known Bugs
8585

0 commit comments

Comments
 (0)