From abdbcb1a85b9f76efc7a000e06afdaaf4caa0966 Mon Sep 17 00:00:00 2001 From: Simone Bortolin Date: Thu, 4 Aug 2022 20:32:06 +0200 Subject: add images update nokia ont update script and link fix script update column size update test test2 test3 test4 test5 test6 update update scss move some code update edit button update color Update ont-UFiber-UF-Instant.md --- Gemfile | 3 +- _config.yml | 11 +- _layouts/default.html | 20 +- _sass/custom/custom.scss | 19 ++ assets/css/just-the-docs-dark.scss | 2 +- assets/img/G-010S-A.jpg | Bin 0 -> 20270 bytes assets/img/HG8010H.jpg | Bin 0 -> 62443 bytes assets/img/afm0002tim.jpg | Bin 104618 -> 148701 bytes assets/img/f601_v1.jpg | Bin 0 -> 31126 bytes assets/img/g-010g-q.jpg | Bin 0 -> 83925 bytes assets/img/g-010g-q.png | Bin 0 -> 436404 bytes assets/img/g-s010s-p.jpg | Bin 0 -> 467353 bytes assets/img/odi.jpg | Bin 168988 -> 253339 bytes assets/js/theme-switch.js | 12 +- index.md | 3 +- ont-Alcatel-G-010S-A.md | 44 --- ont-CarlitoxxPro-CPGOS03-0490-v2.md | 2 +- ont-D-LINK-DPN-100-Rev-A.md | 2 +- ont-DFP-34X-2C2.md | 2 +- ont-Halny-HL-GSFP.md | 2 +- ont-Hilink-HL23446.md | 2 +- ont-Huawei-HG8010H.md | 9 +- ont-Nokia-G-010S-A.md | 47 ++++ ont-Nokia-G-010S-Q.md | 2 +- ont-Nokia-g-010g-q.md | 8 +- ont-ODI-DFP-34X-C2C.md | 5 +- ont-Sercomm-FGS202.md | 2 +- ont-SourcePhotonics-SPS-34-24T-HP-TDFO.md | 2 +- ont-TWCGPON657.md | 2 +- ont-UFiber-UF-Instant.md | 7 +- ont-ZTE-F6005.md | 4 +- ont-ZTE-F601.md | 6 +- ont-Zyxel-PMG3000-D20B.md | 2 +- ont-huawei-ma5671a.md | 10 +- ont-nokia-g-s010s-p.md | 8 +- ont-technicolor-afm0002.md | 436 ++++++++++++++++-------------- ont-vsol-V2801F.md | 2 +- ont.md | 5 +- 38 files changed, 389 insertions(+), 292 deletions(-) create mode 100644 _sass/custom/custom.scss create mode 100644 assets/img/G-010S-A.jpg create mode 100644 assets/img/HG8010H.jpg create mode 100644 assets/img/f601_v1.jpg create mode 100644 assets/img/g-010g-q.jpg create mode 100644 assets/img/g-010g-q.png create mode 100644 assets/img/g-s010s-p.jpg delete mode 100644 ont-Alcatel-G-010S-A.md create mode 100644 ont-Nokia-G-010S-A.md diff --git a/Gemfile b/Gemfile index c4ef6c8..93547d5 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,5 @@ source "https://rubygems.org" gemspec -gem "webrick" \ No newline at end of file +gem "webrick" +gem "jekyll-last-modified-at" \ No newline at end of file diff --git a/_config.yml b/_config.yml index 3ece38d..34b1af9 100644 --- a/_config.yml +++ b/_config.yml @@ -27,6 +27,10 @@ search: # Supports true or false (default) button: false +plugins: + - jekyll-seo-tag + - jekyll-last-modified-at + color_scheme: "light" url: "https://hack-gpon.github.io/" nav_sort: case_sensitive @@ -43,13 +47,16 @@ footer_content: "Copyright © 2022" last_edit_timestamp: true last_edit_time_format: "%D at %R" +last-modified-at: + date-format: '%D at %R' + gh_edit_link: true # show or hide edit this page link gh_edit_link_text: "Edit this page on GitHub" gh_edit_repository: "https://github.com/hack-gpon/hack-gpon.github.io" # the github URL for your repo gh_edit_branch: "main" # the branch that your docs is served from +# gh_edit_source: docs # the source that your files originate from +gh_edit_view_mode: "tree" -plugins: - - jekyll-seo-tag diff --git a/_layouts/default.html b/_layouts/default.html index 5dd8436..7aaec28 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -98,7 +98,19 @@ layout: table_wrappers {% endif %} - +
{% unless page.url == "/" %} @@ -131,7 +143,7 @@ layout: table_wrappers {% endif %} {% endunless %} -
+
{% if site.heading_anchors != false %} {% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %} {% else %} @@ -161,8 +173,6 @@ layout: table_wrappers

{{ site.back_to_top_text }}

{% endif %} - {{ footer_custom }} - {% if site.last_edit_timestamp or site.gh_edit_link %}
{% if site.last_edit_timestamp and site.last_edit_time_format and page.last_modified_date %} @@ -183,6 +193,8 @@ layout: table_wrappers {% endif %}
{% endif %} + + {{ footer_custom }} {% endif %} diff --git a/_sass/custom/custom.scss b/_sass/custom/custom.scss new file mode 100644 index 0000000..fb31338 --- /dev/null +++ b/_sass/custom/custom.scss @@ -0,0 +1,19 @@ +.github-edit { + color: $nav-child-link-color; + + &:hover { + color: $link-color; + + svg { + fill: $link-color ; + } + } + + svg { + display: inline; + vertical-align: top; + width: 1.5rem; + height: 1.5rem; + fill: $nav-child-link-color; + } +} \ No newline at end of file diff --git a/assets/css/just-the-docs-dark.scss b/assets/css/just-the-docs-dark.scss index 1e5ff52..e56eda2 100644 --- a/assets/css/just-the-docs-dark.scss +++ b/assets/css/just-the-docs-dark.scss @@ -1 +1 @@ -{% include css/just-the-docs.scss.liquid color_scheme="dark" %} \ No newline at end of file +{% include css/just-the-docs.scss.liquid color_scheme="dark" %} diff --git a/assets/img/G-010S-A.jpg b/assets/img/G-010S-A.jpg new file mode 100644 index 0000000..5ba99b0 Binary files /dev/null and b/assets/img/G-010S-A.jpg differ diff --git a/assets/img/HG8010H.jpg b/assets/img/HG8010H.jpg new file mode 100644 index 0000000..0b875ed Binary files /dev/null and b/assets/img/HG8010H.jpg differ diff --git a/assets/img/afm0002tim.jpg b/assets/img/afm0002tim.jpg index b64c97d..0366357 100644 Binary files a/assets/img/afm0002tim.jpg and b/assets/img/afm0002tim.jpg differ diff --git a/assets/img/f601_v1.jpg b/assets/img/f601_v1.jpg new file mode 100644 index 0000000..3b608e0 Binary files /dev/null and b/assets/img/f601_v1.jpg differ diff --git a/assets/img/g-010g-q.jpg b/assets/img/g-010g-q.jpg new file mode 100644 index 0000000..1987b3f Binary files /dev/null and b/assets/img/g-010g-q.jpg differ diff --git a/assets/img/g-010g-q.png b/assets/img/g-010g-q.png new file mode 100644 index 0000000..4649474 Binary files /dev/null and b/assets/img/g-010g-q.png differ diff --git a/assets/img/g-s010s-p.jpg b/assets/img/g-s010s-p.jpg new file mode 100644 index 0000000..f3a863f Binary files /dev/null and b/assets/img/g-s010s-p.jpg differ diff --git a/assets/img/odi.jpg b/assets/img/odi.jpg index 3f65941..2af97f9 100644 Binary files a/assets/img/odi.jpg and b/assets/img/odi.jpg differ diff --git a/assets/js/theme-switch.js b/assets/js/theme-switch.js index c3f3949..caffe6e 100644 --- a/assets/js/theme-switch.js +++ b/assets/js/theme-switch.js @@ -2,12 +2,16 @@ if(localStorage.getItem("color-scheme") === null) { const newColorScheme = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches ? "dark" : "light"; const newTextScheme = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches ? "Light mode" : "Dark mode"; jtd.setTheme(newColorScheme); - toggleDarkMode.textContent = newTextScheme; localStorage.setItem("color-scheme",newColorScheme); localStorage.setItem("text-scheme",newTextScheme); + window.addEventListener('load', function () { + toggleDarkMode.textContent = newTextScheme; + }); } else { jtd.setTheme(localStorage.getItem("color-scheme")); - toggleDarkMode.textContent = localStorage.getItem("text-scheme"); + window.addEventListener('load', function () { + toggleDarkMode.textContent = localStorage.getItem("text-scheme"); + }); } window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', event => { @@ -24,8 +28,8 @@ window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', eve const toggleDarkMode = document.querySelector('.js-toggle-dark-mode'); jtd.addEvent(toggleDarkMode, 'click', function(){ - const newColorScheme = jtd.getTheme() === 'dark' ? "dark" : "light"; - const newTextScheme = jtd.getTheme() === 'dark' ? "Light mode" : "Dark mode"; + const newColorScheme = jtd.getTheme() !== 'dark' ? "dark" : "light"; + const newTextScheme = jtd.getTheme() !== 'dark' ? "Light mode" : "Dark mode"; jtd.setTheme(newColorScheme); toggleDarkMode.textContent = newTextScheme; localStorage.setItem("color-scheme",newColorScheme); diff --git a/index.md b/index.md index 22c93cb..05145b1 100644 --- a/index.md +++ b/index.md @@ -8,4 +8,5 @@ description: Worldwide wiki for to access, change and edit ONT # Worldwide wiki for to access, change and edit ONT -resources to access and modify ONTs \ No newline at end of file +resources to access and modify ONTs +{: .fs-6 .fw-300 } \ No newline at end of file diff --git a/ont-Alcatel-G-010S-A.md b/ont-Alcatel-G-010S-A.md deleted file mode 100644 index 8be3df4..0000000 --- a/ont-Alcatel-G-010S-A.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: Alcatel G-010S-A -has_children: false -parent: ONT ---- - -# Alcatel G-010S-A - -## Hardware Specifications - -| | | -|----------|---------------| -| Vendor | Alcatel | -| Model | G-010S-A | -| Alias | Nokia G-010S-A | -| Chipset | Lantiq PEB98035 | -| Flash | 16 MB | -| RAM | 64 MB | -| System | OpenWRT | -| HSGMII | Yes | -| Optics | SC/UPC | -| IP address | 192.168.1.10 | -| Web Gui | ✅ user `adminadmin`, password `ALC#FGU` | -| SSH | ✅ user `ONTUSER`, password `SUGAR2A041` | -| Form Factor | miniONT SFP | - -### Interchangeable firmware with - -Is it possibile to turn a Nokia G-010S-P into an Alcatel G-010S-A - -### List of software version - -- [https://github.com/hwti/G-010S-A/tree/main/firmwares](https://github.com/hwti/G-010S-A/tree/main/firmwares) - -### List of partition -### List of firmware and files - -## HW Mod - -- [Nokia G-010S-A Pin 6 Iusse - Rsaxvc.net](https://rsaxvc.net/blog/2020/8/15/Nokia_G-010S-A_Pin_6_Issue.html) - -## Miscellaneous Links - -- [https://github.com/hwti/G-010S-A](https://github.com/hwti/G-010S-A) diff --git a/ont-CarlitoxxPro-CPGOS03-0490-v2.md b/ont-CarlitoxxPro-CPGOS03-0490-v2.md index d631efe..d2f9af5 100644 --- a/ont-CarlitoxxPro-CPGOS03-0490-v2.md +++ b/ont-CarlitoxxPro-CPGOS03-0490-v2.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | CarlitoxxPro | | Model | CPGOS03-0490 v2 | | Alias | | diff --git a/ont-D-LINK-DPN-100-Rev-A.md b/ont-D-LINK-DPN-100-Rev-A.md index 057071e..5176629 100644 --- a/ont-D-LINK-DPN-100-Rev-A.md +++ b/ont-D-LINK-DPN-100-Rev-A.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | D-LINK | | Model | DPN-100 Rev A | | Alias | | diff --git a/ont-DFP-34X-2C2.md b/ont-DFP-34X-2C2.md index 1ce7a45..4ba3c49 100644 --- a/ont-DFP-34X-2C2.md +++ b/ont-DFP-34X-2C2.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | | | Model | DFP-34X-2C2 | | Alias | | diff --git a/ont-Halny-HL-GSFP.md b/ont-Halny-HL-GSFP.md index bc38c71..b15dc18 100644 --- a/ont-Halny-HL-GSFP.md +++ b/ont-Halny-HL-GSFP.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | Halny | | Model | MA5671A | | Alias | | diff --git a/ont-Hilink-HL23446.md b/ont-Hilink-HL23446.md index 5f54625..f874f15 100644 --- a/ont-Hilink-HL23446.md +++ b/ont-Hilink-HL23446.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | Hilink | | Model | HL23446 | | Alias | CarlitoxxPro CPGOS03-0490 v1 | diff --git a/ont-Huawei-HG8010H.md b/ont-Huawei-HG8010H.md index 0aceb85..523eb72 100644 --- a/ont-Huawei-HG8010H.md +++ b/ont-Huawei-HG8010H.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | Huawei | | Model | HG8010H | | Alias | | @@ -24,6 +24,8 @@ parent: ONT | SSH | | | Form Factor | ONT | +![](../../assets/img/HG8010H.jpg) + ### Hardware revision - v1: port pon horizontal - v2: port pon horizontal @@ -35,4 +37,7 @@ parent: ONT ### List of software version ### List of partition ### List of firmware and files -## Miscellaneous Links \ No newline at end of file +## Miscellaneous Links + +- [Exploring the Huawei HG8010H GPON ONT](https://www.linux.it/~md/text/gpon-sha2017.pdf) + diff --git a/ont-Nokia-G-010S-A.md b/ont-Nokia-G-010S-A.md new file mode 100644 index 0000000..5bdbf55 --- /dev/null +++ b/ont-Nokia-G-010S-A.md @@ -0,0 +1,47 @@ +--- +title: Nokia G-010S-A +has_children: false +parent: ONT +--- + +# Nokia G-010S-A + +## Hardware Specifications + +| | | +|-------------|-------------------------------------------------| +| Vendor | Nokia | +| Model | G-010S-A | +| Alias | Alcatel G-010S-A | +| Chipset | Lantiq PEB98035 | +| Flash | 16 MB | +| RAM | 64 MB | +| System | OpenWRT | +| HSGMII | Yes | +| Optics | SC/UPC | +| IP address | 192.168.1.10 | +| Web Gui | ✅ user `adminadmin`, password `ALC#FGU` | +| SSH | ✅ user `ONTUSER`, password `SUGAR2A041` | +| Form Factor | miniONT SFP | + +![](../../assets/img/G-010S-A.jpg) + + +### Interchangeable firmware with + +Is it possibile to turn a [Nokia G-010S-P](ont-nokia-g-s010s-p) into an [Nokia G-010S-A](ont-nokia-g-s010s-A) + +### List of software version + +- [https://github.com/hwti/G-010S-A/tree/main/firmwares](https://github.com/hwti/G-010S-A/tree/main/firmwares) + +### List of partition +### List of firmware and files + +## HW Mod + +- [Nokia G-010S-A Pin 6 Iusse - Rsaxvc.net](https://rsaxvc.net/blog/2020/8/15/Nokia_G-010S-A_Pin_6_Issue.html) + +## Miscellaneous Links + +- [https://github.com/hwti/G-010S-A](https://github.com/hwti/G-010S-A) diff --git a/ont-Nokia-G-010S-Q.md b/ont-Nokia-G-010S-Q.md index e936c2e..21c3eda 100644 --- a/ont-Nokia-G-010S-Q.md +++ b/ont-Nokia-G-010S-Q.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | Nokia | | Model | RTL9601CI | | Alias | | diff --git a/ont-Nokia-g-010g-q.md b/ont-Nokia-g-010g-q.md index 083982c..dc8e42f 100644 --- a/ont-Nokia-g-010g-q.md +++ b/ont-Nokia-g-010g-q.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | Nokia | | Model | G-010G-Q | | Alias | | @@ -24,7 +24,13 @@ parent: ONT | SSH | | | Form Factor | ONT | +![](../../assets/img/g-010g-q.jpg) +![](../../assets/img/g-010g-q.png) + ### Hardware revision +- ventilation grid version +- square version with relief circle + ### List of software version ### List of partition ### List of firmware and files diff --git a/ont-ODI-DFP-34X-C2C.md b/ont-ODI-DFP-34X-C2C.md index 6d9c363..f8d4eeb 100644 --- a/ont-ODI-DFP-34X-C2C.md +++ b/ont-ODI-DFP-34X-C2C.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | ODI | | Model | DFP-34X-C2C | | Alias | | @@ -24,6 +24,9 @@ parent: ONT | SSH | ✅ | | Form Factor | miniONT SFP | +![](../../assets/img/odi.jpg) + + ### Interchangeable firmware with - [ODI DFP-34X-C2C](ont-ODI-DFP-34X-C2C) diff --git a/ont-Sercomm-FGS202.md b/ont-Sercomm-FGS202.md index aa9a857..8117ad5 100644 --- a/ont-Sercomm-FGS202.md +++ b/ont-Sercomm-FGS202.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | Sercomm | | Model | FGS202 | | Alias | | diff --git a/ont-SourcePhotonics-SPS-34-24T-HP-TDFO.md b/ont-SourcePhotonics-SPS-34-24T-HP-TDFO.md index ea4d3a3..b564403 100644 --- a/ont-SourcePhotonics-SPS-34-24T-HP-TDFO.md +++ b/ont-SourcePhotonics-SPS-34-24T-HP-TDFO.md @@ -10,7 +10,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | SourcePhotonics | | Model | SPS-34-24T-HP-TDFO | | Alias | Stick GPON FS.com | diff --git a/ont-TWCGPON657.md b/ont-TWCGPON657.md index 078abb9..c119562 100644 --- a/ont-TWCGPON657.md +++ b/ont-TWCGPON657.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | | | Model | TWCGPON657 | | Alias | | diff --git a/ont-UFiber-UF-Instant.md b/ont-UFiber-UF-Instant.md index c915cc9..2a8847e 100644 --- a/ont-UFiber-UF-Instant.md +++ b/ont-UFiber-UF-Instant.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | UFiber | | Model | UFiber UF-Instant | | Alias | | @@ -26,7 +26,10 @@ parent: ONT ### Interchangeable firmware with -N.B. can be used as universal GPON stick with V2801F rootfs, but only with stock UF kernel (4.3.1) - needed for Laser controller +Warning +{: .label .label-red } + +can be used as universal GPON stick with V2801F rootfs, but only with stock UF kernel (4.3.1) - needed for Laser controller - [ODI DFP-34X-C2C](ont-ODI-DFP-34X-C2C) - [VSOL V2801F](ont-vsol-V2801F) diff --git a/ont-ZTE-F6005.md b/ont-ZTE-F6005.md index 0e8af23..d5ad93c 100644 --- a/ont-ZTE-F6005.md +++ b/ont-ZTE-F6005.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | ZTE | | Model | F6005 | | Alias | | @@ -24,6 +24,8 @@ parent: ONT | SSH | | | Form Factor | ONT | +![f6005_of](../../assets/img/f6005_of.jpg) +![f6005_tim](../../assets/img/f6005_tim.jpg) ### List of software version ### List of partition diff --git a/ont-ZTE-F601.md b/ont-ZTE-F601.md index 59bfbc6..c78eaf1 100644 --- a/ont-ZTE-F601.md +++ b/ont-ZTE-F601.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | ZTE | | Model | F601 | | Alias | | @@ -24,6 +24,10 @@ parent: ONT | SSH | | | Form Factor | ONT | +![f601_v1](../../assets/img/f601_v1.jpg) +![f601_v3](../../assets/img/f601_v3.jpg) + + ### Hardware revision - v1: big - v2: small, simil huawei, self-destructs diff --git a/ont-Zyxel-PMG3000-D20B.md b/ont-Zyxel-PMG3000-D20B.md index 9fd2c80..3662165 100644 --- a/ont-Zyxel-PMG3000-D20B.md +++ b/ont-Zyxel-PMG3000-D20B.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | Zyxel | | Model | PMG3000-D20B | | Alias | | diff --git a/ont-huawei-ma5671a.md b/ont-huawei-ma5671a.md index 42a45fd..c06853b 100644 --- a/ont-huawei-ma5671a.md +++ b/ont-huawei-ma5671a.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | Huawei | | Model | MA5671A | | Alias | | @@ -48,7 +48,7 @@ parent: ONT ## Miscellaneous Links -- [Support MA5671A SFP GPON | OpenWRT forum](https://forum.openwrt.org/t/support-ma5671a-sfp-gpon/48042) -- [u boot lantiq falcon | GitHub](https://github.com/minhng99/u-boot_lantiq_falcon) -- [Custom Firmware | right.com.cn](https://www.right.com.cn/forum/thread-8220173-1-1.html) -- [Come avere i 2.5 Gbps su un unico dispositivo senza il Fastgate | fibra.click Forum](https://forum.fibra.click/d/17836-come-avere-i-25-gbps-su-un-unico-dispositivo-senza-il-fastgate) \ No newline at end of file +- [Support MA5671A SFP GPON - OpenWRT forum](https://forum.openwrt.org/t/support-ma5671a-sfp-gpon/48042) +- [u boot lantiq falcon - GitHub](https://github.com/minhng99/u-boot_lantiq_falcon) +- [Custom Firmware - right.com.cn](https://www.right.com.cn/forum/thread-8220173-1-1.html) +- [Come avere i 2.5 Gbps su un unico dispositivo senza il Fastgate - fibra.click Forum](https://forum.fibra.click/d/17836-come-avere-i-25-gbps-su-un-unico-dispositivo-senza-il-fastgate) \ No newline at end of file diff --git a/ont-nokia-g-s010s-p.md b/ont-nokia-g-s010s-p.md index 4ca2a37..16a4120 100644 --- a/ont-nokia-g-s010s-p.md +++ b/ont-nokia-g-s010s-p.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | Nokia | | Model | G-010S-P | | Alias | Alcatel G-010S-P | @@ -24,13 +24,19 @@ parent: ONT | SSH | | | Form Factor | miniONT SFP | +![](../../assets/img/g-s010s-p.jpg) + ### Interchangeable firmware with + - [Huawei MA5671A](ont-huawei-ma5671a) - [Nokia G-010S-P](ont-nokia-g-s010s-p) - [SourcePhotonics SPS-34-24T-HP-TDFO](ont-SourcePhotonics-SPS-34-24T-HP-TDFO) - [Hilink HL23446](ont-Hilink-HL23446) +Is it possibile to turn a [Nokia G-010S-P](ont-nokia-g-s010s-p) into an [Nokia G-010S-A](ont-nokia-g-s010s-A) + + ### List of software version ### List of partition ### List of firmware and files diff --git a/ont-technicolor-afm0002.md b/ont-technicolor-afm0002.md index c6fc505..a8adb16 100644 --- a/ont-technicolor-afm0002.md +++ b/ont-technicolor-afm0002.md @@ -1,210 +1,228 @@ ---- -title: Technicolor AFM0002 -has_children: false -parent: ONT ---- - -# Technicolor AFM0002TIM/FWB/WND - -## Hardware Specifications - -| | | -|-------------|-------------------------------------------------| -| Vendor | Technicolor | -| Model | AFM0002TIM/FWB/WND | -| Alias | | -| Chipset | Realtek RTL9601B | -| Flash | | -| RAM | | -| System | Linux (Luna SDK) | -| HSGMII | NO | -| Optics | | -| IP address | 192.168.2.1 | -| Web Gui | Can be enabled, user `admin`, password `system` | -| SSH | ✅ user `admin`, password `system` | -| Form Factor | miniONT SFP | - -## List of software versions -- V1_7_8_181123 -- V1_7_8_210928 -- V1_7_8_210412 - -## List of partitions - -| dev | size | erasesize | name | -|-------|----------|-----------|-----------------| -| mtd0 | 00040000 | 00001000 | "boot" | -| mtd1 | 00002000 | 00001000 | "env" | -| mtd2 | 00002000 | 00001000 | "env2" | -| mtd3 | 0003c000 | 00001000 | "config" | -| mtd4 | 00300000 | 00001000 | "k0" | -| mtd5 | 004c0000 | 00001000 | "r0" | -| mtd6 | 00300000 | 00001000 | "k1" | -| mtd7 | 004c0000 | 00001000 | "r1" | -| mtd8 | 00001000 | 00001000 | "Partition_008" | -| mtd9 | 00001000 | 00001000 | "Partition_009" | -| mtd10 | 00001000 | 00001000 | "Partition_010" | -| mtd11 | 00001000 | 00001000 | "Partition_011" | -| mtd12 | 00300000 | 00001000 | "linux" | -| mtd13 | 004c0000 | 00001000 | "rootfs" | - -This stick supports dual boot. - -`k0` and `r0` contains respectively the kernel and firmware of the first image, `k1` and `r1` of the second one - -## List of firmware and files -### Useful files -- `/var/config/lastgood.xml` - Contains the user portion of the configuration -- `/var/config/lastgood-hs.xml` - Contains the "hardware" configuration (i.e. that _should_ not be changed) -- `/tmp/omcilog` - OMCI messages logs (must be enabeled, see below) - -### Useful binaries -- `/etc/scripts/flash` - Used to manipulate the config files in a samewhat safe manner -- `xmlconfig` - Used to low-level manipulate the XML config files. Called by `flash` -- `nv` - Used to manipulate the nvram storage, including persistent config entries via `nv setenv`/`nv getenv` -- `omcicli` - Used to interact with the running OMCI daemon -- `omci_app` - The OMCI daemon -- `diag` - Used to run low-level diagnostics commands on the stick - -## Useful commands - -### Enable the Web UI -```sh -# /bin/iptables -D INPUT -p tcp --dport 80 -j DROP -``` - -### Check the currently active image -```sh -# nv getenv sw_active -sw_activ=1 -# nv getenv sw_version0 -sw_version0=V1_7_8_210412 -# nv getenv sw_version1 -sw_version1=V1_7_8_210412 -``` - -### Boot to a different image -```sh -# nv setenv sw_commit 0|1 -# reboot -``` - -### Get/Set the ONT S/N -```sh -# /etc/scripts/bin flash get GPON_SN -GPON_SN=TMBB00000000 -# /etc/scripts/bin flash set GPON_SN TMBB0A1B2C3D -``` - -### Get/Set the ONT PLOAM password -Note: the password is in ASCII format -```sh -# /etc/scripts/bin flash get GPON_PLOAM_PASSWD -GPON_PLOAM_PASSWD=AAAAAAAAAA -# /etc/scripts/bin flash set GPON_PLOAM_PASSWD AAAAAAAAAA -``` - -### Query a particular OMCI ME -```sh -# omcicli mib get MIB_IDX -``` - -## Low level modding -Note: this section is based on version `V1_7_8_210412` of the stick -### Trasnfer files from/to the stick -Works with binary files too, just run md5sum on source and destination to make sure you are not corrupting anything... -From the stick to the PC: -```sh -# ssh admin@192.168.2.1 "cat /tmp/omcilog" > omcilog.log -``` -From the PC to the stick -```sh -# cat lastgood.xml | ssh admin@192.168.2.1 "cat > /var/config/lastgood.xml" -``` -**Note:** on windows replace type with cat and run the commands from cmd (not powershell) -### Extract and repack the rootfs -```sh -# unsquashfs mtd5.bin -# mksquashfs squashfs-root rootfs -b 131072 -comp lzma -no-recovery -``` -### Flash a new rootfs -**Note: you can only flash the inactive image**. So mtd4/5 if you are on image1, mtd6/7 if you are on image0. - -The follwing examples flashes a new rootfs to image1 and boots to it -```sh -# flash_eraseall /dev/mtd7 -# cat /tmp/rootfs.new > /dev/mtd7 -# nv setenv sw_commit=1 -# reboot -``` -### Add support to configurable SW and HW versions, VENDOR ID and much more -We can patch `/etc/scripts/flash` in order to add support for some variables implemented in `omci_app` but removed from `xmlconfig`. The patch is below (change the values to suit your needs) -```patch ---- squashfs-root/etc/scripts/flash 2021-09-28 10:38:52.000000000 +0200 -+++ squashfs-root.new/etc/scripts/flash 2022-08-04 00:00:29.769605000 +0200 -@@ -62,7 +62,26 @@ - if [ `echo $para | egrep $specific_mib_patten` ]; then - /bin/xmlconfig -g $para | sed -r "s/$rename_mib_name+/$2/g" | sed -r "s/,+//g" - else -- /bin/xmlconfig -g $para | sed -r "s/$rename_mib_name+/$2/g" -+ case "$para" in -+ "OMCI_EQID") -+ echo "$para=MY_EQID" -+ ;; -+ "OMCI_VENDOR_ID") -+ echo "$para=MY_VENDOR" -+ ;; -+ "OMCI_SW_VER1") -+ echo "$para=MY_SW_VER1" -+ ;; -+ "OMCI_SW_VER2") -+ echo "$para=MY_SW_VER2" -+ ;; -+ "OMCI_ONT_VER") -+ echo "$para=MY_HW_VER" -+ ;; -+ *) -+ /bin/xmlconfig -g $para | sed -r "s/$rename_mib_name+/$2/g" -+ ;; -+ esac - fi - if [ "$?" = "0" ]; then - exit 0 -``` -### Increase the length of the software version from 13 to 14 characters -`omci_app` has an hard-coded limit of 13 characters for the software version, which is too low. We can binary patch it to increase it to 14 (or more, if you dare/need) -``` -JVhEWjAwNCUAAAAIAAgACAAAAAAAAAAAAAAAAAAAAABvbWNpX2FwcG9tY2lfYXBwH4sIAAAAAAAA -AwMAAAAAAAAAAAAfiwgAAAAAAAADY2BoYGZgYFjh9Uq/aNcZQdXsOh3R5ktr/fd0sTEwcuTnJmfG -JxYUYJVlZGAA0gCHsMK2QQAAAAAAAEQlWERaMDA0JQ== -``` -Save it as omci_app.xdelta.base64, then run: -```sh -# base64 -d omci_app.xdelta.base64 > omci_app.xdelta -# xdelta patch omci_app.xdelta bin/omci_app bin/omci_app.new -# mv bin/omci_app.new bin/omci_app -``` -For reference, the patch changes the follwing section of the omci_app: -```diff --00408c24 24 05 00 0e li a1,0xe -+00408c24 24 05 00 0f li a1,0xf --00408cf0 24 05 00 0f li a1,0xe -+00408cf0 24 05 00 0f li a1,0xf -``` -(It's inside the function referecing the string `OMCI_SW_VER1`) - -The original file md5sum is: 4aea2f72bacc11256b7e2c1583d2ad4f -The patched file md5sum is: da20327c4c002e4c27f82f6ee63dbc1a -### Enable PLOAM logging -```sh -/etc/scripts/bin flash set OMCI_DBGLVL 1 -/etc/scripts/bin flash set OMCI_DBGLOGFILE 1 -reboot -/bin/omcicli set logfile 1 ffffffff -``` -1. The binary log will be placed inside: `/tmp/omcilog` -2. You can convert it into .pcap using https://github.com/ADeltaX/omcilog2pcap -3. You can then open it into wireshark by installing the OMCI plugin from https://wiki.wireshark.org/Contrib.md - -If you want to log everything since the stick boots, you can create a custom rootfs. Place the last command inside `etc/runomci.sh` as the last line of the file +--- +title: Technicolor AFM0002 +has_children: false +parent: ONT +--- + +# Technicolor AFM0002TIM/FWB/WND + +## Hardware Specifications + +| | | +|-------------|-------------------------------------------------| +| Vendor | Technicolor | +| Model | AFM0002TIM/FWB/WND | +| Alias | | +| Chipset | Realtek RTL9601B | +| Flash | | +| RAM | | +| System | Linux (Luna SDK) | +| HSGMII | NO | +| Optics | | +| IP address | 192.168.2.1 / 169.0.0.1 | +| Web Gui | Can be enabled, user `admin`, password `system` | +| SSH | ✅ user `admin`, password `system` | +| Form Factor | miniONT SFP | + +![](../../assets/img/afm0002tim.jpg) + +## Hardware revision + +- AFM0002TIM (IP address: 192.168.2.1) +- AFM0002FWB (IP address: 169.0.0.1) +- AFM0002WND + +Warning +{: .label .label-red } + +- On this page we discuss AFM0002TIM. +- The AFM0002FWB can be transformed into AFM0002TIM. +- The AFM0002FWB has an older sw version. + +## List of software versions +- V1_7_8_180122 +- V1_7_8_180725 +- V1_7_8_181123 +- V1_7_8_210928 +- V1_7_8_210412 + +## List of partitions + +| dev | size | erasesize | name | +|-------------|-------------------------------------------------|-----------|-----------------| +| mtd0 | 00040000 | 00001000 | "boot" | +| mtd1 | 00002000 | 00001000 | "env" | +| mtd2 | 00002000 | 00001000 | "env2" | +| mtd3 | 0003c000 | 00001000 | "config" | +| mtd4 | 00300000 | 00001000 | "k0" | +| mtd5 | 004c0000 | 00001000 | "r0" | +| mtd6 | 00300000 | 00001000 | "k1" | +| mtd7 | 004c0000 | 00001000 | "r1" | +| mtd8 | 00001000 | 00001000 | "Partition_008" | +| mtd9 | 00001000 | 00001000 | "Partition_009" | +| mtd10 | 00001000 | 00001000 | "Partition_010" | +| mtd11 | 00001000 | 00001000 | "Partition_011" | +| mtd12 | 00300000 | 00001000 | "linux" | +| mtd13 | 004c0000 | 00001000 | "rootfs" | + +This stick supports dual boot. + +`k0` and `r0` contains respectively the kernel and firmware of the first image, `k1` and `r1` of the second one + +## List of firmware and files +### Useful files +- `/var/config/lastgood.xml` - Contains the user portion of the configuration +- `/var/config/lastgood-hs.xml` - Contains the "hardware" configuration (i.e. that _should_ not be changed) +- `/tmp/omcilog` - OMCI messages logs (must be enabeled, see below) + +### Useful binaries +- `/etc/scripts/flash` - Used to manipulate the config files in a samewhat safe manner +- `xmlconfig` - Used to low-level manipulate the XML config files. Called by `flash` +- `nv` - Used to manipulate the nvram storage, including persistent config entries via `nv setenv`/`nv getenv` +- `omcicli` - Used to interact with the running OMCI daemon +- `omci_app` - The OMCI daemon +- `diag` - Used to run low-level diagnostics commands on the stick + +## Useful commands + +### Enable the Web UI +```sh +# /bin/iptables -D INPUT -p tcp --dport 80 -j DROP +``` + +### Check the currently active image +```sh +# nv getenv sw_active +sw_activ=1 +# nv getenv sw_version0 +sw_version0=V1_7_8_210412 +# nv getenv sw_version1 +sw_version1=V1_7_8_210412 +``` + +### Boot to a different image +```sh +# nv setenv sw_commit 0|1 +# reboot +``` + +### Get/Set the ONT S/N +```sh +# /etc/scripts/bin flash get GPON_SN +GPON_SN=TMBB00000000 +# /etc/scripts/bin flash set GPON_SN TMBB0A1B2C3D +``` + +### Get/Set the ONT PLOAM password +Note: the password is in ASCII format +```sh +# /etc/scripts/bin flash get GPON_PLOAM_PASSWD +GPON_PLOAM_PASSWD=AAAAAAAAAA +# /etc/scripts/bin flash set GPON_PLOAM_PASSWD AAAAAAAAAA +``` + +### Query a particular OMCI ME +```sh +# omcicli mib get MIB_IDX +``` + +## Low level modding +Note: this section is based on version `V1_7_8_210412` of the stick +### Trasnfer files from/to the stick +Works with binary files too, just run md5sum on source and destination to make sure you are not corrupting anything... +From the stick to the PC: +```sh +# ssh admin@192.168.2.1 "cat /tmp/omcilog" > omcilog.log +``` +From the PC to the stick +```sh +# cat lastgood.xml | ssh admin@192.168.2.1 "cat > /var/config/lastgood.xml" +``` +**Note:** on windows replace type with cat and run the commands from cmd (not powershell) +### Extract and repack the rootfs +```sh +# unsquashfs mtd5.bin +# mksquashfs squashfs-root rootfs -b 131072 -comp lzma -no-recovery +``` +### Flash a new rootfs +**Note: you can only flash the inactive image**. So mtd4/5 if you are on image1, mtd6/7 if you are on image0. + +The follwing examples flashes a new rootfs to image1 and boots to it +```sh +# flash_eraseall /dev/mtd7 +# cat /tmp/rootfs.new > /dev/mtd7 +# nv setenv sw_commit=1 +# reboot +``` +### Add support to configurable SW and HW versions, VENDOR ID and much more +We can patch `/etc/scripts/flash` in order to add support for some variables implemented in `omci_app` but removed from `xmlconfig`. The patch is below (change the values to suit your needs) +```patch +--- squashfs-root/etc/scripts/flash 2021-09-28 10:38:52.000000000 +0200 ++++ squashfs-root.new/etc/scripts/flash 2022-08-04 00:00:29.769605000 +0200 +@@ -62,7 +62,26 @@ + if [ `echo $para | egrep $specific_mib_patten` ]; then + /bin/xmlconfig -g $para | sed -r "s/$rename_mib_name+/$2/g" | sed -r "s/,+//g" + else +- /bin/xmlconfig -g $para | sed -r "s/$rename_mib_name+/$2/g" ++ case "$para" in ++ "OMCI_EQID") ++ echo "$para=MY_EQID" ++ ;; ++ "OMCI_VENDOR_ID") ++ echo "$para=MY_VENDOR" ++ ;; ++ "OMCI_SW_VER1") ++ echo "$para=MY_SW_VER1" ++ ;; ++ "OMCI_SW_VER2") ++ echo "$para=MY_SW_VER2" ++ ;; ++ "OMCI_ONT_VER") ++ echo "$para=MY_HW_VER" ++ ;; ++ *) ++ /bin/xmlconfig -g $para | sed -r "s/$rename_mib_name+/$2/g" ++ ;; ++ esac + fi + if [ "$?" = "0" ]; then + exit 0 +``` +### Increase the length of the software version from 13 to 14 characters +`omci_app` has an hard-coded limit of 13 characters for the software version, which is too low. We can binary patch it to increase it to 14 (or more, if you dare/need) +``` +JVhEWjAwNCUAAAAIAAgACAAAAAAAAAAAAAAAAAAAAABvbWNpX2FwcG9tY2lfYXBwH4sIAAAAAAAA +AwMAAAAAAAAAAAAfiwgAAAAAAAADY2BoYGZgYFjh9Uq/aNcZQdXsOh3R5ktr/fd0sTEwcuTnJmfG +JxYUYJVlZGAA0gCHsMK2QQAAAAAAAEQlWERaMDA0JQ== +``` +Save it as `omci_app.xdelta.base64`, then run: +```sh +# base64 -d omci_app.xdelta.base64 > omci_app.xdelta +# xdelta patch omci_app.xdelta bin/omci_app bin/omci_app.new +# mv bin/omci_app.new bin/omci_app +``` +For reference, the patch changes the follwing section of the omci_app: +```diff +-00408c24 24 05 00 0e li a1,0xe ++00408c24 24 05 00 0f li a1,0xf +-00408cf0 24 05 00 0f li a1,0xe ++00408cf0 24 05 00 0f li a1,0xf +``` +(It's inside the function referecing the string `OMCI_SW_VER1`) + +The original file md5sum is: `4aea2f72bacc11256b7e2c1583d2ad4f` +The patched file md5sum is: `da20327c4c002e4c27f82f6ee63dbc1a` +### Enable PLOAM logging +```sh +/etc/scripts/bin flash set OMCI_DBGLVL 1 +/etc/scripts/bin flash set OMCI_DBGLOGFILE 1 +reboot +/bin/omcicli set logfile 1 ffffffff +``` +1. The binary log will be placed inside: `/tmp/omcilog` +2. You can convert it into .pcap using https://github.com/ADeltaX/omcilog2pcap +3. You can then open it into wireshark by installing the OMCI plugin from https://wiki.wireshark.org/Contrib.md + +If you want to log everything since the stick boots, you can create a custom rootfs. Place the last command inside `etc/runomci.sh` as the last line of the file + ## Miscellaneous Links \ No newline at end of file diff --git a/ont-vsol-V2801F.md b/ont-vsol-V2801F.md index 83f9641..26ed1ea 100644 --- a/ont-vsol-V2801F.md +++ b/ont-vsol-V2801F.md @@ -9,7 +9,7 @@ parent: ONT ## Hardware Specifications | | | -|----------|---------------| +|-------------|-------------------------------------------------| | Vendor | VSOL | | Model | V2801F | | Alias | | diff --git a/ont.md b/ont.md index cb6561a..84ffd4b 100644 --- a/ont.md +++ b/ont.md @@ -4,4 +4,7 @@ has_children: true nav_order: 2 --- -# ONT \ No newline at end of file +# ONT + +resources to access and modify ONTs +{: .fs-6 .fw-300 } \ No newline at end of file -- cgit v1.2.3