summaryrefslogtreecommitdiffstats
path: root/_ont/ont-huawei-ma5671a-carlito.md
diff options
context:
space:
mode:
authorSimone <26844016+simonebortolin@users.noreply.github.com>2023-04-24 21:05:51 +0200
committerGitHub <noreply@github.com>2023-04-24 21:05:51 +0200
commit3249248e754bcb7c6d94f352a21309503615344c (patch)
tree51af3a3c19f6dfb0c337df24c80aee64f8ec9f46 /_ont/ont-huawei-ma5671a-carlito.md
parentFix issue: tw236h-cdel-serial.jpg points to the wrong file (#177) (diff)
downloadhack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.tar
hack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.tar.gz
hack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.tar.bz2
hack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.tar.lz
hack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.tar.xz
hack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.tar.zst
hack-gpon.github.io-3249248e754bcb7c6d94f352a21309503615344c.zip
Diffstat (limited to '')
-rw-r--r--_ont/ont-huawei-ma5671a-carlito.md82
1 files changed, 42 insertions, 40 deletions
diff --git a/_ont/ont-huawei-ma5671a-carlito.md b/_ont/ont-huawei-ma5671a-carlito.md
index 533b192..afaef44 100644
--- a/_ont/ont-huawei-ma5671a-carlito.md
+++ b/_ont/ont-huawei-ma5671a-carlito.md
@@ -5,48 +5,15 @@ parent: Huawei MA5671A
layout: default
---
-# General Settings and Useful Commands
-
{% include alert.html content="Be careful, back up the goi_config from uboot before changing firmware." alert="Info" icon="svg-info" color="blue" %}
-## Setting image version
-```sh
-fw_setenv image0_version V1.7.6-170626
-fw_setenv image1_version V1.7.6-170626
-```
-
-## Setting S/N
-```sh
-fw_setenv ont_serial ABCD12345678
-```
-or
-```sh
-uci set gpon.ploam.nSerial="0x48 0x57 0x54 0x43 0x9D 0xAC 0xC7 0xA3"
-uci commit
-```
-
-## Setting PLOAM Password
-```sh
-fw_setenv nPassword "0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39"
-```
-or
-```sh
-uci set gpon.ploam.nPassword="0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39"
-uci commit
-```
-
-## Setting LOID and Checkcode Password
-```sh
-fw_setenv omci_loid 1234567890
-fw_setenv omci_lpwd password01
-```
-If LOID is disabled in the firmware try alternative software.
+# GPON ONU status
-## Setting and checking oem-generic
+## Querying a particular OMCI ME
```sh
-fw_setenv target oem-generic
-fw_printenv target=oem-generic
+omci_pipe.sh meg MIB_IDX ME_IN
```
+Where `MIB_IDX` is the MIB ID and the `ME_IN` is the ME instance number
## Getting/Setting Speed LAN Mode
@@ -74,8 +41,43 @@ The `link_status` variable tells the current speed
| 4 | 1 Gbps / SGMII with auto-neg off |
| 5 | 2.5 Gbps / HSGMII with auto-neg on |
-## Querying a particular OMCI ME
+# GPON/OMCI settings
+
+## Getting/Setting OMCI software version (ME 7)
```sh
-omci_pipe.sh meg MIB_IDX ME_IN
+fw_setenv image0_version V1.7.6-170626
+fw_setenv image1_version V1.7.6-170626
+```
+
+## Setting ONU GPON PLOAM password
+```sh
+fw_setenv nPassword "0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39"
+```
+or
+```sh
+uci set gpon.ploam.nPassword="0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39"
+uci commit
+```
+
+## Setting ONU GPON LOID and LOID password
+```sh
+fw_setenv omci_loid 1234567890
+fw_setenv omci_lpwd password01
```
-Where `MIB_IDX` is the MIB ID and the `ME_IN` is the ME instance number \ No newline at end of file
+If LOID is disabled in the firmware try alternative software.
+
+## Setting ONU GPON Serial Number
+```sh
+fw_setenv ont_serial ABCD12345678
+```
+or
+```sh
+uci set gpon.ploam.nSerial="0x48 0x57 0x54 0x43 0x9D 0xAC 0xC7 0xA3"
+uci commit
+```
+
+## Setting and checking oem-generic
+```sh
+fw_setenv target oem-generic
+fw_printenv target=oem-generic
+``` \ No newline at end of file