summaryrefslogtreecommitdiffstats
path: root/ont-ODI-Realtek-DFP-34X-2C2.md
diff options
context:
space:
mode:
authorSimone Bortolin <simonebortolin@users.noreply.github.com>2022-08-10 00:16:15 +0200
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-19 23:01:14 +0100
commitd016d172f00d318003bfe380859c9b97e5be6802 (patch)
tree4f60055bcad2e1209827631ae7a78bfd2c7c646c /ont-ODI-Realtek-DFP-34X-2C2.md
parentadd mermaid (diff)
downloadhack-gpon.github.io-d016d172f00d318003bfe380859c9b97e5be6802.tar
hack-gpon.github.io-d016d172f00d318003bfe380859c9b97e5be6802.tar.gz
hack-gpon.github.io-d016d172f00d318003bfe380859c9b97e5be6802.tar.bz2
hack-gpon.github.io-d016d172f00d318003bfe380859c9b97e5be6802.tar.lz
hack-gpon.github.io-d016d172f00d318003bfe380859c9b97e5be6802.tar.xz
hack-gpon.github.io-d016d172f00d318003bfe380859c9b97e5be6802.tar.zst
hack-gpon.github.io-d016d172f00d318003bfe380859c9b97e5be6802.zip
Diffstat (limited to 'ont-ODI-Realtek-DFP-34X-2C2.md')
-rw-r--r--ont-ODI-Realtek-DFP-34X-2C2.md148
1 files changed, 148 insertions, 0 deletions
diff --git a/ont-ODI-Realtek-DFP-34X-2C2.md b/ont-ODI-Realtek-DFP-34X-2C2.md
new file mode 100644
index 0000000..0fa8dd6
--- /dev/null
+++ b/ont-ODI-Realtek-DFP-34X-2C2.md
@@ -0,0 +1,148 @@
+---
+title: ODI Realtek DFP-34X-C2C (XPON)
+has_children: false
+parent: ONT
+---
+
+# Hardware Specifications
+
+| | |
+| ----------- | --------------------------------- |
+| Vendor | ODI |
+| Model | DFP-34X-C2C |
+| Chipset | Realtek RTL9601D |
+| Flash | 8 MB |
+| RAM | 64 MB |
+| System | Linux (Luna SDK) |
+| HSGMII | Yes |
+| Optics | SC/APC |
+| IP address | 192.168.1.1 |
+| Web Gui | ✅ user `admin`, password `admin` |
+| SSH | ✅ user `admin`, password `admin` |
+| Form Factor | miniONT SFP |
+
+**Note:** SSH uses an outdated set of algorithm/ciphers, you can connect using the following command:
+
+```shell
+ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oCiphers=+3des-cbc admin@192.168.1.1
+```
+
+{% include image.html file="odi.jpg" alt="ODI DFP-34X-C2C" caption="ODI DFP-34X-C2C" %}
+
+
+## Firmware is interchangeable with:
+
+- [ODI DFP-34X-C2C](ont-ODI-DFP-34X-C2C)
+- [VSOL V2801F](ont-vsol-V2801F)
+- [TWCGPON657](ont-TWCGPON657)
+- [UFiber UF-Instant](ont-UFiber-UF-Instant)
+- [DFP-34X-2C2](ont-DFP-34X-2C2)
+- [CarlitoxxPro CPGOS03-0490 v2](ont-CarlitoxxPro-CPGOS03-0490-v2)
+
+## List of software versions
+- V1.0-220530 Modded by [stich86](https://github.com/stich86) **SUGGESTED** since it has working VLAN translation. Download link: [github.com](https://github.com/Anime4000/RTL960x/files/8821809/M114_sfp_ODI_hybrid_220527_stich86_220530.tar.zip)
+- V1.0-220414
+- V1.0-220304
+
+## List of partitions
+
+| dev | size | erasesize | name |
+| ----- | -------- | --------- | --------------- |
+| mtd0 | 00040000 | 00001000 | "boot" |
+| mtd1 | 00002000 | 00001000 | "env" |
+| mtd2 | 00002000 | 00001000 | "env2" |
+| mtd3 | 0003c000 | 00001000 | "config" |
+| mtd4 | 0014c000 | 00001000 | "k0" |
+| mtd5 | 00274000 | 00001000 | "r0" |
+| mtd6 | 0014c000 | 00001000 | "k1" |
+| mtd7 | 00274000 | 00001000 | "r1" |
+| mtd8 | 00001000 | 00001000 | "Partition_008" |
+| mtd9 | 00001000 | 00001000 | "Partition_009" |
+| mtd10 | 00001000 | 00001000 | "Partition_010" |
+| mtd11 | 00001000 | 00001000 | "Partition_011" |
+| mtd12 | 0014c000 | 00001000 | "linux" |
+| mtd13 | 00274000 | 00001000 | "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
+
+# Useful Commands
+
+## Getting/Setting the ONT's S/N
+```sh
+# flash get GPON_SN
+GPON_SN=TMBB00000000
+# flash set GPON_SN TMBB0A1B2C3D
+```
+
+## Getting/Setting the ONT's PLOAM password
+
+{% include alert.html content="The PLOAM password is stored in HEX format, with no 0x or separator" %}
+
+```sh
+# flash get GPON_PLOAM_PASSWD
+GPON_PLOAM_PASSWD=41414141414141414141
+# flash set GPON_PLOAM_PASSWD 41414141414141414141
+```
+
+## Getting/Setting the ONT Vendor ID
+**Note:** this may need OMCI_OLT_MODE set to 3 to work
+```sh
+# flash get PON_VENDOR_ID
+PON_VENDOR_ID=ZTEG
+# flash set PON_VENDOR_ID HWTC
+```
+
+## Getting/Settng the ONT Custom software version
+**Note:** this needs OMCI_OLT_MODE set to 3 and firmware 220530 modded by stich86
+
+```sh
+# nv setenv sw_custom_version0 YOURFIRSTSWVER
+# nv setenv sw_custom_version1 YOURSECONDSWVER
+```
+
+## Getting/Setting a custom HW Version
+**Note:** this probably needs OMCI_OLT_MODE set to 3
+
+```sh
+# flash get HW_HWVER
+HW_HWVER=V2.0
+# flash set HW_HWVER MYHWVERSION
+```
+
+## Getting/Setting a custom ONT Equipment ID
+**Note:** this probably needs OMCI_OLT_MODE set to 3
+```sh
+# flash get GPON_ONU_MODEL
+GPON_ONU_MODEL=DFP-34X-2C2
+# flash set GPON_ONU_MODEL DFP-34X-XXX
+```
+
+## Checking the currently active image
+```sh
+# nv getenv sw_active
+sw_active=1
+```
+
+## Booting to a different image
+```sh
+# nv setenv sw_commit 0|1
+# reboot
+```
+
+## Querying a particular OMCI ME
+```sh
+# omcicli mib get MIB_IDX
+```
+
+# Known Bugs
+
+- Auto-sensing mode to switch between SGMII/HiSGMII
+
+# Miscellaneous Links
+
+- [Hacking RTL960x](https://github.com/Anime4000/RTL960x)
+- [Ditch ONU, use GPON SFP on Business Grade Router, Mikrotik/Ubiquiti/pfSense (Home Networking)](https://forum.lowyat.net/topic/4925452)
+
+