summaryrefslogtreecommitdiffstats
path: root/_ont
diff options
context:
space:
mode:
authorSimone Bortolin <simonebortolin@users.noreply.github.com>2022-09-24 10:17:10 +0200
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-19 23:09:21 +0100
commit19d9efdbf79c7a94f27d2836ff71451839607150 (patch)
treeedc710c16360660e623a5cc6690c42ae7345d6fa /_ont
parentadd and fix tool pages (diff)
downloadhack-gpon.github.io-19d9efdbf79c7a94f27d2836ff71451839607150.tar
hack-gpon.github.io-19d9efdbf79c7a94f27d2836ff71451839607150.tar.gz
hack-gpon.github.io-19d9efdbf79c7a94f27d2836ff71451839607150.tar.bz2
hack-gpon.github.io-19d9efdbf79c7a94f27d2836ff71451839607150.tar.lz
hack-gpon.github.io-19d9efdbf79c7a94f27d2836ff71451839607150.tar.xz
hack-gpon.github.io-19d9efdbf79c7a94f27d2836ff71451839607150.tar.zst
hack-gpon.github.io-19d9efdbf79c7a94f27d2836ff71451839607150.zip
Diffstat (limited to '')
-rw-r--r--_ont/ont-leox-lxt-010g-d.md52
-rw-r--r--_ont/ont-leox-lxt-010h-d.md22
-rw-r--r--_ont/ont-leox-lxt-010s-h.md22
-rw-r--r--_ont/ont-nokia-g-010g-q.md2
-rw-r--r--_ont/ont-odi-realtek-dfp-34x-2c2.md2
-rw-r--r--_ont/ont-technicolor-afm0003.md89
-rw-r--r--_ont/ont-zyxel-pmg3100-t0.md29
7 files changed, 210 insertions, 8 deletions
diff --git a/_ont/ont-leox-lxt-010g-d.md b/_ont/ont-leox-lxt-010g-d.md
new file mode 100644
index 0000000..3d640f6
--- /dev/null
+++ b/_ont/ont-leox-lxt-010g-d.md
@@ -0,0 +1,52 @@
+---
+title: Leox LXT-010G-D
+has_children: false
+layout: default
+parent: Leox
+---
+
+# Hardware Specifications
+
+| | |
+| ----------- | ------------------------------------ |
+| Vendor | Leox |
+| Model | LXT-010G-D |
+| Chipset | |
+| Flash | |
+| RAM | |
+| System | Linux (Luna SDK ) |
+| HSGMII | No |
+| Optics | |
+| IP address | 192.168.100.1/24 |
+| Web Gui | |
+| Telnet | ✅ user `leox`, password `leolabs_7` |
+| Form Factor | ONT |
+
+
+## List of software versions
+## List of partitions
+## List of firmwares and files
+
+# Useful Commands
+
+## Getting/Setting the ONT's S/N
+```sh
+# /etc/scripts/flash get GPON_SN
+GPON_SN=TMBB00000000
+# /etc/scripts/flash set GPON_SN TMBB0A1B2C3D
+```
+
+## Getting/Setting the ONT's PLOAM password
+
+{% include alert.html content="The PLOAM password is stored in ASCII format" alert="Info" icon="svg-info" color="blue" %}
+
+```sh
+# /etc/scripts/flash get GPON_PLOAM_PASSWD
+GPON_PLOAM_PASSWD=AAAAAAAAAA
+# /etc/scripts/flash set GPON_PLOAM_PASSWD AAAAAAAAAA
+```
+
+# Known Bugs
+# Miscellaneous Links
+
+
diff --git a/_ont/ont-leox-lxt-010h-d.md b/_ont/ont-leox-lxt-010h-d.md
index 61e9c37..eaa1b4b 100644
--- a/_ont/ont-leox-lxt-010h-d.md
+++ b/_ont/ont-leox-lxt-010h-d.md
@@ -14,7 +14,7 @@ parent: Leox
| Chipset | RTL9601CI |
| Flash | |
| RAM | |
-| System | |
+| System | Linux 3.18 (Luna SDK 3.3) |
| HSGMII | ✅ |
| Optics | |
| IP address | 192.168.100.1/24 |
@@ -26,6 +26,26 @@ parent: Leox
## List of software versions
## List of partitions
## List of firmwares and files
+
+# Useful Commands
+
+## Getting/Setting the ONT's S/N
+```sh
+# /etc/scripts/flash get GPON_SN
+GPON_SN=TMBB00000000
+# /etc/scripts/flash set GPON_SN TMBB0A1B2C3D
+```
+
+## Getting/Setting the ONT's PLOAM password
+
+{% include alert.html content="The PLOAM password is stored in ASCII format" alert="Info" icon="svg-info" color="blue" %}
+
+```sh
+# /etc/scripts/flash get GPON_PLOAM_PASSWD
+GPON_PLOAM_PASSWD=AAAAAAAAAA
+# /etc/scripts/flash set GPON_PLOAM_PASSWD AAAAAAAAAA
+```
+
# Known Bugs
# Miscellaneous Links
diff --git a/_ont/ont-leox-lxt-010s-h.md b/_ont/ont-leox-lxt-010s-h.md
index 6ecab97..4bf89a2 100644
--- a/_ont/ont-leox-lxt-010s-h.md
+++ b/_ont/ont-leox-lxt-010s-h.md
@@ -14,7 +14,7 @@ parent: Leox
| Chipset | RTL9601CI |
| Flash | |
| RAM | |
-| System | |
+| System | Linux 3.18 (Luna SDK 3.3) |
| HSGMII | ✅ |
| Optics | |
| IP address | 192.168.100.1/24 |
@@ -26,6 +26,26 @@ parent: Leox
## List of software versions
## List of partitions
## List of firmwares and files
+
+# Useful Commands
+
+## Getting/Setting the ONT's S/N
+```sh
+# /etc/scripts/flash get GPON_SN
+GPON_SN=TMBB00000000
+# /etc/scripts/flash set GPON_SN TMBB0A1B2C3D
+```
+
+## Getting/Setting the ONT's PLOAM password
+
+{% include alert.html content="The PLOAM password is stored in ASCII format" alert="Info" icon="svg-info" color="blue" %}
+
+```sh
+# /etc/scripts/flash get GPON_PLOAM_PASSWD
+GPON_PLOAM_PASSWD=AAAAAAAAAA
+# /etc/scripts/flash set GPON_PLOAM_PASSWD AAAAAAAAAA
+```
+
# Known Bugs
# Miscellaneous Links
diff --git a/_ont/ont-nokia-g-010g-q.md b/_ont/ont-nokia-g-010g-q.md
index 998fe7a..0c6e078 100644
--- a/_ont/ont-nokia-g-010g-q.md
+++ b/_ont/ont-nokia-g-010g-q.md
@@ -14,7 +14,7 @@ parent: Nokia
| Chipset | Realtek RTL9601B |
| Flash | Winbond [W25Q128JV](https://www.winbond.com/resource-files/w25q128jv%20revf%2003272018%20plus.pdf) 3V 128M-BIT SPI |
| RAM | DDR2 325MHz |
-| System | Linux (Luna SDK) |
+| System | Linux (Luna SDK 1.9) |
| HSGMII | No |
| Optics | SC/APC |
| IP address | 192.168.100.1 |
diff --git a/_ont/ont-odi-realtek-dfp-34x-2c2.md b/_ont/ont-odi-realtek-dfp-34x-2c2.md
index 5770fa8..67298c2 100644
--- a/_ont/ont-odi-realtek-dfp-34x-2c2.md
+++ b/_ont/ont-odi-realtek-dfp-34x-2c2.md
@@ -15,7 +15,7 @@ parent: ODI
| Chipset | Realtek RTL9601D |
| Flash | 8 MB |
| RAM | 64 MB |
-| System | Linux (Luna SDK) |
+| System | Linux (Luna SDK 1.9) |
| HSGMII | Yes |
| Optics | SC/UPC |
| IP address | 192.168.1.1 |
diff --git a/_ont/ont-technicolor-afm0003.md b/_ont/ont-technicolor-afm0003.md
index 0b3d1c5..594d79a 100644
--- a/_ont/ont-technicolor-afm0003.md
+++ b/_ont/ont-technicolor-afm0003.md
@@ -11,17 +11,17 @@ parent: Technicolor
| ----------- | ----------------------------------------------- |
| Vendor | Technicolor |
| Model | AFM0003TIM |
-| Chipset | Realtek RTL9601 |
+| Chipset | Realtek RTL9601CI/D |
| Flash | |
| RAM | |
-| System | Linux (Luna SDK) |
-| HSGMII | NO |
+| System | Linux 2.6 (Luna SDK 1.9) |
+| HSGMII | |
| 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 |
-| Multicast | ✅ |
+| Multicast | ✅ |
{% include image.html file="afm0003tim.jpg" alt="AFM0003TIM" caption="AFM0003TIM" %}
@@ -34,9 +34,90 @@ Configuration: asc0=0 115200 8-N-1
- AFM0003TIM (IP address: 192.168.2.1)
# List of software versions
+- V1_7_8_220201
# List of partitions
+| dev | size | erasesize | name |
+| ----- | -------- | --------- | --------------- |
+| mtd0 | 000c0000 | 00020000 | "boot" |
+| mtd1 | 00020000 | 00020000 | "env" |
+| mtd2 | 00020000 | 00020000 | "env2" |
+| mtd3 | 01800000 | 00020000 | "config" |
+| mtd4 | 00800000 | 00020000 | "k0" |
+| mtd5 | 02a40000 | 00020000 | "r0" |
+| mtd6 | 00800000 | 00020000 | "k1" |
+| mtd7 | 02a40000 | 00020000 | "r1" |
+| mtd8 | 00001000 | 00020000 | "Partition_008" |
+| mtd9 | 00001000 | 00020000 | "Partition_009" |
+| mtd10 | 00001000 | 00020000 | "Partition_010" |
+| mtd11 | 00001000 | 00020000 | "Partition_011" |
+| mtd12 | 00800000 | 00020000 | "linux" |
+| mtd13 | 02a40000 | 00020000 | "rootfs" |
+
+This stick supports dual boot.
+
+`k0` and `r0` respectively contain the kernel and firmware of the first image, `k1` and `r1` the kernel and the firmware of the second one
+
+# List of firmwares 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
+
+## Getting/Setting the ONT's S/N
+```sh
+# /etc/scripts/flash get GPON_SN
+GPON_SN=TMBB00000000
+# /etc/scripts/flash set GPON_SN TMBB0A1B2C3D
+```
+
+## Getting/Setting the ONT's PLOAM password
+
+{% include alert.html content="The PLOAM password is stored in ASCII format" alert="Info" icon="svg-info" color="blue" %}
+
+```sh
+# /etc/scripts/flash get GPON_PLOAM_PASSWD
+GPON_PLOAM_PASSWD=AAAAAAAAAA
+# /etc/scripts/flash set GPON_PLOAM_PASSWD AAAAAAAAAA
+```
+
+## Enabling the Web UI
+```sh
+# /bin/iptables -D INPUT -p tcp --dport 80 -j DROP
+```
+
+## Checking the currently active image
+```sh
+# nv getenv sw_active
+sw_active=1
+# nv getenv sw_version0
+sw_version0=V1_7_8_210412
+# nv getenv sw_version1
+sw_version1=V1_7_8_210412
+```
+
+## Booting to a different image
+```sh
+# nv setenv sw_commit 0|1
+# reboot
+```
+
+## Querying a particular OMCI ME
+```sh
+# omcicli mib get MIB_IDX
+```
+
# Low Level Modding
# Known Bugs
diff --git a/_ont/ont-zyxel-pmg3100-t0.md b/_ont/ont-zyxel-pmg3100-t0.md
new file mode 100644
index 0000000..531f4d1
--- /dev/null
+++ b/_ont/ont-zyxel-pmg3100-t0.md
@@ -0,0 +1,29 @@
+---
+title: Zyxel PM3100-T0
+has_children: false
+layout: default
+parent: Zyxel
+---
+
+# Hardware Specifications
+
+| | |
+| ----------- | --------------- |
+| Vendor | Zyxel |
+| Model | PM3100-T0 |
+| Chipset | MediaTek/EcoNet |
+| Flash | |
+| RAM | |
+| System | |
+| HSGMII | No |
+| Optics | SC/APC |
+| IP address | |
+| Web Gui | ✅ |
+| SSH | ✅ |
+| Form Factor | ONT |
+
+## List of software versions
+## List of partitions
+## List of firmwares and files
+# Known Bugs
+# Miscellaneous Links