summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Bortolin <simonebortolin@users.noreply.github.com>2023-01-19 00:39:38 +0100
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2023-01-19 00:39:38 +0100
commit92e52d8eb8db6134afff3e23acc0a5660af8048f (patch)
tree34672a3a7ca2853c316f212e0441b16514f5ffb0
parentfix HiSense (#128) (diff)
downloadhack-gpon.github.io-update-huawei-hg.tar
hack-gpon.github.io-update-huawei-hg.tar.gz
hack-gpon.github.io-update-huawei-hg.tar.bz2
hack-gpon.github.io-update-huawei-hg.tar.lz
hack-gpon.github.io-update-huawei-hg.tar.xz
hack-gpon.github.io-update-huawei-hg.tar.zst
hack-gpon.github.io-update-huawei-hg.zip
-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)