summaryrefslogtreecommitdiffstats
path: root/_ont
diff options
context:
space:
mode:
authorErnesto Castellotti <mail@ernestocastellotti.it>2023-03-19 15:27:10 +0100
committerGitHub <noreply@github.com>2023-03-19 15:27:10 +0100
commitc867fddd0618700db5685af1c83aa09c30222925 (patch)
tree8a14e19cc0381c44a3592f14d040e395132af89b /_ont
parentUpdate ont-zte-f6005.md (#158) (diff)
downloadhack-gpon.github.io-c867fddd0618700db5685af1c83aa09c30222925.tar
hack-gpon.github.io-c867fddd0618700db5685af1c83aa09c30222925.tar.gz
hack-gpon.github.io-c867fddd0618700db5685af1c83aa09c30222925.tar.bz2
hack-gpon.github.io-c867fddd0618700db5685af1c83aa09c30222925.tar.lz
hack-gpon.github.io-c867fddd0618700db5685af1c83aa09c30222925.tar.xz
hack-gpon.github.io-c867fddd0618700db5685af1c83aa09c30222925.tar.zst
hack-gpon.github.io-c867fddd0618700db5685af1c83aa09c30222925.zip
Diffstat (limited to '_ont')
-rw-r--r--_ont/ont-fs-com-gpon-onu-stick-with-mac.md2
-rw-r--r--_ont/ont-fs-com-mod.md7
-rw-r--r--_ont/ont-huawei-ma5671a-fs-mod.md193
3 files changed, 201 insertions, 1 deletions
diff --git a/_ont/ont-fs-com-gpon-onu-stick-with-mac.md b/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
index b75265f..931f27a 100644
--- a/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
+++ b/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
@@ -1,6 +1,6 @@
---
title: ONT FS.com GPON ONU Stick with MAC (GPON-ONU-34-20BI)
-has_children: false
+has_children: true
alias: SourcePhotonics SPS-34-24T-HP-TDFO
parent: ONT FS.com
layout: default
diff --git a/_ont/ont-fs-com-mod.md b/_ont/ont-fs-com-mod.md
new file mode 100644
index 0000000..cda9de0
--- /dev/null
+++ b/_ont/ont-fs-com-mod.md
@@ -0,0 +1,7 @@
+---
+title: FS Modded Firmware for Huawei MA5671A and FS.com GPON-ONU-34-20BI
+has_children: false
+redirect_to: /ont-huawei-ma5671a-fs-mod
+layout: default
+parent: ONT FS.com GPON ONU Stick with MAC (GPON-ONU-34-20BI)
+---
diff --git a/_ont/ont-huawei-ma5671a-fs-mod.md b/_ont/ont-huawei-ma5671a-fs-mod.md
new file mode 100644
index 0000000..e81707a
--- /dev/null
+++ b/_ont/ont-huawei-ma5671a-fs-mod.md
@@ -0,0 +1,193 @@
+---
+title: FS Modded Firmware for Huawei MA5671A and FS.com GPON-ONU-34-20BI
+has_children: false
+parent: Huawei MA5671A
+layout: default
+---
+
+{% include alert.html content="The following wiki is only compatible with version 5 or later!" alert="Note" icon="svg-warning" color="red" %}
+
+# Flashing the firmware
+
+Flash the firmware image to image0 or image1 via [SSH](/ont-huawei-ma5671a/#flashing-a-new-rootfs-via-ssh) or via [TTL serial](/ont-huawei-ma5671a-ymodem) as usual.
+
+After the flash it is absolutely necessary to connect to the SFP via telnet using the IP 192.168.1.10:
+
+```sh
+telnet 192.168.1.10
+```
+
+Once connected via telnet to the SFP, execute the following commands, it will be necessary to wait a few minutes until the end of the automatic procedure:
+
+```sh
+firstboot
+reboot
+```
+
+Remember that with each flash of this firmware it is always necessary to perform the procedure described above, otherwise the SFP will not work!
+
+# Login info
+
+| | |
+| ------------------ | ---------------------------------------------- |
+| Username | root |
+| Password | root |
+| IP address | 192.168.1.10 |
+| Telnet | Always available |
+| TTL Serial | Always available |
+| SSH | Only after the first configuration (firstboot) |
+| Web | NO |
+
+# GPON ONU status
+
+## Get the operational status of the ONU
+```sh
+onu ploam_state_get
+```
+
+## Get optical laser status
+```sh
+otop -g s
+```
+
+## Get information of the OLT
+```sh
+omci_pipe.sh meg 131 0
+```
+
+## Querying a particular OMCI ME
+```sh
+omci_pipe.sh meg MIB_IDX ME_IN
+```
+Where `MIB_IDX` is the MIB ID and the `ME_IN` is the ME instance number
+
+## Get VLAN table rule
+```sh
+gtop -g "GPE VLAN rule"
+```
+
+## Get GEM port status table
+```sh
+gtop -g e
+```
+
+## Getting/Setting Speed LAN Mode
+
+To get the LAN Mode:
+
+```sh
+onu lan_port_status_get 0
+```
+The `link_status` variable tells the current speed
+
+| Value (for `sgmii_mode` and `link_status`) | Speed |
+| ------------------------------------------ | ---------------------------------- |
+| 3 | 1 Gbps / SGMII with auto-neg on |
+| 4 | 1 Gbps / SGMII with auto-neg off |
+| 5 | 2.5 Gbps / HSGMII with auto-neg on |
+
+To change the default lan mode value you can use `fw_setenv sgmii_mode`. The firmware is already set to 2.5G auto-negotiation, you shouldn't touch it.
+
+# GPON/OMCI settings
+
+## Setting ONU GPON serial number
+```sh
+fw_setenv onu_serial "YOUR_SERIAL_ASCII"
+```
+
+## Setting ONU GPON ploam
+```sh
+fw_setenv onu_ploam "YOUR_PLOAM_ASCII"
+```
+
+## Setting ONU GPON loid
+```sh
+fw_setenv onu_loid "YOUR_LOID"
+```
+
+## Setting ONU GPON loid password
+```sh
+fw_setenv onu_loid "YOUR_LOID_PASSWORD"
+```
+
+## Setting OMCI vendor ID
+```sh
+fw_setenv omci_vendor_id "YOUR_VENDOR_ID"
+```
+
+## Setting OMCI equipment ID
+```sh
+fw_setenv omci_equip_id "YOUR_EQUIP_ID"
+```
+
+## Setting OMCI hardware ID
+```sh
+fw_setenv omci_hw_ver "YOUR_HW_VER"
+```
+
+## Setting OMCI software version
+```sh
+fw_setenv image0_version "YOUR_SW_VERSION_0"
+fw_setenv image1_version "YOUR_SW_VERSION_1"
+```
+
+# Advanced settings
+
+{% include alert.html content="Normally they are not necessary and it would be better not to touch them" alert="Note" icon="svg-warning" color="red" %}
+
+## Setting custom mib file
+You have to copy the MIB file to /etc/mibs and then run this command:
+
+```sh
+fw_setenv mib_file_custom "YOUR_MIB_FILENAME"
+```
+
+## Setting management IP
+```sh
+fw_setenv ipaddr www.xxx.yyy.zzz
+```
+
+## Restore SFP to default config
+```sh
+firstboot
+reboot
+```
+
+# SFP EEPROM settings
+
+{% include alert.html content="Normally they are not necessary and it would be better not to touch them" alert="Note" icon="svg-warning" color="red" %}
+
+## Setting SFP vendor name
+```sh
+fw_setenv sfp_vendor_name "YOUR_SFP_VENDOR_NAME"
+```
+
+## Setting SFP part name
+```sh
+fw_setenv sfp_part_name "YOUR_SFP_PART_NAME"
+```
+
+## Setting SFP vendor revision
+```sh
+fw_setenv sfp_vendor_rev "YOUR_SFP_VENDOR_REV"
+```
+
+## Setting SFP part serial
+```sh
+fw_setenv sfp_part_serial "YOUR_SFP_PART_SERIAL"
+```
+
+## Setting SFP manufacturing date code
+```sh
+fw_setenv sfp_date_code "YOUR_SFP_DATE_CODE"
+```
+
+## Setting SFP vendor data
+```sh
+fw_setenv sfp_vendor_data "YOUR_SFP_VENDOR_DATA"
+```
+
+# List of firmwares and files
+- [6BA1896SPLQA42_MODDED_ver5.img](https://mega.nz/file/g9MTxAzR#qSU-OB6SlAVOE97ajSnEP--UcsvurPkpraJPgds3r6g){: .btn } md5hash: 63c02951d5c7ce5c83de54636368520f
+- [6BA1896SPLQA42_MODDED_ver4.img](https://mega.nz/file/MgVWgBJS#L8N7kPZtSJ7FtbtxRcnxNF-W3b9wDbCeJ82YgnK7moQ){: .btn } md5hash: 63b0cc790c0087a5a1197c89b502b002
+- [6BA1896SPLQA42_MODDED_ver3.img](https://mega.nz/file/Np1gmQpI#CVUUHf3yayB9NB-2uI4MX3qCcEwMiLX6e5DqgJz4Kig){: .btn } md5hash: 90348ff0ccaad475cf14d9d0a056cf72