summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone <26844016+simonebortolin@users.noreply.github.com>2023-11-13 10:16:44 +0100
committerSimone <26844016+simonebortolin@users.noreply.github.com>2023-11-13 10:16:44 +0100
commit85094e79182905b1de215c6cbb95fee38c122a50 (patch)
treecb943d8072ec32a3de4fb6429a6a58a8078f32f5
parentUpdate quick-start.md (#286) (diff)
downloadhack-gpon.github.io-85094e79182905b1de215c6cbb95fee38c122a50.tar
hack-gpon.github.io-85094e79182905b1de215c6cbb95fee38c122a50.tar.gz
hack-gpon.github.io-85094e79182905b1de215c6cbb95fee38c122a50.tar.bz2
hack-gpon.github.io-85094e79182905b1de215c6cbb95fee38c122a50.tar.lz
hack-gpon.github.io-85094e79182905b1de215c6cbb95fee38c122a50.tar.xz
hack-gpon.github.io-85094e79182905b1de215c6cbb95fee38c122a50.tar.zst
hack-gpon.github.io-85094e79182905b1de215c6cbb95fee38c122a50.zip
-rw-r--r--_ont/ont-nokia-g-010g-q.md2
-rw-r--r--_ont/ont-nokia-g-010g-r.md2
-rw-r--r--_ont/ont-nokia-g-010g-t.md2
-rw-r--r--_ont/ont-nokia-use.md7
-rw-r--r--_ont/ont-zte-f6005.md12
5 files changed, 9 insertions, 16 deletions
diff --git a/_ont/ont-nokia-g-010g-q.md b/_ont/ont-nokia-g-010g-q.md
index f3c8cc3..a393da7 100644
--- a/_ont/ont-nokia-g-010g-q.md
+++ b/_ont/ont-nokia-g-010g-q.md
@@ -69,7 +69,7 @@ A shell-like prompt will be visible:
ONT>
```
-{% include_relative ont-nokia-use.md %}
+{% include_relative ont-nokia-use.md username="ONTUSER" %}
{% include_relative ont-nokia-useful-command.md %}
diff --git a/_ont/ont-nokia-g-010g-r.md b/_ont/ont-nokia-g-010g-r.md
index 5705855..e2d65d5 100644
--- a/_ont/ont-nokia-g-010g-r.md
+++ b/_ont/ont-nokia-g-010g-r.md
@@ -46,7 +46,7 @@ parent: Nokia
The ONT has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be accessed from the top surface. To accept TX line commands, the GND of the TTL adapter should be attached to the ONT’s shield like the below photo:
{% include image.html file="g-010g-r_serial_pinouts.jpg" alt="Nokia G-010G-R Ports" caption="Nokia G-010G-R Ports" %}
-{% include_relative ont-nokia-use.md %}
+{% include_relative ont-nokia-use.md username="ONTUSER" %}
{% include_relative ont-nokia-useful-command.md %}
diff --git a/_ont/ont-nokia-g-010g-t.md b/_ont/ont-nokia-g-010g-t.md
index 640aea4..d70ce30 100644
--- a/_ont/ont-nokia-g-010g-t.md
+++ b/_ont/ont-nokia-g-010g-t.md
@@ -55,7 +55,7 @@ The ONT has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be acc
{% include alert.html content="Some USB TTL adapters label TX and RX pins the other way around: try to swap them if the connection doesn't work." alert="Note" icon="svg-warning" color="yellow" %}
-{% include_relative ont-nokia-use.md %}
+{% include_relative ont-nokia-use.md username="ONTUSER" %}
{% include_relative ont-nokia-useful-command.md %}
diff --git a/_ont/ont-nokia-use.md b/_ont/ont-nokia-use.md
index c4f0847..d78c00f 100644
--- a/_ont/ont-nokia-use.md
+++ b/_ont/ont-nokia-use.md
@@ -1,19 +1,22 @@
# Usage
## Login and enable
+{% if include.alertEnablePassword %}
+{% include alert.html content=include.alertEnablePassword alert="Note" icon="svg-info" color="blue" %}
+{% endif %}
Once you're logged in, a custom menu will be shown and you'll be able to access the linux shell by first typing `system` followed by `shell`:
```sh
ONT>enable
#ONT>login
-User name:ONTUSER
+User name:{{include.username}}
Password: ****
```
The enable password can be generated using the following form:
-{% include cig_password.html username="ONTUSER" %}
+{% include cig_password.html username=include.username %}
# Accessing Full Shell
diff --git a/_ont/ont-zte-f6005.md b/_ont/ont-zte-f6005.md
index 4ea3f1e..5dad78c 100644
--- a/_ont/ont-zte-f6005.md
+++ b/_ont/ont-zte-f6005.md
@@ -45,20 +45,10 @@ The ONT has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be acc
- V6.0.10P2N18 (OpenFiber)
- V6.0.10P2N19 (OpenFiber)
-# Usage
-
-{% include_relative ont-nokia-use.md %}
+{% include_relative ont-nokia-use.md username="ont" alertEnablePassword="The following enable password is used to enter GponCLI over a serial connection. The models currently distributed in Italy by TIM and OpenFiber have no way to enter GponCLI via serial, only via telnet after flashing a custom firmware. The enable password is not useful for accessing the Web Gui." %}
{% include_relative ont-nokia-useful-command.md %}
-## Enable password
-
-{% include alert.html content="The following enable password is used to enter GponCLI over a serial connection. The models currently distributed in Italy by TIM and OpenFiber have no way to enter GponCLI via serial, only via telnet after flashing a custom firmware. The enable password is not useful for accessing the Web Gui." alert="Note" icon="svg-info" color="blue" %}
-
-You can use this tool to generate the enable password:
-
-{% include cig_password.html username="ont" %}
-
# Advanced settings
## Unlock serial and TELNET