diff options
author | Simone <26844016+simonebortolin@users.noreply.github.com> | 2024-02-18 11:30:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-18 11:30:52 +0100 |
commit | eddf563f18fe6283615af62edea91ee6fc13447c (patch) | |
tree | 7cdaef6d0d1bb86cdc59a011e6a98ad5943d4125 | |
parent | Update ont-nokia-xs-010x-q.md with new version (#305) (diff) | |
download | hack-gpon.github.io-eddf563f18fe6283615af62edea91ee6fc13447c.tar hack-gpon.github.io-eddf563f18fe6283615af62edea91ee6fc13447c.tar.gz hack-gpon.github.io-eddf563f18fe6283615af62edea91ee6fc13447c.tar.bz2 hack-gpon.github.io-eddf563f18fe6283615af62edea91ee6fc13447c.tar.lz hack-gpon.github.io-eddf563f18fe6283615af62edea91ee6fc13447c.tar.xz hack-gpon.github.io-eddf563f18fe6283615af62edea91ee6fc13447c.tar.zst hack-gpon.github.io-eddf563f18fe6283615af62edea91ee6fc13447c.zip |
-rw-r--r-- | _config.yml | 12 | ||||
-rw-r--r-- | _ont_epon/free_iliad.md | 13 | ||||
-rw-r--r-- | _ont_epon/free_iliad_F-MDCONU3A.md | 206 | ||||
-rw-r--r-- | _ont_epon/free_iliad_F-MDCONU5A.md | 33 | ||||
-rw-r--r-- | _ont_epon/free_iliad_P-MDONU4B.md | 34 | ||||
-rw-r--r-- | _router_pon/avm.md | 5 | ||||
-rw-r--r-- | _router_pon/avm_fritzbox.md | 25 | ||||
-rw-r--r-- | _router_pon/avm_fritzbox_5530.md | 35 | ||||
-rw-r--r-- | _router_pon/avm_fritzbox_5590.md | 35 | ||||
-rw-r--r-- | _router_pon/free_iliad.md | 13 | ||||
-rw-r--r-- | _router_pon/free_iliad_box_pop.md | 53 | ||||
-rw-r--r-- | _router_pon/ont-zte-f6645p.md | 199 | ||||
-rw-r--r-- | _router_pon/ont-zte.md | 5 | ||||
-rw-r--r-- | _sfp/ont-wo-mac.md | 2 | ||||
-rw-r--r-- | assets/img/avm/avm_ploam.png | bin | 0 -> 197316 bytes | |||
-rw-r--r-- | assets/img/avm/avm_serial.jpg | bin | 0 -> 31427 bytes |
16 files changed, 670 insertions, 0 deletions
diff --git a/_config.yml b/_config.yml index 4018f5c..c41c48f 100644 --- a/_config.yml +++ b/_config.yml @@ -101,6 +101,12 @@ collections: ont_xgs: permalink: "/xgs/:path/" output: true + ont_epon: + permalink: "/epon/:path/" + output: true + router_pon: + permalink: "/router/:path/" + output: true tools: permalink: "/:path/" output: true @@ -122,6 +128,12 @@ just_the_docs: ont_xgs: name: ONT XGS-PON nav_fold: true + ont_epon: + name: ONT EPON + nav_fold: true + router_pon: + name: Router PON + nav_fold: true tools: name: Tools nav_fold: true diff --git a/_ont_epon/free_iliad.md b/_ont_epon/free_iliad.md new file mode 100644 index 0000000..39727b8 --- /dev/null +++ b/_ont_epon/free_iliad.md @@ -0,0 +1,13 @@ +--- +title: Free/Iliad +has_children: true +layout: default +--- + +# Free/Iliad network + +Iliad's (Italy) PON network is delivered through two types of technology: GPON or EPON where available. The latter is not actually pure 10G-EPON but DPoE (DOCSIS Provisioning over EPON), confirmed by analyzing the physical layer signals. + +Using a Xilinx Kintex 7 FPGA with an integrated logic analyzer, an optical module has been connected to the FPGA's transceiver. The transceiver synchronized successfully and the sync header sequence was the one expected for 10G-EPON: a FEC codeword is a sequence of 31 words. Those words have a sync header binary value of `10` or `01` repeated 27 times corresponding to the original message plus `00, 11, 11, 00` corresponding to the FEC parity information. Discarding the latter part and descrambling the remaining data, the packets have been retrieved. + +As an example, a packet starts with `55 d5 55 1b 3c 07 5f` in hex, which corresponds to a DPoE (10G) preamble (actually it's missing one starting `0x55` byte but the CRC8 at the end is correct nonetheless). diff --git a/_ont_epon/free_iliad_F-MDCONU3A.md b/_ont_epon/free_iliad_F-MDCONU3A.md new file mode 100644 index 0000000..3ad31bf --- /dev/null +++ b/_ont_epon/free_iliad_F-MDCONU3A.md @@ -0,0 +1,206 @@ +--- +title: Free/Iliad F-MDCONU3A (v1) +has_children: false +layout: default +parent: Free/Iliad +--- + +# Hardware Specifications + +| | | +| ---------------- | ------------------------------- | +| Vendor/Brand | Free/Iliad | +| Model | F-MDCONU3A | +| ODM | ✅ | +| ODM Product Code | | +| Chipset | BCM55030 | +| Flash | W25Q32J (4MB SPI) | +| RAM | embedded | +| CPU | ARCompact[^arc-isa], big endian | +| CPU Clock | | +| Bootloader | | +| System | | +| Load addr | | +| HSGMII | No | +| Optics | SFP w/o MAC | +| IP address | | +| Web Gui | | +| SSH | | +| Telnet | | +| Serial | ✅ | +| Serial baud | 57600 | +| Serial encoding | 8-N-1 | +| Form Factor | ONT | + +The BCM55030 is a 10G-EPON ONU/ONT. +The BCM55030's UNI (User Network Interface) side should be capable of 4xSGMII (1 GbE) or 1xXAUI (10 GbE) or 1xXFI (10 GbE SFP) or 1xRGMII, but only one SGMII lane is actually routed. +UNI link won't go up when connected to a media converter or directly to a NIC. + +## Serial + +The serial port is easily accessible at TP5 and TP6. A prompt is available without authentication, it is structured as a tree of directories. To navigate type the subdirectory name. To go back type `/` and hit enter. To list available commands type `help`. + +Available commands: + +``` +- mac/ + - epon + - user +- alm/ + - info + - gpio +- debug/ + - mcast + - mpcp + - nco + - rstp + - sysd +- epon/ + - eponmac + - usermac + - dom + - ponspeed +- fds/ + - erase +- load/ + - info + - commit + - setRecoveryPoint + - runRecoveryPoint + - rx +- mcast/ + - domains + - groups + - sources + - reporters + - igmpinfo + - igmpsources +- mem/ + - rf +- mpcp/ + - info + - failsafe + - oltmac +- pers/ + - read +- serdes/ + - sdextlptest +- stats/ + - clear + - gather + - epon + - fifo + - lif + - uni + - xif + - statsmode +- log/ + - show + - level +- sysd/ + - frmdmp +- clionly +- clr +- ints +- reg +- reset +- set +- echo +- sftver +``` + +`load/info` output: +``` +TK2000 APP 3.27 May 13 2016 02:48:05 Chip: 4701 B2110816 +Mode: App Normal +EPON MAC: 0x8C97EA6C17AC + +Executing: NA +2000 0001 v3.2.7 (Rel) +Size: 319044 CRC: 0x2FAF887F +Type: 02 Subtype 0C Flags 04 +Stream: 112 Revision: 131152 +Time: 2016-05-18 01:28:44Z + +Boot: pass +2000 0000 v3.2.7 (NA) +Size: 42896 CRC: 0xC87371F8 +Type: 01 Subtype 0C Flags 04 +Stream: 114 Revision: 127457 +Time: 2016-01-20 05:45:49Z + +App 0: fail +FFFF 0000 vFF.FF.FFFF (NA) +Size: 4294967258 CRC: 0xFFFFFFFF +Type: FF Subtype FF Flags FF +Stream: 4294967295 Revision: 4294967295 +Time: 65535-255-255 255:255:255Z + +App 1: pass +2000 0001 v3.2.7 (Rel) +Size: 319044 CRC: 0x2FAF887F +Type: 02 Subtype 0C Flags 04 +Stream: 112 Revision: 131152 +Time: 2016-05-18 01:28:44Z + +App 2: pass +2000 0001 v3.2.9 (Rel) +Size: 319240 CRC: 0x3FBE2A30 +Type: 02 Subtype 0C Flags 04 +Stream: 116 Revision: 167733 +Time: 2019-03-13 01:47:37Z + +Diag: pass +2000 0001 v3.2.7 (Rel) +Size: 319044 CRC: 0x2FAF887F +Type: 02 Subtype 0C Flags 04 +Stream: 112 Revision: 131152 +Time: 2016-05-18 01:28:44Z +``` + +`mem/rf [start address] [lenght]` reads bytes from the flash memory, wraps every 512 kB. + +## List of partitions + +The flash memory is not actually partitioned, upon reset the CPU loads from address 0 (reset vector) and jumps to another address ([page 74](http://me.bios.io/images/d/dd/ARCompactISA_ProgrammersReference.pdf#%5B%7B%22num%22%3A177%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C72%2C157%2C0%5D)). Each section ends with its CRC. + +| Section | Start address | End address | Size | +| --------------------- | ---------------- | ---------------- | -------------- | +| Bootloader | 0 | 42896/0xA790 | 42896/0xA790 | +| App 0 | ? | ? | ? | +| App 1 | 1179687/0x120027 | 1498731/0x16DE6B | 319044/0x4DE44 | +| App 2 | 1703975/0x1A0027 | 2023215/0x1EDF2F | 319240/0x4DF08 | +| Diag (copy of App 1?) | 2555943/0x270027 | 2874987/0x2BDE6B | 319044/0x4DE44 | + +(End address is non-inclusive) +App 1 and App 2 sections are located at a distance of 512 kB (0x80000) from each other. This probably means that the CPU is capable of addressing only 512 kB of flash. It can be verified also by running the `mem/rf` command, which wraps every 512 kB. + +# Userful files and binaries + +# EEPROM + +There is an SFP plug on the UNI side with an embedded EEPROM. + +## EEPROM layout + +``` +00000000 03 04 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 |................| +00000010 00 00 00 00 46 52 45 45 42 4f 58 00 00 00 00 00 |....FREEBOX.....| +00000020 00 00 00 00 00 8c 97 ea 46 2d 4d 44 43 4f 4e 55 |........F-MDCONU| +00000030 33 41 00 00 00 00 00 00 30 32 00 00 00 00 00 38 |3A......02.....8| +00000040 00 00 00 00 38 36 38 38 30 32 4a 32 30 32 33 34 |....868802J20234| +00000050 36 32 39 35 32 30 30 36 30 39 30 30 00 00 00 ec |629520060900....| +00000060 38 36 38 38 30 32 4a 32 30 32 33 34 36 32 39 35 |868802J202346295| +00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +00000080 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| +* +00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00000200 +``` + +# Miscellaneous Links + +![](https://web.archive.org/web/20230609184811/https://xtech.nikkei.com/dm/article/NEWS/20110121/188932/Broadcom_4.jpg) + +[^arc-isa]: *ARCompact Instruction Set Architecture Programmer's Reference* http://me.bios.io/images/d/dd/ARCompactISA_ProgrammersReference.pdf diff --git a/_ont_epon/free_iliad_F-MDCONU5A.md b/_ont_epon/free_iliad_F-MDCONU5A.md new file mode 100644 index 0000000..f9f6f06 --- /dev/null +++ b/_ont_epon/free_iliad_F-MDCONU5A.md @@ -0,0 +1,33 @@ +--- +title: Free/Iliad F-MDCONU5A (v2) +has_children: false +layout: default +parent: Free/Iliad +--- + +# Hardware Specifications + +| | | +| ---------------- | ----------- | +| Vendor/Brand | Free/Iliad | +| Model | F-MDCONU5A | +| ODM | ✅ | +| ODM Product Code | | +| Chipset | BCM55030 | +| Flash | | +| RAM | | +| CPU | | +| CPU Clock | | +| Bootloader | | +| System | | +| Load addr | | +| HSGMII | No | +| Optics | SFP w/o MAC | +| IP address | | +| Web Gui | | +| SSH | | +| Telnet | | +| Serial | | +| Serial baud | | +| Serial encoding | | +| Form Factor | ONT |
\ No newline at end of file diff --git a/_ont_epon/free_iliad_P-MDONU4B.md b/_ont_epon/free_iliad_P-MDONU4B.md new file mode 100644 index 0000000..6822593 --- /dev/null +++ b/_ont_epon/free_iliad_P-MDONU4B.md @@ -0,0 +1,34 @@ +--- +title: Free/Iliad P-MDONU4B (pro) +has_children: false +layout: default +parent: Free/Iliad +--- + +# Hardware Specifications + +| | | +| --------------- | -------------------- | +| Vendor/Brand | Free/Iliad P-MDONU4B | +| Model | P-MDONU4B | +| ODM | | +| Chipset | | +| Flash | | +| RAM | | +| CPU | | +| CPU Clock | | +| Bootloader | | +| System | | +| Load addr | | +| XGMII/XSGMII | Yes | +| 10GBaseX | Yes | +| Optics | SFP w/o MAC | +| IP address | | +| Web Gui | | +| SSH | | +| Telnet | | +| Serial | | +| Serial baud | | +| Serial encoding | | +| Form Factor | ONT | + diff --git a/_router_pon/avm.md b/_router_pon/avm.md new file mode 100644 index 0000000..438f856 --- /dev/null +++ b/_router_pon/avm.md @@ -0,0 +1,5 @@ +--- +title: AVM +has_children: true +layout: default +--- diff --git a/_router_pon/avm_fritzbox.md b/_router_pon/avm_fritzbox.md new file mode 100644 index 0000000..261f02b --- /dev/null +++ b/_router_pon/avm_fritzbox.md @@ -0,0 +1,25 @@ +## SFP Whitelist + +- FRITZ!SFP AON (IEEE 802.3ah-2004 1000BASE-BX10, TX 1310 nm, RX 1480 to 1580 nm, LC/APC 8°, 10 km)[^aon] +- FRITZ!SFP AON TV Filter (IEEE 802.3ah-2004 1000BASE-BX10) +- FRITZ!SFP GPON (GPON ITU-T G.984.2/984.5, TX 1310 nm, RX 1490 nm, LC/UPC 8°, 20 km) +- FRITZ!SFP XGS-PON (XGS-PON ITU-T G.9807 TX 1270 nm, RX 1577 nm, è l’unico che usa un SC/UPC, 20 km) + + +# GPON/OMCI settings + +## Setting ONU GPON Serial Number + +It is possible to change the serial numebr by editing it in the http://fritz.box/support.lua, in the ASCII format (ZTEG012345678) + +{% include image.html file="avm/avm_serial.jpg" alt="Serial number form" caption="Serial number form" %} + + +## Setting ONU GPON PLOAM password + +It is possible to change the GPON PLOAM passowrd by editing it in the logon data, in the ASCII format (PLOAM) + +{% include image.html file="avm/avm_ploam.jpg" alt="PLOAM Password form" caption="PLOAM Password form" %} + +-- +[^aon] [EWE AON Anschluss SFP Transceiver](https://www.glasfaserforum.de/forum/thread/984-ewe-aon-anschluss-sfp-transceiver/) diff --git a/_router_pon/avm_fritzbox_5530.md b/_router_pon/avm_fritzbox_5530.md new file mode 100644 index 0000000..38c1093 --- /dev/null +++ b/_router_pon/avm_fritzbox_5530.md @@ -0,0 +1,35 @@ +--- +title: AVM FRITZ!Box 5530 +has_children: false +layout: default +parent: AVM +--- + +# Hardware Specifications + +| | | +| --------------- | ------------------------------------------------------------------------ | +| Vendor/Brand | AVM FRITZ!Box 5530 | +| Model | FRITZ!Box 5530 | +| ODM | ✅ | +| Chipset | MaxLinear Falcon PRX321B1BI-S-LNEV MIPS32 | +| Flash | 128 MB | +| RAM | 1024 MB | +| Chipset | MaxLinear Falcon PRX321B1BI-S-LNEV MIPS32 | +| CPU Clock | 800 MHz | +| Bootloader | | +| System | | +| Load addr | | +| SFP | 1GBASE-BX10 (only FRITZ!SFP AON), PON equivalent symbol GPON and XGS-PON | +| Ethernet | 4 1GbE, 1 2.5GbE LAN/WAN | +| Optics | SC/UPC | +| IP address | 192.168.1.254 | +| Web Gui | ✅ | +| SSH | | +| Telnet | | +| Serial | | +| Serial baud | 115200 | +| Serial encoding | 8-N-1 | +| Form Factor | CPE with SFP w/o MAC support | + +{% include_relative avm_fritzbox.md %} diff --git a/_router_pon/avm_fritzbox_5590.md b/_router_pon/avm_fritzbox_5590.md new file mode 100644 index 0000000..3af6f5d --- /dev/null +++ b/_router_pon/avm_fritzbox_5590.md @@ -0,0 +1,35 @@ +--- +title: AVM FRITZ!Box 5590 +has_children: false +layout: default +parent: AVM +--- + +# Hardware Specifications + +| | | +| --------------- | ------------------------------------------------------------------------ | +| Vendor/Brand | AVM FRITZ!Box 5590 | +| Model | FRITZ!Box 5590 | +| ODM | ✅ | +| Chipset | MaxLinear Falcon PRX321B1BI-S-LNEV MIPS32 | +| Flash | 4 GB | +| RAM | 2048 MB | +| Chipset | MaxLinear Falcon PRX321B1BI-S-LNEV MIPS32 | +| CPU Clock | 800 MHz | +| Bootloader | | +| System | | +| Load addr | | +| SFP | 1GBASE-BX10 (only FRITZ!SFP AON), PON equivalent symbol GPON and XGS-PON | +| Ethernet | 4 1GbE, 1 2.5GbE LAN/WAN | +| Optics | SC/UPC | +| IP address | 192.168.1.254 | +| Web Gui | ✅ | +| SSH | | +| Telnet | | +| Serial | | +| Serial baud | 115200 | +| Serial encoding | 8-N-1 | +| Form Factor | CPE with SFP w/o MAC support | + +{% include_relative avm_fritzbox.md %} diff --git a/_router_pon/free_iliad.md b/_router_pon/free_iliad.md new file mode 100644 index 0000000..39727b8 --- /dev/null +++ b/_router_pon/free_iliad.md @@ -0,0 +1,13 @@ +--- +title: Free/Iliad +has_children: true +layout: default +--- + +# Free/Iliad network + +Iliad's (Italy) PON network is delivered through two types of technology: GPON or EPON where available. The latter is not actually pure 10G-EPON but DPoE (DOCSIS Provisioning over EPON), confirmed by analyzing the physical layer signals. + +Using a Xilinx Kintex 7 FPGA with an integrated logic analyzer, an optical module has been connected to the FPGA's transceiver. The transceiver synchronized successfully and the sync header sequence was the one expected for 10G-EPON: a FEC codeword is a sequence of 31 words. Those words have a sync header binary value of `10` or `01` repeated 27 times corresponding to the original message plus `00, 11, 11, 00` corresponding to the FEC parity information. Discarding the latter part and descrambling the remaining data, the packets have been retrieved. + +As an example, a packet starts with `55 d5 55 1b 3c 07 5f` in hex, which corresponds to a DPoE (10G) preamble (actually it's missing one starting `0x55` byte but the CRC8 at the end is correct nonetheless). diff --git a/_router_pon/free_iliad_box_pop.md b/_router_pon/free_iliad_box_pop.md new file mode 100644 index 0000000..fc48698 --- /dev/null +++ b/_router_pon/free_iliad_box_pop.md @@ -0,0 +1,53 @@ +--- +title: FreeBox Pop/IliadBox +has_children: false +layout: default +parent: Free/Iliad +--- + +# Hardware Specifications + +| | | +| ---------------- | ---------------------------------------------------------------------------------- | +| Vendor/Brand | Free/Iliad | +| Model | | +| ODM | | +| ODM Product Code | | +| Chipset | BCM63153 | +| Flash | 4GB eMMC 5.1 KLM4G1FETE-B041 | +| RAM | 2x 512MB DDR3L-1866 NT5CC128M16JR-EK | +| CPU | | +| CPU Clock | | +| Bootloader | | +| System | | +| Load addr | | +| SFP | 1G-BASEX, 10G-BASESR-LR, HSGMII (only AFM0003ILD), PON equivalent symbol EPON 10/1 | +| Ethernet | 2 1GbE, 1 2.5GbE LAN/WAN | +| Optics | SC/UPC | +| IP address | 192.168.1.254 | +| Web Gui | ✅ | +| SSH | | +| Telnet | | +| Serial | | +| Serial baud | 115200 | +| Serial encoding | 8-N-1 | +| Form Factor | CPE with SFP w/o MAC support | + + + +## Serial + +The serial port is routed through the USB-C port used for power (which is PD compliant, tested with a notebook power supply). The pins are SBU1 and SBU2, reversal is handled using an open drain buffer (SN74LVC2G07) so a pull-up resistor on RX is needed. On the power daughter board TP7 is TX and TP8 is RX. There is also a USB differential pair routed through the USB-C connector but there is no use for it yet. +At the moment nothing more than a boot log is available. [^bcm61650hack] [^freeboxhack] + +## SFP Whitelist +- WTD RTXM166-401-C13 (EPON w/o MAC) +- WTD RTXM166-401-C11 (EPON w/o MAC) +- Hisense LTF7215-BH+ (EPON w/o MAC) +- [Technicolor AFM0003](/ont-technicolor-afm0003) (GPON with MAC) +- SFP Copper 10Gtek (1 and 10 Gbps) + +# Miscellaneous Links + +[^bcm61650hack]: *Pwning the bcm61650* https://blog.xilokar.info/pwning-the-bcm61650.html +[^freeboxhack]: *Firmware key extraction by gaining EL3* https://blog.xilokar.info/firmware-key-extraction-by-gaining-el3.html diff --git a/_router_pon/ont-zte-f6645p.md b/_router_pon/ont-zte-f6645p.md new file mode 100644 index 0000000..9a412fa --- /dev/null +++ b/_router_pon/ont-zte-f6645p.md @@ -0,0 +1,199 @@ +--- +title: ZTE F6645P +has_children: false +layout: default +parent: ZTE +--- + +# Hardware Specifications + +| | | +| ------------ | ----------------------------- | +| Vendor/Brand | ZTE | +| Model | F6645P | +| ODM | ✅ | +| CPU | ZTE | +| CPU Clock | 266 MHz | +| Chipset | ZTE | +| Flash | 130 MB Kioxia TC58BVG0S3HTAI0 | +| RAM | 315 MB | +| System | | +| 2.5GBaseT | Yes | +| Optics | SC/APC or SC/UPC | +| IP address | 192.168.1.1 | +| Web Gui | Random password | +| SSH | | +| Telnet | ✅ [^1] | +| Serial | Only RX | +| Form Factor | ONT | + +## List of partitions + +| dev | size | erasesize | name | +| ---- | -------- | --------- | ---------------- | +| mtd0 | 08000000 | 00020000 | "whole flash" | +| mtd1 | 00200000 | 00020000 | "u-boot" | +| mtd2 | 00400000 | 00020000 | "others" | +| mtd3 | 00400000 | 00020000 | "parameter tags" | +| mtd4 | 00400000 | 00020000 | "wlan" | +| mtd5 | 00800000 | 00020000 | "usercfg" | +| mtd6 | 00400000 | 00020000 | "Plugin" | +| mtd7 | 02a00000 | 00020000 | "kernel1" | +| mtd8 | 02a00000 | 00020000 | "kernel2" | +| mtd9 | 029e0000 | 00020000 | "rootfs" | + + + +This ONT supports dual boot, as visible from the presence of `kernel0` and `kernel1`, which contain the rootfs. +The boot images can be swapped with the following command: + +```sh +upgradetest switchver X +``` + +Where `X` can be `0/1`, based on the image you want to boot from. + + +You can also clone the currently running image into the other slot using this command: + +```sh +syn_version +``` + +# Use + +## Enable Telnet +{% include alert.html content="This is an external script ([ZTE Telnet enabler](https://github.com/douniwan5788/zte_modem_tools)), use at your own risk! Credentials don't survive at reboot!" alert="Note" icon="svg-info" color="blue" %} + +```sh +python3 zte_factroymode.py --user admin --pass admin --ip 192.168.1.1 --port 80 telnet open +``` + +You should get this output and credentials to login over telnet: + +```sh +trying user:"admin" pass:"admin" +reset facTelnetSteps: +reset OK! + +facStep 1: +OK! + +facStep 2: +OK! + +facStep 3: +OK! + +facStep 4: +OK! + +facStep 5: +OK! + +done +Username: 2W3iqFVt +Password: Eqb8X8Qt +``` + +## Enable console redirection + +To see omcidebug messages on telnet, execute this command (just the first time of each connection): + +```sh +redir printf +``` + +# GPON ONU status + +## Getting the operational status of the ONU + +To check the connection status, use the following command: +``` +gpontest -gstate +``` +`[gpontest] gpon state is [O5]` for O5 state + +## Getting OLT vendor information + +```sh +sendcmd 132 omcidebug showmedata 131 +``` + +This command will print the following output: + +```sh +################################## +MIB INFO: + ME CLASS: 131 + DB NAME: olt_g, DBHandle: 32 +################################## + +<-----MeID[ 0x0000,0 ], Addr[ 0x19a2b1]-----> + Vendorid:48 57 54 43 + EquipmentID:00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 00 00 + Version:31 30 00 00 00 00 00 00 00 00 + 00 00 00 00 + TimeofDay:00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 +--------------------------------------------------------------------- +``` + +## Querying a particular OMCI ME + +```sh +sendcmd 132 omcidebug showmedata ID_MIB (eg. 7 for Firmware version) +``` + +This command will print the following output: + +```sh + +################################## +MIB INFO: + ME CLASS: 7 + DB NAME: soft_image, DBHandle: 14 +################################## + +<-----MeID[ 0x0000,0 ], Addr[ 0x19a011]-----> + Version:V6.0.10N41 + Is committed:01 + Is active:01 + Is valid:01 + +<-----MeID[ 0x0001,1 ], Addr[ 0x19a031]-----> + Version:V6.0.10N39 + Is committed:00 + Is active:00 + Is valid:01 +--------------------------------------------------------------------- +``` + +# GPON/OMCI settings + +## Setting ONU GPON Serial Number + +{% include alert.html content="Both S/N and VID have to be changed. 2176 is for the VID (first 4 letters of the S/N) and 2177 is for the last 8 digits of the S/N" alert="Note" icon="svg-info" color="blue" %} +```sh +setmac 1 2176 ZTEG +setmac 1 2177 AABBCCDD +``` + +## Setting ONU GPON PLOAM password + +{% include alert.html content="The PLOAM password is stored in the ASCII format." alert="Note" icon="svg-info" color="blue" %} +This can be done easily via the web UI. To do it via the shell use: +```sh +setmac 1 2181 1234567890 +setmac 1 2178 1234567890 +``` + + +# Miscellaneous Links + +- [ZTE Telnet enabled](https://github.com/douniwan5788/zte_modem_tools) + +--- + +[^2]: Credentials are randomly generated by zte_factroymode.py, they are not persistent and will change at reboot.
\ No newline at end of file diff --git a/_router_pon/ont-zte.md b/_router_pon/ont-zte.md new file mode 100644 index 0000000..fff9ccb --- /dev/null +++ b/_router_pon/ont-zte.md @@ -0,0 +1,5 @@ +--- +title: ZTE +has_children: true +layout: default +---
\ No newline at end of file diff --git a/_sfp/ont-wo-mac.md b/_sfp/ont-wo-mac.md index 06c9c72..717822e 100644 --- a/_sfp/ont-wo-mac.md +++ b/_sfp/ont-wo-mac.md @@ -73,6 +73,8 @@ In particular, the SFP ONU of the AVM Fritz!Box 5530/5590 belongs in this catego In general, these devices do not have enough customisation to allow the required parameters to be changed other than the GPON Serial Number and GPON Ploam Password. This means that in most scenarios these devices with ONT w/o MAC are not flexible enough to be used as a replacement for an ISP-provided ONT. +Nevertheless, on Hack-GPON routers supporting SFP w/o MAC will arrive, with at least the modification of GPON Serial Number and GPON Ploam Password. + --- [^sfpstandard]: *Specification for SFP (Small Formfactor Pluggable) Transceiver* INF-8074 diff --git a/assets/img/avm/avm_ploam.png b/assets/img/avm/avm_ploam.png Binary files differnew file mode 100644 index 0000000..3c33493 --- /dev/null +++ b/assets/img/avm/avm_ploam.png diff --git a/assets/img/avm/avm_serial.jpg b/assets/img/avm/avm_serial.jpg Binary files differnew file mode 100644 index 0000000..7ff4de2 --- /dev/null +++ b/assets/img/avm/avm_serial.jpg |