From 514dbdc78921731a92ac31f113f64f871f546b55 Mon Sep 17 00:00:00 2001 From: Giammarco Date: Sat, 27 May 2023 21:55:31 +0200 Subject: 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 --- _ont/ont-luna-sdk-useful-commands.md | 15 ++++++++------- _ont/ont-odi-realtek-dfp-34g-2c2.md | 10 +--------- _ont/ont-odi-realtek-dfp-34x-2c2.md | 6 +++--- 3 files changed, 12 insertions(+), 19 deletions(-) diff --git a/_ont/ont-luna-sdk-useful-commands.md b/_ont/ont-luna-sdk-useful-commands.md index 9c5c5fe..40fac95 100644 --- a/_ont/ont-luna-sdk-useful-commands.md +++ b/_ont/ont-luna-sdk-useful-commands.md @@ -162,12 +162,13 @@ OMCI_OLT_MODE=1 # {{ include.flash }} set OMCI_OLT_MODE 2 ``` -| Value | Note | OMCI Information | -| ----- | --------------- | ---------------------------------------------- | -| 0 | Default Mode | Stock, some value are cannot be change | -| 1 | Huawei OLT Mode | Huawei MA5671a | -| 2 | ZTE OLT Mode | ZTE | -| 3 | Customized Mode | Custom Software/Hardware Version, OMCC, etc... | +| Value | Note | OMCI Information | +| ----- | --------------- | ------------------------------------------------------------------------------------------------------ | +| 0 | Default Mode | Stock, some value are cannot be change | +| 1 | Huawei OLT Mode | Huawei MA5671a | +| 2 | ZTE OLT Mode | ZTE | +| 3 | Customized Mode | Custom Software/Hardware Version, OMCC, etc... |{% if include.omciOLT21 %} +| 21 | Owerflow Mode | Custom Software/Hardware Version, OMCC, etc... (this is a hack and causes sigsegv of `/bin/checkomci`) |{% endif %} 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. @@ -216,4 +217,4 @@ sw_version1=V1_7_8_210412 ```sh # nv setenv sw_commit 0|1 # reboot -``` \ No newline at end of file +``` diff --git a/_ont/ont-odi-realtek-dfp-34g-2c2.md b/_ont/ont-odi-realtek-dfp-34g-2c2.md index c0debf6..9b43409 100644 --- a/_ont/ont-odi-realtek-dfp-34g-2c2.md +++ b/_ont/ont-odi-realtek-dfp-34g-2c2.md @@ -33,14 +33,6 @@ ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oCiphers=+3des-cbc admin@192.16 {% include image.html file="realtek-dfp-34g-2c2.jpg" alt="ODI Realtek DFP-34X-C2C" caption="ODI Realtek DFP-34X-C2C" %} -## List of software versions -- V1.0-220923 (hybrid by @lanseyujie and @stick86) -- V1.0-220817 -- V1.0-220530 (hybrid by @stick86) -- V1.0-220414 (vlan working) -- V1.0-220304 -- V1.0-210702 - ## List of firmwares and files - [Firmware repository by Anime4000](https://github.com/Anime4000/RTL960x/tree/main/Firmware/DFP-34X-2C2) @@ -78,7 +70,7 @@ The stick has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be a {% 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" %} -{% 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' %} +{% 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' %} # Known Bugs diff --git a/_ont/ont-odi-realtek-dfp-34x-2c2.md b/_ont/ont-odi-realtek-dfp-34x-2c2.md index 0739447..5bafd9e 100644 --- a/_ont/ont-odi-realtek-dfp-34x-2c2.md +++ b/_ont/ont-odi-realtek-dfp-34x-2c2.md @@ -35,9 +35,9 @@ ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oCiphers=+3des-cbc admin@192.16 ## List of software versions -- V1.0-220923 (hybrid by @lanseyujie and @stick86) +- V1.0-220923 (hybrid by @lanseyujie and @stich86) - V1.0-220817 -- V1.0-220530 (hybrid by @stick86) +- V1.0-220530 (hybrid by @stich86) - V1.0-220414 (vlan working) - V1.0-220304 - 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 {% 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" %} -{% 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' %} +{% 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' %} # Known Bugs -- cgit v1.2.3