summaryrefslogtreecommitdiffstats
path: root/_ont_xgs/ont-hisense-ltf7267-bha+.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_xgs/ont-hisense-ltf7267-bha+.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 '_ont_xgs/ont-hisense-ltf7267-bha+.md')
-rw-r--r--_ont_xgs/ont-hisense-ltf7267-bha+.md74
1 files changed, 40 insertions, 34 deletions
diff --git a/_ont_xgs/ont-hisense-ltf7267-bha+.md b/_ont_xgs/ont-hisense-ltf7267-bha+.md
index b57cf18..1579737 100644
--- a/_ont_xgs/ont-hisense-ltf7267-bha+.md
+++ b/_ont_xgs/ont-hisense-ltf7267-bha+.md
@@ -16,7 +16,7 @@ parent: HiSense
| Flash | 128MB |
| RAM | 128MB |
| System | Custom Linux by Cortina (Saturn SDK) based on Kernel 4.4 |
-| XSGMII | Yes |
+| XGMII/XSGMII | Yes |
| Optics | SC/APC |
| IP address | 192.168.0.1 |
| Web Gui | ✅ user `admin`, password `system` |
@@ -63,7 +63,7 @@ This ONT supports dual boot.
`kernel0` and `rootfs0` respectively contain the kernel and firmware of the first image, `kernel1` and `rootfs1` the kernel and the firmware of the second one
-# General Settings and Useful Commands
+# XGS-PON ONU status
To access Cortina Shell (needed to check OMCI stuff and XGSPON status) you can use the following command:
@@ -163,7 +163,7 @@ XGe Port idx 0 map to Port 6
```
Please note that some of the above fields are decoded incorrectly, such as `sn` and `versionId`
-## Check OLT Vendor (from app-cli session)
+## Get information of the OLT vendor (from app-cli session)
```sh
Cortina> enable
@@ -290,106 +290,112 @@ Link to PPTP eth: ------->instance 0x301
|-----|------|-----|------|---------|---|-----|------|-----|------|
```
-## Changing the Hardware Version
+# GPON/OMCI settings
+
+## Setting ONU GPON Serial Number
```sh
# vi /config/scfg.txt
```
-Append line below to the file and save it to change HWVER
+Append lines below to the file and save it to change Serial Number
```
-CHAR-ARRAY CFG_ID_GPON_VERSION = {0x46,0x35,0x36,0x38, 0x34,0x53,0x5f,0x76, 0x31,0x00,0x00,0x00, 0x00,0x00}; ##GPON version string, default value is V1.0
+STRING CFG_ID_PON_VENDOR_ID = SMBS;
+INT CFG_ID_PON_VSSN = 0xAABBCCDD;
```
Reboot ONT to apply the change
-## Changing the Equipment ID
+
+## Setting ONU GPON LOID and LOID password
+
+{% include alert.html content="The value 0x0 is null, take note of your LoID and password from the original ONT" color="red" %}
+
```sh
# vi /config/scfg.txt
```
-Append the line below to the file and save it to change EQID
+Append lines below to the file and save it to change LoID and LoID password
```
-CHAR-ARRAY CFG_ID_GPON_EQID = {0x46,0x49,0x42,0x45, 0x52,0x20,0x42,0x6f, 0x78,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00}; ##GPON ME ONU2G equiment id value, default is saturn
+CHAR-ARRAY CFG_ID_LOID = {0x30,0x30,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0};
+CHAR-ARRAY CFG_ID_PASSWD = {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0};
+```
+
+Reboot ONT to apply the change
+
+## Setting OMCI software version (ME 7)
+
+```sh
+# fw_setenv img_version0 20220527052622
+# fw_setenv img_version0 20220527052622
```
Reboot ONT to apply the change
-## Changing Serial Number
+## Setting OMCI hardware version (ME 256)
```sh
# vi /config/scfg.txt
```
-Append lines below to the file and save it to change Serial Number
+Append line below to the file and save it to change HWVER
```
-STRING CFG_ID_PON_VENDOR_ID = SMBS;
-INT CFG_ID_PON_VSSN = 0xAABBCCDD;
+CHAR-ARRAY CFG_ID_GPON_VERSION = {0x46,0x35,0x36,0x38, 0x34,0x53,0x5f,0x76, 0x31,0x00,0x00,0x00, 0x00,0x00}; ##GPON version string, default value is V1.0
```
Reboot ONT to apply the change
-## Changing OLT Emulation Type
+## Setting OMCI equipment ID (ME 257)
```sh
# vi /config/scfg.txt
```
-Append lines below to the file and save it to change Serial Number
+Append the line below to the file and save it to change EQID
```
-STRING CFG_ID_PON_OLT_TYPE = ALCL; ##GPON OLT Vendor name, support ZTE,ADTRAN,ALCL,CALIX,SUMITOMO,CORTINA,HUAWEI
+CHAR-ARRAY CFG_ID_GPON_EQID = {0x46,0x49,0x42,0x45, 0x52,0x20,0x42,0x6f, 0x78,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00}; ##GPON ME ONU2G equiment id value, default is saturn
```
Reboot ONT to apply the change
-## Changing OMCC Version
-
-{% include alert.html content="In Italy, if you are under some Huawei OLT it's mandatory to use 0xA3, while on Alcatel 0xB4, otherwise you will get O5 status but no MIBs - Note that this can be quirk of TIM Italy" alert="Warning" icon="svg-warning" color="red" %}
+# Advanced settings
+## Changing OLT Emulation Type
```sh
# vi /config/scfg.txt
```
-Append the line below to the file and save it to change Serial Number
+Append lines below to the file and save it to change Serial Number
```
-CHAR CFG_ID_OMCC_VERSION = 0xB2;
+STRING CFG_ID_PON_OLT_TYPE = ALCL; ##GPON OLT Vendor name, support ZTE,ADTRAN,ALCL,CALIX,SUMITOMO,CORTINA,HUAWEI
```
Reboot ONT to apply the change
-## Changing LOID Username/Password
+## Changing OMCC Version
-{% include alert.html content="The value 0x0 is null, take note of your LoID and password from the original ONT" color="red" %}
+{% include alert.html content="In Italy, if you are under some Huawei OLT it's mandatory to use 0xA3, while on Alcatel 0xB4, otherwise you will get O5 status but no MIBs - Note that this can be quirk of TIM Italy" alert="Warning" icon="svg-warning" color="red" %}
```sh
# vi /config/scfg.txt
```
-Append lines below to the file and save it to change LoID and LoID password
+Append the line below to the file and save it to change Serial Number
```
-CHAR-ARRAY CFG_ID_LOID = {0x30,0x30,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0};
-CHAR-ARRAY CFG_ID_PASSWD = {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0};
+CHAR CFG_ID_OMCC_VERSION = 0xB2;
```
Reboot ONT to apply the change
-## Spoofing firmware version
-
-```sh
-# fw_setenv img_version0 20220527052622
-# fw_setenv img_version0 20220527052622
-```
-
-Reboot ONT to apply the change
# Known Bugs
- `ALCL` OLT mode uses some static configurations on MIBs, so if your OLT has strict configuration checks it might not work properly