summaryrefslogtreecommitdiffstats
path: root/_ont/ont-huawei-hg8010h.md
diff options
context:
space:
mode:
authorSimone <26844016+simonebortolin@users.noreply.github.com>2023-01-21 22:58:29 +0100
committerGitHub <noreply@github.com>2023-01-21 22:58:29 +0100
commit4bb9a4baf5b865ab3a7546a5bdd9d6e57880ea11 (patch)
tree0a493dfb2b5275da7070e290be445a4710e5f347 /_ont/ont-huawei-hg8010h.md
parentFix cig (#136) (diff)
downloadhack-gpon.github.io-4bb9a4baf5b865ab3a7546a5bdd9d6e57880ea11.tar
hack-gpon.github.io-4bb9a4baf5b865ab3a7546a5bdd9d6e57880ea11.tar.gz
hack-gpon.github.io-4bb9a4baf5b865ab3a7546a5bdd9d6e57880ea11.tar.bz2
hack-gpon.github.io-4bb9a4baf5b865ab3a7546a5bdd9d6e57880ea11.tar.lz
hack-gpon.github.io-4bb9a4baf5b865ab3a7546a5bdd9d6e57880ea11.tar.xz
hack-gpon.github.io-4bb9a4baf5b865ab3a7546a5bdd9d6e57880ea11.tar.zst
hack-gpon.github.io-4bb9a4baf5b865ab3a7546a5bdd9d6e57880ea11.zip
Diffstat (limited to '_ont/ont-huawei-hg8010h.md')
-rw-r--r--_ont/ont-huawei-hg8010h.md39
1 files changed, 19 insertions, 20 deletions
diff --git a/_ont/ont-huawei-hg8010h.md b/_ont/ont-huawei-hg8010h.md
index 94ce54e..69b7a51 100644
--- a/_ont/ont-huawei-hg8010h.md
+++ b/_ont/ont-huawei-hg8010h.md
@@ -31,16 +31,6 @@ parent: Huawei
{% include image.html file="hg8010hvorr.jpg" alt="HG8010Hv3/4/5" caption="Bottom of the HG8010Hv3/4/5" %}
{% include image.html file="hg8010hv6.jpg" alt="HG8010Hv6" caption="Bottom of the HG8010Hv6" %}
-## Enabling telnet
-
-We need access to a specific shell and in order to get it we have to enable telnet. On the unit, the telnet server accepts connections but doesn't read any input, nor does it send anything.
-
-To enable telnet we’ll use one of the web interface’s features: the configuration backup and restore page. The configuration can be downloaded as an XML, which contains a lot more options than the web interface and a couple of them can be modified to enable telnet access: under the `X_HW_CLITelnetAccess` node, set the `Access` attribute to `1` and in `AclServices`, `TELNETLanEnable` should also be set to `1`. I had to set both but your mileage may vary.
-
-It is possible that this won't work/has been fixed in more recent versions.
-
-Now that this is done, the modified configuration file can be uploaded via the web interface, the ONT will restart and telnet should be accessible on port 23.
-
## Hardware revisions
- v1: Horizontal PON port
- v2: Horizontal PON port
@@ -67,14 +57,24 @@ Now that this is done, the modified configuration file can be uploaded via the w
0x000000000000-0x000000100000 : "bootcode" (1MiB)
0x000000100000-0x000008000000 : "ubilayer_v5" (127MiB)
-## List of firmwares and files
-## List of useful commands
+# Use
+
+## Enabling telnet
+
+We need access to a specific shell and in order to get it we have to enable telnet. On the unit, the telnet server accepts connections but doesn't read any input, nor does it send anything.
+
+To enable telnet we’ll use one of the web interface’s features: the configuration backup and restore page. The configuration can be downloaded as an XML, which contains a lot more options than the web interface and a couple of them can be modified to enable telnet access: under the `X_HW_CLITelnetAccess` node, set the `Access` attribute to `1` and in `AclServices`, `TELNETLanEnable` should also be set to `1`. I had to set both but your mileage may vary.
+
+It is possible that this won't work/has been fixed in more recent versions.
+
+Now that this is done, the modified configuration file can be uploaded via the web interface, the ONT will restart and telnet should be accessible on port 23.
+
+
+# General Settings and Useful Commands
-> **Warning**
-> All results need to be converted from HEX to ASCII
-> [Converter](/ascii-hex)
+{% include alert.html content="All results need to be converted from HEX to ASCII. You can use our [Converter](/ascii-hex), taking care to add 0x in front and remove the spaces every 8 hex digits." alert="Warning" icon="svg-info" color="blue" %}
-- Get OLT information:
+## Getting the OLT vendor
```
WAP>omcicmd mib show meid 131 instid 0
@@ -92,7 +92,7 @@ success!
```
*0x48575443* → *HWTC* (Huawei)
-- Get SW Version 0 and 1:
+## Getting the ONT SW Version 0 and 1
```
WAP>omcicmd mib show meid 7 instid 0
@@ -122,7 +122,7 @@ success!
```
*0x56355230 32304331 30533131 3500* → *V5R020C10S115*
-- Get ONT Vendor ID and HW Version:
+## Getting the ONT Vendor ID and HW Version:
```
WAP>omcicmd mib show meid 256 instid 0
@@ -151,7 +151,7 @@ success!
*0x48575443* → *HWTC*
*0x32343046 2e41* → *240F.A*
-- Get ONT Equipment ID:
+## Getting the ONT Equipment ID
```
WAP>omcicmd mib show meid 257 instid 0
@@ -180,7 +180,6 @@ success!
*0x48473830 31304876 36* → *HG8010Hv6*
-# Known Bugs
# Miscellaneous Links
- [Exploring the Huawei HG8010H GPON ONT](https://www.linux.it/~md/text/gpon-sha2017.pdf)